Operating System - HP-UX
1834817 Members
2272 Online
110070 Solutions
New Discussion

Moving boot hard drive from one workstation to another

 
SOLVED
Go to solution
Michael D'Aulerio
Regular Advisor

Moving boot hard drive from one workstation to another

This has probably been asked and answered but I can't seem to find the thread.
I installed a B180 w/ HP-UX 10.20 in a disk carrier hooked up to an external SCSI chassis. Since then we lost the external chassis and I had to put the drive inside the B180 case. It won't boot because the H/W address the drive boots from now is different from when it was installed.
Is there any way to fix it so the drive will boot again?
Email: michael.n.daulerio@lmco.com
8 REPLIES 8
DCE
Honored Contributor

Re: Moving boot hard drive from one workstation to another

Have you tried interupting the boot process, and interacting with the ISL?

at the ISL prompt type HPUX.

The AUTO string on the boot disk may contain the old drive address. If the above process wors, then you will have to redefine the AUTO string with the mkboo -a command
Kent Ostby
Honored Contributor

Re: Moving boot hard drive from one workstation to another

Interrupt at the "10 second" window.
Do a search until you see the disk
type:
path pri (This will fix things
for future boots)
bo
and interact with ISL
type: hpux

You can set the boot path from

mkboot -a "hpux" /dev/dsk/

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Torsten.
Acclaimed Contributor
Solution

Re: Moving boot hard drive from one workstation to another

Hi Michael,

to configure the new HW address you can try this:

Stop the boot process at ISL. Then boot the system in maintenance mode (hpux -lm). Install new device files for your disk (insf -H -e). Now note vg's minor number and export the vg (ll /dev/*/group and vgexport -v -m /tmp/vg##.map vg##).
Import the VG:

# mkdir /dev/vg##
# mknod /dev/vg##/group c 64 0xXY0000
# vgimport -v -m /tmp/vg##.map vg##

Update boot information:
# lvlnboot -r /dev//lvol3
# lvlnboot -b /dev//lvol1
# lvlnboot -s /dev//lvol2
# lvlnboot -d /dev//lvol2
# lvlnboot â v

Check the results:
# vgchange -a y vg##
# vgdisplay -v vg##

Reboot!

HTH!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Andrew Rutter
Honored Contributor

Re: Moving boot hard drive from one workstation to another

hi,

its probably just down to the scsi id's of the drive.

the exteranl box probably had a switch on the back to change this and was connected to the drive internally.

now you have the drive out there will be no jumpers on the drive to set the scsi id.

remove the drive from the workstation again and put some jumpers on the drive to set the id to what it was when the install was done.

the default id for the drive should have been 6? can you remember.

also it may still boot if you just interupt the boot at pdc level and search for bootable devices. select the drive and boot this. If this works ok then you can just change the boot path at pdc to amtch the disk so when you turn the workstation on it boots up into hpux

andy



Florian Heigl (new acc)
Honored Contributor

Re: Moving boot hard drive from one workstation to another

in the worst case You'll have to look into the ioconfig file, but I don't think You'll get into such issues as long as the hardware model is identical.

also You might want to fix /stand/bootconf , but this shouldn't be too much of an issue.
yesterday I stood at the edge. Today I'm one step ahead.
Michael D'Aulerio
Regular Advisor

Re: Moving boot hard drive from one workstation to another

Thanks for all the suggestions. I'm going to try them and assign points later today.
Email: michael.n.daulerio@lmco.com
Leif Halvarsson_2
Honored Contributor

Re: Moving boot hard drive from one workstation to another

Hi,

If I remeber correct, the B180 uses the same SCSI buses for internal and external drives. There is two buses, one NSE and one WSE. So, all you need to do is to find some jumpers so you can set the the SCSI ID to the same as it was set in the external box.
Michael D'Aulerio
Regular Advisor

Re: Moving boot hard drive from one workstation to another

Torsten,

Your procedure worked like a charm. You obviously have done this before.

I only had to change one thing. I had to run 'vgchange -a y' to activate the volume group before running the lvlnboot commands. The first time the system booted up after the procedure it rebooted by itself. After that, it worked like a champ.

Thanks also to all the others who responded.
Email: michael.n.daulerio@lmco.com