LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-08-2014, 04:53 PM   #1
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
LILO verses Slack-13 and Slack-14


I have been using Slackware since it came out on CD. I have never had a problem with multi-boot system setup until now. Slackware Ver 13... with kernel 2.6... in one partition and Slackware Ver 14... with kernel 3.2... in a second and if I install LILO from 13 then 14 is NOT going to boot. If I install LILO from 14 then 13 is not going to boot. I typically set up the disk as MSDOS 6.22; XP-Pro; vfat data; common; extended; swap; Slack-in-use; New Slack-to-test; mass storage. (Partitions 1-8) The non-version from which LILO is created hangs and requires removing the electric power cord from the wall to regain control. I have been using LILO since I started using Slack.

Has anyone else tried using LILO to multi-boot between Slack-13 and Slack-14?
Has anyone else had this experience?
If anyone has solved this; Please tell us how.

My best guess is that LILO is compiled ELF and does not pass the other booter the needed tokens and initiate it. Instead it jumps right in to load the other (incompatible) kernel. Meaning, it assumes (incorrectly) that its own shared libs are compatible to the other kernel.

I have tried other loaders in the past and the trouble with them is the trouble it takes to use them. Meaning; where does one start looking when a problem crops up? In my shop - problem childs go into the bit bucket. Unless someone has a fix for LILO - that is its next stop and Slackware 14 gets a home in the closet.


Norseman01
 
Old 01-08-2014, 05:16 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
@Noreseman01 - Thread hijacking is considered bad manners.

Quote:
In my shop - problem childs go into the bit bucket. Unless someone has a fix for LILO - that is its next stop and Slackware 14 gets a home in the closet.
Your loss and no skin off my nose.

FYI - I have no problem dual booting Slackware 13.37 and Slackware 14.1 using the version of lilo from Slackware 14.1. There was a change that meant that the older version of lilo could not boot the newer kernels. Search this forum for further details.

Last edited by allend; 01-09-2014 at 06:50 AM.
 
1 members found this post helpful.
Old 01-08-2014, 11:13 PM   #3
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
@Noreseman01 - Thread hijacking is considered bad manners.


Your loss and no skin off my nose.

FYI - I have no problem dual booting Slackware 13.37 and Slackware 14.1 using the version of lilo from Slackware 14.1. There was a change in lilo that meant that the older version of lilo could not boot the newer kernels. Search this forum for further details.
============
I agree on my bad manors. I could not find where/how to start new thread.
Will follow you search advise. Thanks

Norseman01
 
Old 01-09-2014, 02:21 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...and there you are. New thread ;-p
 
Old 01-09-2014, 08:43 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
We need more accurate information to help you. In any case you'll need a more recent version of lilo than that shipped in 13.37 to boot a kernel shipped in 14.0, so better issue lilo from 14.0. In any case please provide output of following commands, typed from 14.0:
Code:
lilo -V
df -h
fdisk -l
cat /etc/fstab
cat /etc/lilo.conf

Last edited by Didier Spaier; 01-09-2014 at 08:45 AM.
 
Old 01-09-2014, 07:51 PM   #6
tjallen
Member
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 77

Rep: Reputation: 26
Grab the source for lilo from Slackware 14.1 and compile it on Slackware 13 and then upgrade the package. I did this with my machine that has both 12.2 and 14.1 on it and I can now use lilo from either system.

As to why this happens, there was a change in the recent kernels that made a new version of lilo necessary. It caused me some head-scratching until I found that information.
 
Old 01-12-2014, 09:00 PM   #7
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by tjallen View Post
Grab the source for lilo from Slackware 14.1 and compile it on Slackware 13 and then upgrade the package. I did this with my machine that has both 12.2 and 14.1 on it and I can now use lilo from either system.

As to why this happens, there was a change in the recent kernels that made a new version of lilo necessary. It caused me some head-scratching until I found that information.
=================
tjallen - thanks for the input. I had considered compiling against an older lib but without being aware of the kernel/LILO mismatch problem I was hesitant. Sometimes trying such recompiles has lead to other, worse, problems. Now I'll see if I can figure out how to mark this one solved.
 
  


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
[SOLVED] Dual boot Slack 32 bit and Slack 64 bit on two drives - lilo config? camorri Slackware 8 10-04-2012 07:50 PM
[SOLVED] LILO fails when run from live CD after installing Slack (skipped LILO during setup) sysfce2 Linux - Newbie 7 08-04-2009 12:16 AM
Dual-boot Slack/Ubuntu-install slack over XP-help with weird partition layout & lilo? linus72 Slackware 2 05-23-2009 10:03 AM
Slack 10.1 Lilo problems KeithKessler Slackware 7 11-26-2005 03:26 PM
Lilo Error- Slack 10 ringwraith Slackware 2 07-04-2004 12:12 AM

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

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

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