Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
|
06-24-2006, 12:30 PM
|
#1
|
Member
Registered: Mar 2006
Distribution: Slackware 13.0
Posts: 75
Rep:
|
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.
Name change: '/dev/hdd2' -> '/dev/hdd2'
part_nowrite check:: No such file or directory
i thought it was just a warning message and thought that the changes were made. i tried rebooting my system and sad to say that the there are still 3 items in my lilo.
anyone knows why this happend? any solutions?
cheers!
b3rx
|
|
|
06-24-2006, 12:40 PM
|
#2
|
LQ Newbie
Registered: Jun 2006
Distribution: Ubuntu 6.06
Posts: 15
Rep:
|
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
|
|
|
06-24-2006, 01:01 PM
|
#3
|
Member
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Rep:
|
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.
|
|
|
06-24-2006, 07:29 PM
|
#4
|
Member
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480
Rep:
|
AFAIK that message means that lilo is getting miffed about /dev/hdd2 being referenced when it doesn't actually exist. Post your lilo.conf.
|
|
|
06-25-2006, 12:30 AM
|
#5
|
Member
Registered: Mar 2006
Distribution: Slackware 13.0
Posts: 75
Original Poster
Rep:
|
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
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdc
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hdc1
label = Windows
table = /dev/hdc
# Windows bootable partition config ends
# Linux bootable partition config begins
#image = /boot/vmlinuz
# root = /dev/hdc3
# label = Linux
# read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.16.20
initrd = /boot/initrd.gz
root = /dev/hdc3
label = Linux
read-only
# Linux bootable partition config ends
|
|
|
06-25-2006, 01:35 AM
|
#6
|
Member
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479
Rep:
|
Thats what your lilo looks like for slackware? Looks weird mine is just
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sdb
#compact # faster, but won't work on all systems.
#prompt
#timeout = 50
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sdb2
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
|
|
|
06-25-2006, 01:40 AM
|
#7
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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'
|
|
|
06-25-2006, 06:48 AM
|
#8
|
Member
Registered: Mar 2006
Distribution: Slackware 13.0
Posts: 75
Original Poster
Rep:
|
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
Disk /dev/hdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hdc2 2551 2613 506047+ 82 Linux swap
/dev/hdc3 2614 4865 18089190 83 Linux
Disk /dev/hdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 1 3825 30724281 c W95 FAT32 (LBA)
/dev/hdd2 3826 9729 47423880 f W95 Ext'd (LBA)
/dev/hdd5 3826 7650 30724281 b W95 FAT32
/dev/hdd6 7651 9729 16699536 b W95 FAT32
|
|
|
06-25-2006, 10:59 AM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
did you already retry to run lilo ?
"'/proc/partitions' does not match '/dev' directory structure."
....might be gone after a reboot.
egag
|
|
|
06-25-2006, 02:55 PM
|
#10
|
Member
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Rep:
|
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?
|
|
|
06-25-2006, 03:19 PM
|
#11
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Quote:
Originally Posted by jimX86
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.
|
Bingo. Glad you saw that...My brain is getting old....
You should have lilo install to the MBR of /dev/hdc (first hdd boot device)
|
|
|
06-25-2006, 03:51 PM
|
#12
|
Member
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Rep:
|
Quote:
Originally Posted by cwwilson721
You should have lilo install to the MBR of /dev/hdc
|
Yes, but shouldn't his current lilo.conf already be writing it to /dev/hdc? I'm not sure I understand why that isn't working.
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...
|
|
|
06-25-2006, 03:54 PM
|
#13
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
06-25-2006, 04:52 PM
|
#14
|
Member
Registered: Mar 2006
Distribution: Slackware 13.0
Posts: 75
Original Poster
Rep:
|
Quote:
Originally Posted by cwwilson721
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.
|
i have tried what you have suggested but i when i started intalling lilo again. it has error.. and when i tried to manually edit lilo and not using the liloconfig and tried to run lilo again. same error regarding the hdd2 partition.
yes, i have lilo installed at the MBR of hdc dont know whats causing me the problem. should i switch to GRUB?
|
|
|
06-25-2006, 05:02 PM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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 11:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|