- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not able to boot from another boot disk.
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
05-26-2004 01:18 AM
05-26-2004 01:18 AM
Not able to boot from another boot disk.
I have another disk which is extrenal and i have made it alternate boot disk via following procedure
1) pvcreate -B /dev/rdsk/Cxtxdx
2) mkboot /dev/rdsk/Cxtxdx
3)mkdir /dev/vglvmroot
4)mknod /dev/vglvmroot/group c 64 0x020000
5)vgcreate /dev/vglvmroot /dev/dsk/Cxtxdx
6)vgscan
7)lvcreate -L 120 -n boot -C y -r n /dev/vglvmroot
8)lvcreate -L 120 -n root -C y -r n /dev/vglvmroot
9)lvcreate -L 64 -n swap -C y /dev/vglvmroot
10)lvcreate -L 64 -n dump -C y /dev/vglvmroot
l110vlnboot -r /dev/vglvmroot/root
12) lvlnboot -s /dev/vglvmroot/swap
13) lvchange -r n /dev/vglvmroot/dump
14) lvlnboot -v /dev/vglvmroot
aftre doing this i change the setboot path to the extrenal disk and tried to reboot it .It stopps near ISL>
what could be the problem.
It is ot getting /stand/vmunix kernel to boot.
Aftre that i tried this following option too
mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/cXtXdX
But still does not boot from extrenal disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 01:32 AM
05-26-2004 01:32 AM
Re: Not able to boot from another boot disk.
How is the machine supposed to boot if there is nothing for it to boot from.
Do you have Mirror Disk installed? If so there is a much better way to make a second boot disk. If you don't have Mirror Disk, there is a procedure you can use to create another boot disk.
Have a look at this thread for a complete procedure to create a copy of your boot disk via dd.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=236549
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 01:34 AM
05-26-2004 01:34 AM
Re: Not able to boot from another boot disk.
/usr/sbin/lvlnboot -v
You should see 2 "Boot Disks" - if not then you only have 1:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c28t5d0 (0/0/0/3/0.5.0) -- Boot Disk
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
How to mirror the root disk
Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c3t6d0 is the disk you want to make a mirror of.
1. Create a bootable LVM disk to be used for the mirror.
pvcreate -B /dev/rdsk/c3t6d0
2. Add this disk to the current root volume group.
vgextend /dev/vg00 /dev/dsk/c3t6d0
3. Make the new disk a boot disk.
mkboot -l /dev/rdsk/c3t6d0
4. Copy the correct AUTO file into the new LIF area.
mkboot -a "hpux -lq (;0)/vmunix" /dev/rdsk/c3t6d0
5. Mirror the boot, root and primary swap logical volumes to the new
bootable disk. Ensure that all devices in vg00, such as /usr, /swap,
etc., are mirrored.
The following is an example of mirroring the boot logical volume:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0
The following is an example of mirroring the primary swap logical
volume:
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0
The following is an example of mirroring the root logical volume:
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0
6. Update the boot information contained in the BDRA for the mirror
copies of boot, primary swap and root.
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
7. Check if the BDRA is correct.
/usr/sbin/lvlnboot -R /dev/vg00
8. Verify that the mirrors were properly created.
lvlnboot -v /dev/vg00
The output of this command is shown in a display like the following:
Boot Definitions for Volume Group /dev/vg00:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
vgdisplay -v vg00
Then lvextend for all other lvols:
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c3t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 02:43 AM
05-26-2004 02:43 AM
Re: Not able to boot from another boot disk.
I go with Patrick here. You just created logical volumes without any filesystems to actually copy the data. Obviously it won't find /stand/vmunix as it is not there.
The procedure you noted down won't work. You will need to modify it to include other logical volumes such as /usr, /var etc.,. Also, you will need to either copy the data or do a dd from the existing logical volumes.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 03:54 AM
05-26-2004 03:54 AM
Re: Not able to boot from another boot disk.
If so follow the example above that has you doing lvextends etc.
If you want a seperate OS boot disk, then just install the OS onto that disk and make it bootable that way.
As noted by others, you have not copied any data over so there is nothing for the system to use to boot up on.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 04:09 AM
05-26-2004 04:09 AM
Re: Not able to boot from another boot disk.
create boot,swap and then root u should be alright u need not have a seperate dump u may use the swap as dump
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 04:13 AM
05-26-2004 04:13 AM
Re: Not able to boot from another boot disk.
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 07:58 AM
05-26-2004 07:58 AM
Re: Not able to boot from another boot disk.
http://www1.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=LVMKBRC00005103&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&search.x=17&search.y=9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 03:13 PM
05-26-2004 03:13 PM
Re: Not able to boot from another boot disk.
did you miss this one
mkboot -l /dev/rdsk/c0t5d0
and you lvlnboot info is conrrect..
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 09:35 PM
05-26-2004 09:35 PM
Re: Not able to boot from another boot disk.
Hope it helps..