Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-26-2013, 11:35 PM
|
#1
|
Member
Registered: May 2007
Posts: 48
Rep:
|
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
|
|
|
05-27-2013, 12:58 AM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,154
Rep:
|
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.
|
05-28-2013, 06:40 PM
|
#3
|
Member
Registered: May 2007
Posts: 48
Original Poster
Rep:
|
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
|
|
|
05-28-2013, 06:57 PM
|
#4
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,295
|
Quote:
Originally Posted by klee12
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.
|
|
|
12-27-2014, 11:27 PM
|
#5
|
LQ Newbie
Registered: Sep 2008
Posts: 9
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|