Fix your kernel boot parameters.
Make sure your kernel has a "root=" parameter passed to it in your bootloader and that the parameter points to your root file system. For example, my root file system is on /dev/hde2. My grub.conf contains:
Code: Select all
kernel (hd0,0)/boot/bzImage-2.6.1-rc2-gentoo-1 root=/dev/hde2Code: Select all
image=/boot/bzImage-2.6.1-rc2-gentoo-1
root=/dev/hde2If you don't know which partition is your root, then check /etc/fstab and look for the entry for / :
Code: Select all
/dev/hde2 / reiserfs noatime 1 2Don't forget to mount /boot when installing a new kernel!
devfs support
You need devfs support built in and mounted at boot time. In the 2.6 kernel, these are listed as:
Code: Select all
File systems
-> Pseudo file systems
-> /dev file system support (OBSOLETE) DEVFS_FS
-> Automatically mount at boot DEVFS_MOUNTCode: Select all
File systems
-> /dev file system support (EXPERIMENTAL)
Automatically mount at bootYou need support for your root file system built in (not built as a module). My root file system is Reiser. So I have reiserfs built into my kernel. If you are unsure what your root file system is, check /etc/fstab.
Drive controller support
You need supoort for your drive controller built into the kernel. If you are unsure what to build, check with `lspci', part of the sys-apps/pciutils package. If all else fails, build them all and use the process of elimination.
IDE
Make sure you have support for your IDE chipset compiled in. In the 2.6 kernel, these can be found in
Code: Select all
Device Drivers
-> ATA/ATAPI/MFM/RLL support
-> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
-> PCI IDE chipset support
-> Generic PCI bus-master DMA supportCode: Select all
ATA/IDE/MFM/RLL support
-> IDE, ATA and ATAPI Block devices
-> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
-> Generic PCI IDE chipset supportSCSI
Make sure you have support for your SCSI device compiled in. In the 2.6 kernel,
Code: Select all
Device drivers
-> SCSI device support
-> SCSI low-level driversCode: Select all
SCSI support
-> SCSI low-level driversPartition selection support
If you partitioned your drive under a different operating system, you may need to enable partition selection support in the kernel. In both the 2.4 and 2.6 kernels,
Code: Select all
File systems
-> Partition types
-> Advanced partition selection




