We start with a
aptitude install udevafter that you have to edit in /etc/mkinitrd/mkinitrd.conf the ROOT line to the root of your system and MODULES line to "most"
ROOT=/dev/sda1create /etc/mkinitrd/files with the following entries
MODULES=most
/dev/consolethe mandatory entries are /dev/console /dev/null and the lines for the disk and partition where the OS resides. After that we install the kernel image with aptitude install kernel-image-2.6.8-3-686 and check in /boot/grub/menu.lst that root= points to the correct root partitions on the right device.
/dev/null
/dev/hdc
/dev/hdc1
/dev/hdc2
/dev/sda
/dev/sda1
/dev/sda2
To stay on the safe side we can also check the initrd image with
mount -t cramfs -o loop /boot/initrd.img-2.6.8-3-686 /mntwe check in /mnt/dev for the correct devices, /mnt/loadmodules for the ata_piix module and /mnt/script for the root location.
That should be it. Cross you fingers and reboot.
No comments:
Post a Comment