Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-19-2006, 05:25 PM   #1
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Lilo will not install to MBR. GOT IT RESOLVED!

Everytime I try to install lilo to MBR I get cannot install, lilo was not installed.
When I do lilo I get part_nowrite:read:: is a directory.
I have seached on LQ and google with not much info on this message.
Can I uninstall lilo using one of the switches and then reinstall?
In either case I cannot install to MBR (like it did before) so how does it get installed?

I had another HD on the same cable, removed HD, Plugged in first connector into this drive, reran liloconfig, did lilo and all is better now.
Dont know what the other drive had to do with it, maybe some kind of scsi thing or this drive needed to be on the first connector on the cable?

Last edited by M$ISBS; 12-19-2006 at 05:54 PM.
Old 12-20-2006, 07:59 AM   #2
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
99 means: invalid second stage index sector (LILO)

run lilo in verbose mode:
# lilo -v5

and copy all the messages to lq forum. it will show you which disk is making problems. maybe an external one?

check "man lilo".

uninstalling lilo: # lilo -u
install lilo: # lilo

to see more detailed (error) messages from lilo, use "-v5" when running lilo, i.e.:
# lilo -v5


Last edited by malo_umoran; 12-20-2006 at 08:46 AM.
Old 12-22-2006, 03:40 PM   #3
Registered: Jun 2006
Distribution: Slackware 11
Posts: 56

Rep: Reputation: 15

did you install the kernel-ide package or use a different kernel from the slackware CD. If you use a different kernel (IE you didn't hit cancel/skip) during the lilo configuration when it asks you to choose a kernel, then lilo won't install right.

Don't ask me why, because I'm really new to linux, but I monkied around and if you instead install the default kernel and choose (skip or use/default when it asks you to install a kernel) then it will install the A-package kernel and the lilo setup during the install program will work to the MBR. I'm sure there's a way using the advanced configuration to make it install properly...but again...I don't know how to do that.

If you want one of those custom kernels I think you're going to have to figure out how to properly set up lilo.conf to make sure the /boot/vmlinuz is the right kernel and the /root is correct, and you've got the right installed.

But like I said, if you're just starting out, use that default kernel in the A-package and don't install another one off the cd/floppy/whatever. Then do the lilo install to the MBR and it'll work.

After that you can compile your very own kernel anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not install lilo on MBR kazuya1977 Slackware - Installation 5 03-20-2006 01:14 AM
can't install lilo to boot sector or MBR or floppy? kazuya1977 Slackware 15 02-13-2006 12:31 PM
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) Linux - Newbie 2 05-05-2005 11:46 PM
If I install LILO to the MBR, can I use it to boot Windows XP? squirrels Linux - General 3 06-11-2004 03:18 PM
Do not want lilo in my MBR, want to use System Commander to boot Linux - General 4 09-22-2001 12:55 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration