04-25-2008
2,
0
Join Date: Apr 2008
Last Activity: 2 May 2008, 2:11 AM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Repair boot sector after stupidly importing disk into vg?
Hey guys,
I've bought a second-hand RS/6000 hardware with freshly installed AIX 5.3 on disk2 and freshly installed AIX 6 on disk1. I'm in possession of the original 5.3 install cds but the AIX 6 installation is just on the disk, I've no install media.
So first after getting the system, I wanted to save that AIX 6 installation if I do something wrong. Well...to accomplish that, I did boot into AIX 5.3, mounted a remote samba-share and wanted to mount that AIX 6 partitions/filesystems to dump them to the samba-share. Due to the fact that I was stupid, I imported disk1 (AIX6) into the volume group of my running AIX5.3 installation (thinking, this would be an equivalent to mounting, shame on me, now I know better but I'm completely new to AIX after working with Linux/BSD since years).
But before I did mount the volumes, I realized that it would be better to make a real disk dump via dd. So I did a dump of hdisk1 (while running AIX 5.3, hdisk0 is the 5.3 installation and hdisk1 is the AIX 6 installation) sucessfully.
Then, I changed the boot sequence via SMS (OpenFirmware) back to the first physical disk to boot AIX 6 again and play around with it. But guess what...it does not boot anymore (LED-message: "0557 ROOT MNT FAILED" and I see a white screen with "Starting Software, please wait" and a text block with "--------Welcome to AIX\nCurrent Time Stamp...\nKernel...\nBoot device\n------ but I can't enter anything).
So what can I do to make the AIX 6 installation boot again? I did a lot of google'ing but did not found any hints for my case. Well, I found hints to tools like bootlist and bosboot but I'm afraid to do more harm to the system. For me, it seems like the disk with AIX 6 has some corrupted boot/mounting root code and/or faulty volume group definition due to my stupid import of it into the other volume group (yes, I did export the AIX 6 disk from the AIX 5.3 volume group afterwards). The volumes itself of the AIX 6 installation seem to be ok (according to lqueryvg).
It would be great to hear some (rtfm-)hints, I really want to rescue that installation and learn AIX :-)
Greets, David