- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem; moving vmunix from /stand to any other di...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 03:38 AM
12-26-2001 03:38 AM
Accidentaly (my guy said) moved vmunix and .prev from /stand to /info (this is other fs) to open place from /.
And now we can not open HPUX 10.20.
Is there any method to boot OS from any dir other than /stand? We try ISL>hpux but not satisfy.
Any comment? (thanks)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 04:26 AM
12-26-2001 04:26 AM
Re: Problem; moving vmunix from /stand to any other directory.
You can just make a new copy of the kernel
or move the old kernel back to /stand
Here are the steps to rebuild / ammend kernel parameters
Make a copy of the original
#cp /(dir)/vmunix /stand/vmunix.prev
#cp /stand/system /system/system.old
created the new editable file
#cd /stand/build
/usr/lbin/sysadmin/system_prep -s system
If you wish to make any changes
#vi system
make the new untried kernel (which will be called /stand/build/vm_test
#/usr/sbin/mk_kernel
Now put the kernel ito the right place to have it loaded at boot time
#mv vmunix_test ../vmunix
#mv system ..
He is an excellent link to configurable parameters also
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 04:30 AM
12-26-2001 04:30 AM
Re: Problem; moving vmunix from /stand to any other directory.
interrupt the log in process
boot alternate
can specify device , if not will default to
/dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 04:35 AM
12-26-2001 04:35 AM
Re: Problem; moving vmunix from /stand to any other directory.
from the ISL>
ISL> hpux (0;)/(wherever you kernel is)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 04:36 AM
12-26-2001 04:36 AM
Re: Problem; moving vmunix from /stand to any other directory.
We are not opening the system now.
it gives error as "can not open /stand/vmunix"
we are on ISL>.
any comment?
But I know vmunix is on /info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 04:56 AM
12-26-2001 04:56 AM
Re: Problem; moving vmunix from /stand to any other directory.
not such file or directory.
when I search the info with "hpux ll /info
it gives nothing. Because it is in a filesystem other than root.
Do we have any chance to mount this fs from ISL?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 05:07 AM
12-26-2001 05:07 AM
Re: Problem; moving vmunix from /stand to any other directory.
Boot from a recovery tape, as normal. Once the system starts booting from the recovery tape, you will be asked to interupt the boot sequence again, hit the return key and you will be presented with a menu
Follow the menu to run a recovery shell
If you choose to run a recovery shell you will get the next prompt
would you like to start networking at this time?(n)
You will then have a cut down version of unix from the tape, with /sbin, /usr, /dev, /stand, /var and /tmp plus a few others. You may then be able to locate you kernel and move it back to /stand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 05:11 AM
12-26-2001 05:11 AM
Re: Problem; moving vmunix from /stand to any other directory.
ie
loadfile ls
loadfile cp
loadfile mv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 05:12 AM
12-26-2001 05:12 AM
SolutionFollow the instructions in this document to run a recovery shell:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=2e3a56e617dd2dedb5/screen=ckiDisplayDocument?docId=200000047869320
Once you are in the recovery shell with the appropriate settings configured (indicated in the document), you can mount /info and /stand, then move vmunix back from /info to /stand.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 05:41 AM
12-26-2001 05:41 AM
Re: Problem; moving vmunix from /stand to any other directory.
/stand is a special place that the disk kernel is found and should never be moved to anywhere else as you found out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2001 05:54 AM
12-26-2001 05:54 AM
Re: Problem; moving vmunix from /stand to any other directory.
Hi,
No. But no need to panic. You can still
boot the system and move the vmunix file to its original location of /stand.
Locate the Support CD and boot from it.
Then, run the recovery shell from the support CD boot menu options. FOllowing further instructions as mentioned in the link below, you should be able to get into the system.
Once you get in, use mv command to move the precious vmunix file to /stand and then reboot the system.
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fcb183b006eeb40464/screen=ckiDisplayDocument?docId=200000047869320
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 01:14 PM
12-27-2001 01:14 PM
Re: Problem; moving vmunix from /stand to any other directory.
Regards,
Jason V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 01:33 PM
12-27-2001 01:33 PM
Re: Problem; moving vmunix from /stand to any other directory.
at the isl prompt try,
ISL> hpux (;0)/info/vmunix
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 02:44 PM
12-27-2001 02:44 PM
Re: Problem; moving vmunix from /stand to any other directory.
You should be able to boot HP-UX from ISL> by typing:
hpux -i3 /info/vmunix (or -is for single-user state) (-i3 is a typical default run level. Also, you may need use mount -a to gain full access to your file system if LVM)
You can then move the kernel back and reboot.
Good luck.
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 03:28 PM
12-27-2001 03:28 PM
Re: Problem; moving vmunix from /stand to any other directory.
you only have to choices, now:
1) boot from install CD and have it copy a new kernel to your boot file system. Then boot from there (single-user) and copy the original kernel back to "/stand". Reboot again.
2) boot from install CD and get a "recovery shell". Mount the "/info" file system manually, and copy the original kernel back. Unmount "/info" and exit the recovery shell. Reboot.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 04:12 PM
12-27-2001 04:12 PM
Re: Problem; moving vmunix from /stand to any other directory.
http://docs.hp.com/hpux/onlinedocs/B3782-90732/B3782-90732.html
Look for chapter 4 "HP-UX System Recovery"
and click on Expert Recovery Using the core media.
and proceed from there.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 11:40 PM
12-27-2001 11:40 PM
Re: Problem; moving vmunix from /stand to any other directory.
The problem has been solved only by support media and recovery.
ISL>hpux /info/vmunix or any other method did not work.
Thanks everybody .
hakan.