LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-26-2013, 11:35 PM   #1
klee12
Member
 
Registered: May 2007
Posts: 48

Rep: Reputation: 15
LILO Problem


Hello,

I want to upgrade from Slackware 13.37 to Slackware 14.0. Usually I run dual boot ... one that can dual boot the current system (e.g. 13.37 kernel) and the new new system (e.g. 14.0 kernel). The root of the new system is mounted on /Sda1 and I have the OS install on /dev/sda1. I want to lilo to a memory stick on /dev/sdd. My lilo.conf with comments removed is

<<

lba32
boot=/dev/sdd
append=" vt.default_utft=0"
timeout=300
delay=100
vga=788

image=/boot/vmlinuz
root=/dev/sda6
label=Slack13.37:32
read-only

image=/Sda1/boot/vmlinuz
root=/dev/sda1
label=Slack:32_14.0
read-only

>>


I run lilo. There are two warnings (sdd not on first disk an boot sector and map file are on different disks) and then

<<
Added Slack13.37:32 *
Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader
>>

What did I do wrong. I have used this same config file with minor changes and it worked before.

If I go run the new version (with 14.0 kernel), enter setup, then config lilo, will I be able to generate a lilo.conf file without actually running lilo (i.e. leave MBR alone)?

Thanks in advance for any help
 
Old 05-27-2013, 12:58 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,189

Rep: Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023
To avoid "Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader", you need to upgrade lilo, the version shipped in 13.37 is not able to install 14.0. Just do this:
Code:
lftp -c 'open http://mirrors.slackware.com/slackware/slackware-14.0/source/a; mirror lilo"
cd lilo
su
chmod +x lilo.Slackbuild
./lilo.SlackBuild
upgradepkg /tmp/lilo-23.2-i486-3.txz
 
1 members found this post helpful.
Old 05-28-2013, 06:40 PM   #3
klee12
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks Didier. That did the trick.

Before I checked here, I looked at the SlackBuild site to see if it had anything for Lilo. I couldn't find anything. Is there any reason why?

klee12
 
Old 05-28-2013, 06:57 PM   #4
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,776

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
Quote:
Originally Posted by klee12 View Post
Before I checked here, I looked at the SlackBuild site to see if it had anything for Lilo. I couldn't find anything. Is there any reason why?
klee12
If you and Didier will pardon me answering out of turn, that is because SlackBuilds.org does not include anything that is part of the Slackware distro itself, which of course lilo is.
 
  


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
[SOLVED] Lilo boot problem, lilo on mbr not found Exeunt Slackware 6 02-21-2013 08:44 AM
[SOLVED] Edit lilo.conf, run /sbin/lilo, but lilo won't take changes lukameen Slackware 2 02-10-2012 12:10 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM


All times are GMT -5. The time now is 09:06 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