Operating System - HP-UX
1833966 Members
1621 Online
110063 Solutions
New Discussion

Duplicating a HPUX 10.20 boot disk

 
SOLVED
Go to solution
Robin Abecasis
Advisor

Duplicating a HPUX 10.20 boot disk

Hi,

Ok, i have an old 725/100 with a 2Gb bootable drive (/dev/dsk/c2t6d0). I have added a 2nd drive (/dev/dsk/c2t5d0), but this is a 4Gb drive (unused and empty).

I've been playing around with dd/fsck/extendfs/mkboot and can only get as far as copying all the data and mounting the disk (mounts fine). But when i try to boot from the disk, it hangs. mkboot also complains that it only works on a 2Gb drive.

Ignite is not installed, the 2Gb drive is HFS only (not LVM).

What are my options, how can i get this to work?

Cheers,
Robin
Wots going on 'ere then?
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Duplicating a HPUX 10.20 boot disk

If you examine the Release Notes for the last firmware update for the old 725's, you will find that the next to last update enabled the 2GB boot. It looks like your quest is hopeless although you can certainly use the 4GB disk as a data disk.

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PF_C7X50016&context=firmware:cpu
If it ain't broke, I can fix that.
Robin Abecasis
Advisor

Re: Duplicating a HPUX 10.20 boot disk

Ahhh, thanks for the info. Yeah, the 725 in question is already at v1.6 firmware.

Before i go ahead and use the entire 4Gb disk as a data drive, is it possible to convert the 2Gb boot disk from HFS (whole disk) to LVM?

Thanks for your help!

Cheers,
Robin
Wots going on 'ere then?
John Carr_2
Honored Contributor

Re: Duplicating a HPUX 10.20 boot disk

why not install hpux 11i to the 4gb disk with LVM and making it the boot disk. Then using the 2GB disk as the data disk !

:-) John.
Sridhar Bhaskarla
Honored Contributor

Re: Duplicating a HPUX 10.20 boot disk

Hi Robin,

Look at the man page of 'lvmmigrate' to migrate to LVM. I believe it creates only one logical volume under LVM in your case. Make sure you have good backups before and after the migration if you attempt lvmmigrate.

I like John's suggestion. I wonder if it is supported on 11i. If it does, then it will be only 32-bit. You will need to squeeze even your 4GB disk very hard to fit in the 11i disk.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
SARDIN Christian
Occasional Contributor

Re: Duplicating a HPUX 10.20 boot disk

Why not installing Ignite

I think that you need 1.59 or more to get OK with the requested LVM

Other case make LVM
vg_create lv_create...
And I guess that mkfs can help to have it bootable ?
But it can't boot if / + /stand are all together more than 2 Go !
That's why you need re-discovering partitions !

Robin Abecasis
Advisor

Re: Duplicating a HPUX 10.20 boot disk

Thanks again for the advice...

Installing HPUX 11i isn't an option, we have software on the box that requires HPUX 10.20

I thought about Ignite, but its not installed, and i don't think i have enough space to install it...

Love the 'lvmmigrate' option... i am experimenting with that and 'fbackup' on a test box (identical configuration).

Cheers,
Robin
Wots going on 'ere then?
Henry Quek
Advisor

Re: Duplicating a HPUX 10.20 boot disk

Hi Robin,

What is your objective? You can easily make a boot disk by using the disk dump utility, but the target disk will have the same capacity as the source. Thus you will not want to do this if you wanted to install a new disk with increased capacity. However, if this is what you want, I don't understand why you don't install 10.2 into the new disk and transfer the files you need over?
Gerard Leclercq
Trusted Contributor

Re: Duplicating a HPUX 10.20 boot disk

Hello,

Even if you successfully copied by any means the 2Gb on the 4Gb, you will never be able to boot on the 4Gb because hpux can boot on partition no bigger than 2Gb!

Gerard