Jump to content

MDK 9.2 lilo problem after install of updated kern


geebekazoo
 Share

Recommended Posts

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!!!

Link to comment
Share on other sites

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!!!

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.

Link to comment
Share on other sites

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!!!!!

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...