geebekazoo Posted November 9, 2003 Report Share Posted November 9, 2003 I did a completely fresh install of 9.2 and installed lilo with no problem. However after rebooting, logging in and installing all of the upgrades successfully, I then downloaded the updated kernel and did an rpm -ivh kernel2.4.22-21*.rpm. The kernel installed, but gave me an error when updating lilo. When attempting to manually update lilo with the new information, the following occurs: [root@TVR280i etc]# lilo -v LILO version 22.5.7.2, Copyright © 1992-1998 Werner Almesberger Development beyond version 21 Copyright © 1999-2003 John Coffman Released 20-Aug-2003, and compiled at 16:45:54 on Sep 18 2003 Reading boot sector from /dev/sdd5 part_nowrite: read:: Input/output error Anyone know why this is happening? Never had this problem before 9.2!!! Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted November 9, 2003 Report Share Posted November 9, 2003 I did a completely fresh install of 9.2 and installed lilo with noproblem. However after rebooting, logging in and installing all of the upgrades successfully, I then downloaded the updated kernel and did an rpm -ivh kernel2.4.22-21*.rpm. The kernel installed, but gave me an error when updating lilo. When attempting to manually update lilo with the new information, the following occurs: [root@TVR280i etc]# lilo -v LILO version 22.5.7.2, Copyright © 1992-1998 Werner Almesberger Development beyond version 21 Copyright © 1999-2003 John Coffman Released 20-Aug-2003, and compiled at 16:45:54 on Sep 18 2003 Reading boot sector from /dev/sdd5 part_nowrite: read:: Input/output error Anyone know why this is happening? Never had this problem before 9.2!!! Do several things.. 1. Examine your /etc/lilo.conf file and make sure the files referenced by linux entry are there. These are usually references to symbolic links. 2. Check your /boot directory and make sure all the symbolic links are correctly udpated to point ot the new kernel. Then try running lilo again. Frequently the kernal rpm screws up the symbolic link. Been around for a long time. Quote Link to comment Share on other sites More sharing options...
geebekazoo Posted November 9, 2003 Author Report Share Posted November 9, 2003 Thanks for the reply. The symlinks were not all updated, however updating them did not resolve the problem. I then changed the symlinks so that they only pointed to the original kernel supplied with 9.2 and removed references to the new kernel from lilo.conf. A subsequent attempt to run lilo -v still failed with the same error message: [root@TVR280i boot]# lilo -v LILO version 22.5.7.2, Copyright © 1992-1998 Werner Almesberger Development beyond version 21 Copyright © 1999-2003 John Coffman Released 20-Aug-2003, and compiled at 16:45:54 on Sep 18 2003 Reading boot sector from /dev/sdd5 part_nowrite: read:: Input/output error phooey!!!!! Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 10, 2003 Report Share Posted November 10, 2003 Near the beginning fo lilo.conf there is a line that reads: boot=/dev/xxx That's where lilo is written to. Also, there is a backup of your old lilo.conf in /etc. Post your current and your backup lilo.conf. I seem to recall a similar problem when I updated a kernel; the "boot=" line got screwed up. Make sure the "xxx" in my above example corresponds to your mbr(typically hda). Quote Link to comment Share on other sites More sharing options...
geebekazoo Posted November 11, 2003 Author Report Share Posted November 11, 2003 Thanks, all for the replies. I found the problem(s) earlier today! 1. -- the installation of the new kernel only updated 2 of the 4 symlinks in /boot. However, repairing that still resulted in the lilo error being generated. 2. -- the error was actually being caused by an "orphaned" line of information hanging in the bottom of the /etc/fstab file! Once I deleted the extraneous data (don't know how it ended up that way) everything worked properly! Quote Link to comment Share on other sites More sharing options...
alaa Posted November 12, 2003 Report Share Posted November 12, 2003 BTW you don't need to use rpm to install kernel updates anymore URPMI knows that kernel packages should be installed not upgraded check /etc/urpmi/inst.list and it downloads the files for you too. cheers, Alaa Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.