LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-29-2006, 05:47 PM   #16
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Original Poster
Rep: Reputation: 15

Here is an update. Maybe LVM is not the reason why FC5 will not boot from Lilo. This is a quote from one of the experts from the Fedora forum.

"To tell you the truth, I have no idea why. You probably can, but it requires a lot of configuration... Fedora's been using GRUB ever since I can remember, so that's probably why it 'just works' in GRUB."

Firewing1

Good luck, jimbo
 
Old 06-29-2006, 06:01 PM   #17
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
I have Fedora Core 6 Test 1 working with LILO. Here's the relevant part of my /etc/lilo.conf file:

Code:
image=/mnt/fedora/boot/vmlinuz-2.6.16-1.2289_FC6
  initrd=/mnt/fedora/boot/initrd-2.6.16-1.2289_FC6.img
  append="root=LABEL=/"
  label="fedora"
  vga=795
  read-only
Note that I install LILO from within Slackware, and my Fedora partition is mounted under /mnt/fedora. If you were installing natively under Fedora, you'd just use:
Code:
image=/boot/vmlinuz-2.6.16-1.2289_FC6
  initrd=/boot/initrd-2.6.16-1.2289_FC6.img
as the first two lines. Of course, you'd need to substitute the filenames of the kernel and initrd you wish to boot.

Also, note that there is no direct "root=xxx" entry. This prevents it from working.

Last edited by rkelsen; 06-29-2006 at 06:08 PM.
 
Old 06-29-2006, 06:46 PM   #18
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rkelsen
I have Fedora Core 6 Test 1 working with LILO. Here's the relevant part of my /etc/lilo.conf file:

Code:
image=/mnt/fedora/boot/vmlinuz-2.6.16-1.2289_FC6
  initrd=/mnt/fedora/boot/initrd-2.6.16-1.2289_FC6.img
  append="root=LABEL=/"
  label="fedora"
  vga=795
  read-only
Note that I install LILO from within Slackware, and my Fedora partition is mounted under /mnt/fedora. If you were installing natively under Fedora, you'd just use:
Code:
image=/boot/vmlinuz-2.6.16-1.2289_FC6
  initrd=/boot/initrd-2.6.16-1.2289_FC6.img
as the first two lines. Of course, you'd need to substitute the filenames of the kernel and initrd you wish to boot.

Also, note that there is no direct "root=xxx" entry. This prevents it from working.

rkelsen; You are my hero! This is exactly what I need. I will give it a try ASAP. My mistake was with the "root=xxx" which every other Linux distro I have tried requires, and the append="root=LABEL=/" line. How in the world did you come up with this solution?

Thanks much, jimbo
 
Old 06-29-2006, 07:05 PM   #19
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by jimbo-62
How in the world did you come up with this solution?
Well, I had the same problem. I almost gave up and installed GRUB, but something kept nagging me. If GRUB can do it, LILO should be able to as well. So, I tried a few different things. This is what worked.

Code:
Rob's first rule of LILO:

If it doesn't work, you need to add an "append=" entry.
 
Old 06-29-2006, 07:34 PM   #20
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rkelsen
Well, I had the same problem. I almost gave up and installed GRUB, but something kept nagging me. If GRUB can do it, LILO should be able to as well. So, I tried a few different things. This is what worked.

Code:
Rob's first rule of LILO:

If it doesn't work, you need to add an "append=" entry.
Well, it WORKS! The only change I had to make from your example was the append line. Mine had to be:

append="root=/dev/hda12"

I will remember "Rob's first rule of LILO".

If you don't mind, I am going to post this solution on the Fedora forum site. Of course I will give credit to you. Those folks over there have been forced to use Grub for so long they don't know another option exists.

Thanks, jimbo
 
Old 06-29-2006, 07:58 PM   #21
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by rkelsen
Also, note that there is no direct "root=xxx" entry. This prevents it from working.
interesting! i believe i had that line, as i was installing lilo from within arch and just copied one of the existing entries, changing the image name, location, etc. that must be why it didn't work, because i've done the same thing with other OSes (e.g., tried it with ubuntu once), mounting the /dev/hdx like you described, and it always worked fine. i would never think to leave out the root= line, how in the world did you find that out?
 
Old 06-29-2006, 10:22 PM   #22
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by jimbo-62
If you don't mind, I am going to post this solution on the Fedora forum site.
Go for it.
 
Old 06-30-2006, 08:45 AM   #23
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slackhack
interesting! i believe i had that line, as i was installing lilo from within arch and just copied one of the existing entries, changing the image name, location, etc. that must be why it didn't work, because i've done the same thing with other OSes (e.g., tried it with ubuntu once), mounting the /dev/hdx like you described, and it always worked fine. i would never think to leave out the root= line, how in the world did you find that out?
I have installed over a dozen Linux distros in a multi boot system using LILO as the loader. Fedora is the only one that required this unusual configuration of lilo.conf. Many thanks to Rob and always remember Rob's first rule of LILO: "If it doesn't work, you need to add an 'append=' entry."

Good luck, jimbo
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
LILO Boot Image for Fedora Core 3 besttech01 Fedora 2 03-31-2005 04:21 PM
Need a Fedora Core 3 lilo entry... rrfish72 Linux - General 4 12-10-2004 04:46 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
lilo on fedora core 1? zepplin611 Fedora 11 02-11-2004 07:24 PM

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

All times are GMT -5. The time now is 04:55 PM.

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