I am running Mandrake 10.0, kernel 2.6.3-9mdk. I tried to add a driver to the kernel, then I tried to compile 2.6.7. I did make, make install, and make modules install. I had a bunch of errors, so I just said forget it.
Well I guess when I did all that, it screwed up my boot process. I am using lilo, and I ran a rescue disk and checked it against my laptop mandrake 10 ./boot files, and it looks like all the simlinks are still pointing to the old 2.6.3-9mdk, and not 2.6.7.
The problem with the boot is its not finding the root partition, /dev/hda. The lilo loader is pointing to the root dir as /dev/ram3 (?) I don't understand that one. I tried changing it on the rescue disk, but after I altered it, I was unable to run lilo to reset the config file. So I selected one of the other lilo kernel images, one pointing to /dev/hda2, the correct partition, and still same result of kernel panic.
Here are all the errors I get.
Loading jbd.ko module
jbd: disagrees about version of symbol struct_module
Error inserting '/lib/jbd.ko': -1 Invalid module format
ERROR: /bin/insmod exited abnormally!
Loading ext3.ko module
ext3: disagrees about version of symbol struct_module
Error inserting '/lib/ext3.ko': -1 Invalid module format
ERROR: /bin/insmod exited abnormally!
Mounting /proc filesystem
Creating device files
Mounting sysfs
Creating root device
Mounting root filesystem
mount: error 19 mounting ext3 flags defaults
well, retrying without the option flags
mount: error 19 mounting ext3
well, retrying read-only without any flag
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Remounting devfs at correct place if necessary
Mounted devfs on /dev
Freeing unused kernel memory: 260k freed
Kernel panic: No init found. Try passing init= option to kernel.
What did I do to change the place lilo is looking for the root partition, and how can I change it back?
Thanks,
phil
