I did a fresh install of slack 10.2 and kernel 2.4.31. I then downlaoded the source of 2.4.34 so I could recompile with highmemory support, and work with a quicker, more efficient kernel. Turns out, I cannot get it right. I've read through numerous tutorials on kernel compiling, and none of them worked for me.. I'll try my best to reinact my commands for what I was doing when compiling. Here's a few details first though:
all FS are ext2
Partition scheme:
sda1 - swap
sda2 - /boot
sda3(extended partition)
sda5 - /root
sda6 - /home
sda7 - /tmp
using lilo bootloader
Here's what I did..
cd /usr/src/
rm linux
ln -s /usr/src/linux-2.4.34 /usr/src/linux
cd linux
make mrproper
pico /usr/src/linux/Makefile
I then uncommented (which means to take away the '#', right?) "#export INSTALL_PATH=/boot"
and in the same file i changed export ROOT_DEV = /dev/sda5
ctrl + O, then ctrl + X to save and exit
make menuconfig
make dep
make bzImage
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.34
rm /boot/vmlinuz
rm /boot/vmlinuz-2.4.31
ln -s /boot/vmlinuz-2.4.34 vmlinuz
make modules
make modules_install
(still in /usr/src/linux)
cp System.map /boot/System.map-2.4.34
cp .config /boot/config-2.4.34
cd /boot
ln -s System.map-2.4.34 System.map
ln -s config-2.4.34 config
cd /usr/src/linux
make install (i dont think i had to do this, but made me feel better..i guess)
it ran the /sbin/lilo command for me and it checked out okay
Here's what my lilo.conf looks like though:
at the top there's
"#Start LILO global section
append="sata.i"
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
#Override dangerous defaults that rewrite the partition table:
change-rules
reset
#VESA... blah blah
vga = 773"
and towards the bottom I have:
"#Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Slack-2.4.34
read-only
#Linux bootable partition config ends"
And now, I reboot
things are flying by the screen, going fast, quicker, then halts to:
VFS: Cannot open root device "805" or 08:05
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:05
I am sure most of you have seen complaints about this message billians of times and concured it yourselves. But I have not.
In order to boot back to multiuser mode, I have to pop in the cd and type "sata.i root=/dev/sda5 noinitrd ro" and stuff's great.. but still.. i'm at 2.4.31..
I've spent several days and a couple all nighters.. installing, reinstalling, headaches.. missing study time for hopes of it to work.
Can someone please help.