Operating System - HP-UX
1831348 Members
3048 Online
110024 Solutions
New Discussion

How to create a bootable disk

 
SOLVED
Go to solution
Andre Marquesini
New Member

How to create a bootable disk

Hi All,

I'd like to create a second bootable disk on an A class server running HP-UX 11.00. I wouldn't like to use make_recovery. Does anybody known another way to do it?

Thanks, Andre.
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: How to create a bootable disk

Andre,

Why do you not want to do a make_recovery (ignite)?

ANyways, try mkboot, doc:
http://docs.hp.com/hpux/onlinedocs/B2355-90681/B2355-90681.html

live free or die
harry
Live Free or Die
Victor BERRIDGE
Honored Contributor

Re: How to create a bootable disk

Hi,
If they are of same size, you could use dd ...
e.g:
dd if=/dev/dsk/c1t6d0 of /dev/dsk/c1t3d0 bs=1024

All the best

Victor
Patrick Wallek
Honored Contributor
Solution

Re: How to create a bootable disk

If you do not have Mirror Disk/UX installed, have a look at this thread, specifically Peggy Fongs response:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xafc36af52b04d5118fef0090279cd0f9,00.html

If you do have Mirror Disk/UX installed, have a look at this thread. It has some links to documentation on creating a mirrored boot disk. Andreas Voss also attaches a script that can be used if you have Mirror Disk/UX.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd17f37f45ef7d4118fef0090279cd0f9,00.html
James R. Ferguson
Acclaimed Contributor

Re: How to create a bootable disk

Hi Andre:

If you have MirrorDisk/UX you can provide high-availability protection by mirroring your boot disk:

# pvcreate -B /dev/rdsk/cXtYdZ
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ #...note raw device...
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtYdZ
# for N in 1 2 3 4 5 6 7 8 #...or more...
> do
> lvextend -m 1 /dev/vg00 /dev/dsk/cXtYdZ
> done
# lvlnboot -v #...a nice check...

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: How to create a bootable disk

Hi,

Why not create a mirrored disk and
cut an ignite tape. First make your
disk mirrored.

# pvcreate -Bf /dev/rdsk/cxtxdx
(include -f in case the disk has been used before)
# vgextend /dev/vg00 /dev/dsk/cxtxdx
# mkboot /dev/rdsk/cxtxdx
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cxtxdx
# for LVOL in /dev/vg00/lv*
> do
> lvextend -m 1 $LVOL /dev/dsk/cxtxdx
> done
Check your work
# lvlnboot -v

To cut the ignite tape.

# make _tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Note the no rewind device.

Now your done!

HTH
-Michael
Anyone for a Mutiny ?
nancy rippey
Trusted Contributor

Re: How to create a bootable disk

 
nrip
nancy rippey
Trusted Contributor

Re: How to create a bootable disk

 
nrip