- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help,help
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
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
03-07-2002 01:10 AM
03-07-2002 01:10 AM
help,help
#!/bin/sh
boot_disk=$(lvlnboot -v |tail -4 |head -1 |cut -f3)
cp /sbin/frecover $boot_disk
/sbin/mkboot $boot_disk
reboot
the box cant reboot,and i cant recovering from HP cd,hp engineer tell me that only thing i can do is reinstall hp-ux,is it true?
god
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:15 AM
03-07-2002 01:15 AM
Re: help,help
man mkboot
You must do things such as lifcp after this to put the kernel loader and isl (hpux and ipl on the disk)
Search the forums for the correct procedure and scripts.
The procedure is like the procedure to create a mirrored root disk.
search for lifcp, mkboot pvcreate
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:23 AM
03-07-2002 01:23 AM
Re: help,help
quote
//Use mkboot to place boot utilities in the boot area:
# mkboot -l /dev/rdsk/c0t5d0
Use mkboot to add an AUTO file in boot LIF area:
# mkboot -a "hpux" /dev/rdsk/c0t5d0
Or, use the -lq option to allow the system to boot in the event that one
of the disks is unavailable, resulting in a loss of quorum.
# mkboot -a "hpux -lq" /dev/rdsk/c0t5d0
NOTE: Use the -lq option when the root volume group contains only 2 disks.
If more than 2 disks are in the root volume group, the -lq option is not
needed as quorum will be maintained even if 1 disk fails.
Check the contents of the AUTO file with
# lifcp /dev/rdsk/c0t5d0:AUTO - //quote ends
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:23 AM
03-07-2002 01:23 AM
Re: help,help
Not sure what are you trying to do here. Your boot device file is overwritten by the file /sbin/frecover ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:26 AM
03-07-2002 01:26 AM
Re: help,help
I am also not sure what he was trying to do
by that deadly scripts!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:27 AM
03-07-2002 01:27 AM
Re: help,help
I think S K has got it!
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:34 AM
03-07-2002 01:34 AM
Re: help,help
To only destroy the boot infor you could use 'lifcp /sbin/frecover $boot_disk:'
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 03:24 AM
03-07-2002 03:24 AM
Re: help,help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 03:37 AM
03-07-2002 03:37 AM
Re: help,help
hpux -lm
would boot, as would recovery cd, however, looks like your / filesystem is hosed too.
As far I can remember the LVM header for a boot disk is 4M.
Although I can't be certain of that...
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 04:25 AM
03-07-2002 04:25 AM
Re: help,help
I think everybody has covered it.
But FYI
http://www.introcomp.co.uk/hpux/index.html
Steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 09:02 AM
03-07-2002 09:02 AM
Re: help,help
really not sure WHY you are doing this, but since you now have destroyed your boot-disk's LVM-header, and your LIF-area, have you got a backup (vgcfgbackup) of your boot-disk somewhere?
Then you might be able to boot from core-CD, get a shell, restore the LVM header (vgcfgrestore), restore the LIF-area (mkboot, and mkboot -a "hpux") and then you should be able to boot again...
Just my $0.02,
Wodisch