SATA drive - 2.6.3 kernel upgrade
I'm upgrading from a 2.6.1 kernel to 2.6.3 The kernel build went OK, but I must have missed the documentation that says that libata calls an SATA drive '/dev/sda' whereas it used to be '/dev/hde'.
I installed an old ATA drive (/dev/hda) and have booted a 2.6.3 kernel from the ATA drive. I can mount the SATA partitions in fstab (/dev/sda?) except for '/' which has the /dev/hda partition.
I can mount the SATA '/' partition elsewhere and it appears to be intact.
When I run lilo is says 'Warning: /dev/sda is not on the first disk'.
If I boot from the SATA it panics saying 'Kernel Panic: VFS: Unable to mount root fs on unknown-block (8,7)
In desperation I tried to 'rdev /dev/sda7 /dev/sda7', no difference.
I haven't had any success with a boot / rescue floppy either.
This system has worked great with the 2.6.1 kernel, but now that won't boot from the SATA drive either.
How do I make it boot from /dev/sda7 ?
OS = Debian Woody (testing)
like you said, it's /dev/sda now
in lilo (or grub), you need to specify the root. When you install it, the disk is /dev/hde7, when booting it is /dev/sda7.
so in lilo, type (type shift or control to get to the prompt when seeing the lilo message:
of course, vmlinuz may be another kernel image, but the gist should be clear.
when booted, edit the lilo.conf and fstab to match the new /dev structure. Of course, that means that going back to an older kernel is not easily possible.
In grub, there may be a problem accessing the sata drive, otherwise, go along the the lines above. I reccommend to use the older net install (bf2.4) and use debian unstable. That uses lilo by default, and is less frickle than testing.