lilo problem after installing new kernel
i have just installed a new kernel (2.6.16.20) from the slackware ftp site. at first i was able to edit the lilo.conf.. so now there are 3 items in my lilo.conf
1. windows 2. LINUX 3. LNX261620 saved the changes and run lilo.. [no problems here yet] i tried rebooting my system and tried booting using the new kernel... no problems or whatsoever. so i decided to delete the lilo entry of my old kernel. and this is where the problem begins. after editing lilo.conf and save the changes, i tried running lilo again and this is the error i received. Code:
Warning: '/proc/partitions' does not match '/dev' directory structure. anyone knows why this happend? any solutions? cheers! b3rx |
lilo wont change until the config file has no errors. look like u need to change something in there before u can get rid of the third entry
|
Maybe you should post /etc/lilo.conf to see if anyone notices anything. Also, are all the partitions on the same drive?
It looks to me like there might be two separate problems. I think the first one is non-fatal, but you might try adding "append=devfs=mount" to lilo.conf to see if that fixes error #1. |
AFAIK that message means that lilo is getting miffed about /dev/hdd2 being referenced when it doesn't actually exist. Post your lilo.conf.
|
hi guys thanks for the replies.. here is my lilo.conf and yes all the partition are in the same drive.
Code:
# LILO configuration file |
Thats what your lilo looks like for slackware? Looks weird mine is just
Code:
# LILO configuration file |
You were saying '/dev/hdd2' in your original post, and lilo.conf is showing '/dev/hdc3'
Which is it? How about posting the output of 'fdisk -l' |
yeah i know.. thats why im confused.. my boot partition is /dev/hdc for windows and /dev/hdc3 for linux.. i dont know here does lilo get that hdd error thing..
here is my fdisk -l result Code:
root@zu:/home/b3rx# fdisk -l |
did you already retry to run lilo ?
"'/proc/partitions' does not match '/dev' directory structure." ....might be gone after a reboot. egag |
The only thing I can think of is that lilo was written to the MBR on /dev/hdd and that /dev/hdd is controlling the boot. That would explain both the error message and the unchanged lilo menu.
I'm at a loss to explain how that would have happened though. Were there any other changes to the system before rerunning lilo last? |
Quote:
You should have lilo install to the MBR of /dev/hdc (first hdd boot device) |
Quote:
Maybe the BIOS is set to boot from /dev/hdd? Or would pointing the current lilo.conf to boot from /dev/hdd solve this? Why did it work before? I'm afraid I still have more questions than answers... |
it might, it might not.
May want to run liloconfig again, use expert mode, follow the prompts, and install to mbr of hdc. Then, after a succesfull boot, add in the other partitions. |
Quote:
yes, i have lilo installed at the MBR of hdc dont know whats causing me the problem. should i switch to GRUB? |
do you still get the same error as in post#1 ?
if so, what's the output of "cat /proc/partitions " ? egag |
All times are GMT -5. The time now is 03:54 AM. |