LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,154

Rep: Reputation: Disabled
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
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,295
Blog Entries: 24

Rep: Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254Reputation: 4254
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.
 
Old 12-27-2014, 11:27 PM   #5
kfanyo
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Rep: Reputation: 3
Lilo setup exceeds 63 characters

My system was using symbolic links in boot. The lengths of the names of the system, config, kernel files are well over 63 characters combined. Dropped the links and renamed the actual system files "System.map", "config", "vmlinuz" (23 characters) instead of linking to their more descriptive names and problem solved.
 
  


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

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

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