I recently bought new hardware - an ABIT KV8 PRO and a SATA drive. Eager to play, I plugged my 2 existing PATA drives in, as hda and hdb.
I built the SATA drive last week - the current debian installer has a driver for the controller, and everything ran fine. GRUB was installed by default.
After a hassle-free week of playing and configuring, I decided to remove hdb and return it to its original home. Rebooted, and GRUB came up with Error 21.
Instinct led me to plug the drive back in, and now I get Error 15.
This is my first experience with grub (and probably my last...
a) I would like to understand the problem,
b) I would like to boot!!!
Luckily I had a knoppix CD lying around, so I could trawl the net for info. I've found none
This knoppix distro does not see the SATA drive, so no chance of chroot'ing and re-running grub (assuming that would fix the issue!)
I'm guessing (short of there being a magical fix for my broken boot loader), that I'll need to build a new boot medium with support for the SATA controller. My debian CD is a net-installer and I can't find a 'rescue' mode.
Any pointers on my best course of action? The best I've come up with is
boot with knoppix
download a late-model kernel source onto one of the IDE drives
compile it (with support for the SATA driver)
try and get it onto a floppy... (or CD I guess)
boot and mount the SATA root partition
... is there an easier solution ...?