LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-23-2015, 04:59 PM   #1
Ranamon
Member
 
Registered: Feb 2013
Location: Land of Hopenchange
Distribution: Slackware
Posts: 45

Rep: Reputation: Disabled
LILO Misbegaving


Here is the lilo.conf I'm using:
Code:
append=" vt.default_utf8=0"
boot = /dev/sda
default = "KitsuNix"

  bitmap = /boot/kitsunix-boot-255.bmp
  bmp-colors = 254,101,,,,

  bmp-table = 476p,224p,1,15,17

  bmp-timer = 476p,361p,254,101

prompt
timeout = 300

# Override dangerous defaults that rewrite the partition table:

change-rules
  reset

vga = normal

# Linux bootable partitions

image = /boot/vmlinuz
  root = /dev/sda5
  label = "KitsuNix"
  read-only
  
#  -----------------------------------------

image = /boot/crux/vmlinuz-crux
  root = /dev/sda7
  label = "CRUX"
  read-only
Then this happens (attachment). LILO had CRUX as the default on the boot menu, however, when you select it, it boots KitsuNix. If you want CRUX, you have to select "KitsuNix". The boot menu operates backwards.

Otherwise, everything works: KitsuNix and CRUX both boot normally. Is this some LILO wierdness where "default" actually means the opposite of what seems normal?
Attached Thumbnails
Click image for larger version

Name:	boot-screen.JPG
Views:	30
Size:	159.1 KB
ID:	18789  
 
Old 06-24-2015, 06:50 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,886
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
For lack of anything better to offer, I'd say stick with these oddities and don't fuss over them because LILO is so old and you're fortunate to just have it working. I do not believe this would be extensible if you were on a 64-bit system, but I don't really know. My thinking is that if you run up against a blocking problem related to your bootloader, then I'd switch to grub2.
 
Old 06-24-2015, 07:41 AM   #3
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Try taking the quotation marks out of the label, the label is interpreted as a string, you only need quotation marks if your making the name more than one word long.
It also seems like a work around for this would be to swap the root partitions regardless of whether their correct or not or conversely, you could switch the labels (or simply rename them "This one" and "That one" ). While I agree with rmistler that lilo is old, it works fine on 64bit systems (it's a boot loader, it just sits there and points).
 
Old 06-24-2015, 04:09 PM   #4
Ranamon
Member
 
Registered: Feb 2013
Location: Land of Hopenchange
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dijetlo View Post
Try taking the quotation marks out of the label, the label is interpreted as a string, you only need quotation marks if your making the name more than one word long.
It also seems like a work around for this would be to swap the root partitions regardless of whether their correct or not or conversely, you could switch the labels (or simply rename them "This one" and "That one" ). While I agree with rmistler that lilo is old, it works fine on 64bit systems (it's a boot loader, it just sits there and points).
I added the quote marks to try to solve this problem, and it changed nothing. The next thing I'll try is to reverse the order in the lilo.conf. If that doesn't work, oh well... This behaviour just seems so odd.

Quote:
Originally Posted by rtmistler View Post
For lack of anything better to offer, I'd say stick with these oddities and don't fuss over them because LILO is so old and you're fortunate to just have it working. I do not believe this would be extensible if you were on a 64-bit system, but I don't really know. My thinking is that if you run up against a blocking problem related to your bootloader, then I'd switch to grub2.
It is a 64 bit system indeed, and I have never had a problem with LILO before this oddity showed up that seems to defy everything I ever thought I knew about LILO. The distro marked "default" isn't shown as the default on the menu even though it is.

Last edited by Ranamon; 06-24-2015 at 04:23 PM.
 
Old 06-25-2015, 06:21 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rtmistler View Post
LILO is so old and you're fortunate to just have it working.
i care to disagree.
lilo is still under development:
https://alioth.debian.org/forum/forum.php?forum_id=2976
and i think that for certain usage scenarios it's a much better solution than grub.

that said, i think i'd rather use syslinux in such scenarios.
 
  


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] Edit lilo.conf, run /sbin/lilo, but lilo won't take changes lukameen Slackware 2 02-10-2012 12:10 PM
trying to update lilo on my usb hdd tells me /etc/lilo.conf wasn't found daweefolk Slackware 8 04-23-2010 01:20 AM
[SOLVED] Before Install: Slackware over Ubuntu (Grub to LILO), Dual w/Vista: LILO question Ubunoob001 Slackware - Installation 3 03-01-2010 03:01 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
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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