LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices


Reply
  Search this Thread
Old 11-06-2006, 10:12 PM   #1
jasonpeinko
Member
 
Registered: Oct 2005
Posts: 33

Rep: Reputation: 15
Lilo wont install


Im trying to install zenwalk 3 but lilo wont install so i cant boot.
 
Old 11-07-2006, 05:16 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Can you give a little more information please?
 
Old 11-07-2006, 08:42 AM   #3
jasonpeinko
Member
 
Registered: Oct 2005
Posts: 33

Original Poster
Rep: Reputation: 15
well after I install all the packages from the CD then it would you like to install lilo and i say simple yes. Then i hit next and it says lilo could not be installed. After that I reboot without the CD. then it just prints a bunch of 99's to the screen
 
Old 11-07-2006, 09:46 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Try following the directions in this link for "repairing lilo." At this point don't worry about editing lilo.conf. And when you mount the partition, instead of using "-w" as stated, I would suggest "-o rw,dev" to make sure the partition is not mounted nodev (that would guaranty failure). If this doesn't work, report back any error messages you get.
 
Old 11-07-2006, 11:24 PM   #5
jasonpeinko
Member
 
Registered: Oct 2005
Posts: 33

Original Poster
Rep: Reputation: 15
Well lilo wont even install.... Here is the exact error:
Sorry, but the attempt to install LILO has returned an error, so LILO has not been correctly installed. You'll have to use a bootdisk to start your machine instead. It should still be possible to get LILO working by edditing the /etc/lilo.conf and reinstalling LILO manulaly. See the LILO man page and documentation in /usr/doc/lilo/ for more help
 
Old 11-08-2006, 12:01 AM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
The instructions I gave you in post #4 are to be carried out after you have completed the installation, including its failure to install LILO. Those instructions are the attempt to reinstall LILO manually (using the install disk or a live CD) that the message you quoted is talking about. If this attempt to install LILO fails, we should have different (and hopefully more informative) error messages to guide our repair attempt.

I know the attempt to install LILO during installation failed. Please try to follow those instructions from post #4 and the link included in it and report back any errors you get. Or who knows? Maybe it will actually work.

Last edited by blackhole54; 11-08-2006 at 12:04 AM.
 
Old 11-08-2006, 05:24 AM   #7
bullinchinashop
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Rep: Reputation: 0
I had that happen when I tried to use extended partitions. I tried Both Zenwalk and Slackware had a fit when I tried to install lilo on an extended partition. When I gave up and went back to primary extensions lilo installed fine.
 
Old 11-08-2006, 05:03 PM   #8
jasonpeinko
Member
 
Registered: Oct 2005
Posts: 33

Original Poster
Rep: Reputation: 15
how do i do this part:
>mount -w /dev/hdXY(hda6 for me) /mnt/linux

my swap is hdb1
and linux is hdb2

i get:
-w: No such file or directory
 
Old 11-08-2006, 05:43 PM   #9
jasonpeinko
Member
 
Registered: Oct 2005
Posts: 33

Original Poster
Rep: Reputation: 15
figured it out i got to the lilo -v part

and it says warning: '/proc/partitions' does not exist, disk scan bypassed
Warning: /dev/hdb2 is not on the first disk
fatal: filesystem would be destoryed by LILO boot sector: /dev/hdb2
 
Old 11-09-2006, 01:13 AM   #10
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
OK, good.

I need to make sure I know how you want the machine to behave at boot. I am guessing you must have a different OS on hda? Do you want the LILO you are trying to install to be the bootloader that executes when you first turn the machine on?

In any case, I think your LILO configuration file might be messed up. With the partition mounted as /mnt/linux (like you did above), the file should be /mnt/linux/etc/lilo.conf. Could you post its contents please? (I don't know what tools the CD you're booting from has available, but if it has them, you can use tools like cat, more, less, vi, or your favorite editor to examine the file.)

Just to give you a jump start on where this might be going, if you want LILO to be the bootloader that executes at powerup, and lilo.conf has a line that reads:

boot = /dev/hdb2

try changing it to

boot = /dev/hda

and run lilo -v again.

WARNING: Doing what I just said will wipe out any existing bootloader that currently executes at powerup.

Last edited by blackhole54; 11-09-2006 at 01:15 AM.
 
Old 11-09-2006, 08:35 AM   #11
jasonpeinko
Member
 
Registered: Oct 2005
Posts: 33

Original Poster
Rep: Reputation: 15
ill try it when i get home
 
Old 11-10-2006, 11:33 AM   #12
matheuslbarros
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Rep: Reputation: 0
hey
i now, how to install the lilo.. o/
in my instalation .. have the problem too
you have to install manualy.. select the partition.. and go to menu.. -configure linux- think is this... and in instalation .. /dev/hd** put /usr/local =D
but.. when go to start...

Starting up x11... ocurred one error.. and not initialize
if have someone who now how i initialize in text mode ..
thanks



DALE BANZO
 
  


Reply



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
lilo wont install plus other issues crAckZ Linux - General 2 03-13-2006 06:23 PM
windows wont load from lilo (did before) petezilla Linux - Newbie 7 01-06-2006 01:24 AM
2 probs, apt-get wont download anything. blackbox wont install minibootsy Linux - Software 2 06-10-2004 01:55 AM
Lilo Wont Install electrix Linux - Newbie 6 08-22-2003 05:50 PM
lilo wont boot winxp razey Linux - Software 6 12-06-2001 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration