LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-16-2007, 05:56 AM   #1
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
12.0 Lilo Failed Install


Hmm, I have downloaded both the cd and dvd images with no errors and all checksum tests passed. Both images created without error (I have done this before) and both do boot. Now the weird part, both give the same error when lilo attempts to install, Lilo can not be written to disk, please use a boot floppy to...whatever.

What has changed, because I fell back to 11.0 and no issues, lilo installed and I could boot into Slack.

What has changed in lilo between 11.0 and 12.0 and how do we fix the issue?
 
Old 07-16-2007, 06:00 AM   #2
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
What is your partition table? Did you try "expert" option to install LILO?
 
Old 07-16-2007, 06:54 PM   #3
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Partition table is the same for Slackware 11.0

/dev/hda1 (set for swap)
/dev/hda2 (the rest of the drive)

Yes, this is very lazy, but has been very effective, especially when your drive is over 10 gb.

I have always used expert mode to install lilo.

One more item, I never write to the MBR.

Been using Slackware since almost the 1st release, 199x something, and this is one of the few times that I have seen the lilo install fail.

Last edited by tzman; 07-16-2007 at 09:24 PM.
 
Old 07-17-2007, 03:38 AM   #4
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by tzman
Yes, this is very lazy, but has been very effective, especially when your drive is over 10 gb.
I have 2 harddisk of 80 GB, Slackware 12.0 is on third partition on primary master harddisk, Slackware 11.0 is on fourth partition on primary slave harddisk, but I have no problem installing LILO.

Quote:
Originally Posted by tzman
One more item, I never write to the MBR.
You should try to install LILO to the MBR.
 
Old 07-18-2007, 06:55 PM   #5
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
That would be difficult since I also boot about 3 other flavors of linux with a boot manager (GAG, see freshmeat.net) that lives on the MBR and REALLY would not like to loose change that.

Like I said, has anyone found out if lilo has changed? I am asking because 11.0 and older ALL install to root partition without a problem, at least back to 9.0
 
Old 07-18-2007, 07:46 PM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
If you're a seasoned Slack user and run multiple distros, it might benefit you to take a serious look at grub. Hands down a better way to boot your multi-OS system.
 
Old 07-19-2007, 12:13 AM   #7
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Hmm, interesting...

How do you boot a linux partition/installation without a boot sector/loader installed/activated, pretty tricky.

Also note, Grub is not distributed with Slackware.

I have also posted the original issue to the Slackware team at www.slackware.com which basically is:

What has changed with lilo between Slackware versions 11.0 and 12.0?
 
Old 07-19-2007, 12:34 AM   #8
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
grub-0.97-i486-3 in extra/grub

ftp://slackware.mirrors.tds.net/pub/slackware/slackware-12.0/extra/grub

or Slackbuild + source:
ftp://slackware.mirrors.tds.net/pub/slackware/slackware-12.0/extra/source/grub
 
Old 07-19-2007, 08:11 AM   #9
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
OK.

How do you install a package when you can't boot up the system? Floppy boot is not available with 12.0, at least not directly, and I do not have a thumb drive to boot from.

All fine suggestions, but useless until you get your system to boot, at least so far.
 
Old 07-19-2007, 08:51 AM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Boot from the CD or DVD. There is an example how to boot up your install. I think it should be something like "hugesmp.s root=/dev/hda2 rdinit= ro" in your case if I remember right. This boots up your installed system although it takes the kernel from CD/DVD. Then you can (un)install and modify what you like.
 
Old 07-20-2007, 05:28 AM   #11
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, that may be the ticket, at least to get 12.0 working.

I am still wondering what changed in lilo to prevent it from installing during the system install. It is a very frustrating and unnecessary change.
 
Old 07-20-2007, 05:31 AM   #12
Lockywolf
Member
 
Registered: Jul 2007
Posts: 70

Rep: Reputation: 15
maybe you just set too long name for the system?
 
Old 07-20-2007, 12:38 PM   #13
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Same name used as on previous version installs. Like I said, never been an issue before.
 
Old 07-20-2007, 03:48 PM   #14
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 722
Blog Entries: 3

Rep: Reputation: 76
Quote:
Originally Posted by tzman
Thanks, that may be the ticket, at least to get 12.0 working.

I am still wondering what changed in lilo to prevent it from installing during the system install. It is a very frustrating and unnecessary change.
For one thing, Slackware 12.0 comes with lilo 22.8 whereas Slackware 11.0 comes with lilo 22.7.1.

To know what changed between those versions, boot from CD and then read file:

/usr/doc/lilo-22.8/CHANGES

I'm not technical enough to understand the changelog but you may find what you're looking for.

Cheers
 
Old 07-21-2007, 08:34 AM   #15
tzman
LQ Newbie
 
Registered: Mar 2006
Location: California
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the excellent suggestion.

I reviewed the changelogs and sure enough they changed lilo 2.8 to default install to the MBR. Betting they did not check the code to install elsewhere when chosen.

Thanks to all for your suggestions, will get 12.0 working yet.
 
  


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
System Down: Broken LILO after failed kernel upgrade. Please help! Yalla-One Linux - Software 1 03-30-2005 03:53 PM
Lilo failed to install? MDesigner Slackware - Installation 6 02-23-2005 03:08 PM
Lilo install failed gmartin Slackware - Installation 6 02-01-2005 09:56 PM
failed install lilo during install process sirpelidor Mandriva 5 01-15-2004 12:51 AM
lilo - installation failed davep Linux - Software 2 04-29-2003 04:07 PM


All times are GMT -5. The time now is 04:56 AM.

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