View previous topic :: View next topic |
Author |
Message |
binro l33t
Joined: 06 May 2005 Posts: 742 Location: Bangkok
|
Posted: Sun Dec 31, 2006 1:18 pm Post subject: Howto boot from new SATA disk? [SOLVED] |
|
|
I have a new SATA-II disk (it's got completely different connectors from my other disks) and I cloned my old disk onto it. I made all the necessary adjustments to fstab, mtab and grub.conf and added ATA generic support to the kernel. Using the old disk I can see the new one as /dev/sda and mount it; the libata, ata_generic and ata_piix modules are loaded. However, when I try boot the new disk I get the kernel error message that it can't mount the root file system. Given that everything else is good, in my experience this means that needed modules are not in the kernel or the initrd file.
Ok, so I fired up "make xconfig" for my 2.6.19 kernel and looked at the new ATA support section. The problem is that the various menu items are only on/off toggles, not the usual no/module/kernel selection. I already have an initrd file for boot-splash, so my thinking is that I need to add the above ATA modules to the file. Is this correct, and if so, what is the best way to go about it?
TIA (and Happy New Year! ) _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Last edited by binro on Sun Dec 31, 2006 2:57 pm; edited 1 time in total |
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 742 Location: Bangkok
|
Posted: Sun Dec 31, 2006 2:56 pm Post subject: |
|
|
I solved the problem, it seems that "make xconfig" is a bit borked. When I tried "make menuconfig" I had the option to compile in the necessary modules and now it boots OK.
N.B. You also need the SCSI disk driver compiled in. _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|