Hi all, I am writing this only after spending the last 14 hours trying to fix this myself.
I had computer A running FreeBSD 7x fine. Woke up to see the computer powered off and upon trying to boot it realized the motherboard died in the middle of the night.
On computer A, I had a promise IDE raid controller and the system used ar0 as the system drive. There were a few other pata ide drives hooked up for data and samba shares but I don't think they are relevant.
I took out the IDE raid controller and the raid and moved over to another computer (computer B) I had sitting around (had everything but hard drives). I figured I could slap in the controller and raid card and it would work. I made sure the BIOS for computer B saw the array and let me set it as the first item in the boot order - great. When I tried to boot I got the...
First I was puzzled because I was seeing ad0? What happened to ar0? Obviously it was booting from the drive and seeing the MBR to get that far.
I tried dropping in a CD and going to fixit mode. I could mount my ar0 but not all the slices. I could mount ar0s1d but I could not mount ar0s1a, ar0s1b, ar0s1c, or any others. Keep in mind, this ar0 was the system drive so it had all the default slices before the motherboard ate it.
I tried popping into sysinstall (from CD) and recreating a bootable FreeBSD MBR on ar0 and sysinstall told me it worked. Upon reboot, however, nothing was different - same error.
Ok, I thought maybe something got hosed on the drive. When I mounted ar0s1d I could see all my system data so I figured I'll throw it onto another FreeBSD machine I have and just copy over some of the system config. So, this third computer will be Computer C.
Computer C was running FreeBSD 7x just fine. It had a SATA raid and SCSI raid controllers. The SCSI raid is what was being booted from. There were no PATA IDE drives until I took one of the drives from the ar0 array and hooked it up to the computer 3 motherboard IDE controller - so it was the only drive connected to the motherboard.
Booted up and got the same error I got on computer 2... crap... I fogot to go into the BIOS and tell computer 3 not to use the pata ide in the boot sequence. Ok so I hop in the computer 3 BIOS and find out that if I have a pata ide hooked up, suddenly my raid controller cards disappear from the boot sequence list.
I physically disconnect the pata IDE drive (which was from the ar0 raid) and restart the machine. So it is now exactly how it was before I hooked up the pata ide drive. Now I am getting a boot loader error for my scsi raid!
This is where I was ready to leap out the window and plummet to my death.. that or pull out all my hair. Then I figured I'd take a shot and post here.
I am guessing I am missing something very simple and hopefully someone can help me solve this. Any help would be appreciated. Thank you.
I had computer A running FreeBSD 7x fine. Woke up to see the computer powered off and upon trying to boot it realized the motherboard died in the middle of the night.
On computer A, I had a promise IDE raid controller and the system used ar0 as the system drive. There were a few other pata ide drives hooked up for data and samba shares but I don't think they are relevant.
I took out the IDE raid controller and the raid and moved over to another computer (computer B) I had sitting around (had everything but hard drives). I figured I could slap in the controller and raid card and it would work. I made sure the BIOS for computer B saw the array and let me set it as the first item in the boot order - great. When I tried to boot I got the...
Code:
Invalid partition
Invalid partition
No /boot/loader
FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
First I was puzzled because I was seeing ad0? What happened to ar0? Obviously it was booting from the drive and seeing the MBR to get that far.
I tried dropping in a CD and going to fixit mode. I could mount my ar0 but not all the slices. I could mount ar0s1d but I could not mount ar0s1a, ar0s1b, ar0s1c, or any others. Keep in mind, this ar0 was the system drive so it had all the default slices before the motherboard ate it.
I tried popping into sysinstall (from CD) and recreating a bootable FreeBSD MBR on ar0 and sysinstall told me it worked. Upon reboot, however, nothing was different - same error.
Ok, I thought maybe something got hosed on the drive. When I mounted ar0s1d I could see all my system data so I figured I'll throw it onto another FreeBSD machine I have and just copy over some of the system config. So, this third computer will be Computer C.
Computer C was running FreeBSD 7x just fine. It had a SATA raid and SCSI raid controllers. The SCSI raid is what was being booted from. There were no PATA IDE drives until I took one of the drives from the ar0 array and hooked it up to the computer 3 motherboard IDE controller - so it was the only drive connected to the motherboard.
Booted up and got the same error I got on computer 2... crap... I fogot to go into the BIOS and tell computer 3 not to use the pata ide in the boot sequence. Ok so I hop in the computer 3 BIOS and find out that if I have a pata ide hooked up, suddenly my raid controller cards disappear from the boot sequence list.
I physically disconnect the pata IDE drive (which was from the ar0 raid) and restart the machine. So it is now exactly how it was before I hooked up the pata ide drive. Now I am getting a boot loader error for my scsi raid!
Code:
Invalid partition
Invalid partition
No /boot/loader
FreeBSD/i386 boot
Default: 0:da(0,a)/boot/kernel/kernel
boot:
This is where I was ready to leap out the window and plummet to my death.. that or pull out all my hair. Then I figured I'd take a shot and post here.
I am guessing I am missing something very simple and hopefully someone can help me solve this. Any help would be appreciated. Thank you.