LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-19-2006, 04:25 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 818

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 04:54 PM.
 
Old 12-20-2006, 06:59 AM   #2
malo_umoran
Member
 
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

M.

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

Rep: Reputation: 15
MS--

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 System.map 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.
 
  


Reply


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 12:14 AM
can't install lilo to boot sector or MBR or floppy? kazuya1977 Slackware 15 02-13-2006 11:31 AM
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) cangussu.br Linux - Newbie 2 05-05-2005 10:46 PM
If I install LILO to the MBR, can I use it to boot Windows XP? squirrels Linux - General 3 06-11-2004 02:18 PM
Do not want lilo in my MBR, want to use System Commander to boot rdaves@earthlink.net Linux - General 4 09-21-2001 11:55 PM


All times are GMT -5. The time now is 08:19 PM.

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