LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 07-05-2005, 01:59 AM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Rep: Reputation: 63
How can I chain boot GRUB (Fedora) from LILO (Slackware)?


Hello.

I just recently installed Fedora Core 4 on /dev/hdc1. My pre-existing Slackware 10.1 installation is on /dev/hda1. What I want to do is keep LILO and use it to boot GRUB, and from there Fedora Core. Any ideas?

Thanks in advance.

--Dane
 
Old 07-05-2005, 02:04 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
You cannot install both on the MBR. If you install GRUB, then it must be in its own /boot partition.

But it's not really necessary. You can boot all OSes with a single boot loader.

Check the LILO manual for help on how to add more boot items.

Chain booting is a really unnecessary process, unless you need it for some special reason.
 
Old 07-05-2005, 02:19 AM   #3
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
Thanks for your reply!

I've tried setting LILO up to boot directly to the Fedora kernel, but since the fedora kernel is on a different partition, it tells me this when I try to write to the MBR (# lilo).

</home/dane/tmp/lzo-2.01>
[root@Orchestrator lzo-2.01]# lilo
Added Linux-2.4.29
Added Linux2.6.11.8 *
Fatal: open /boot/vmlinuz-2.6.11-1.1369_FC4: No such file or directory

How can I make it look for the kernel path on hdc instead of hda?

Here is my Fedora section of lilo.conf:

Code:
image = /boot/vmlinuz-2.6.11-1.1369_FC4
root = /dev/hdc1
label = Fedora
read-only
--Dane
 
Old 07-05-2005, 12:54 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
why not use grub to boot both? you can get a slack package of grub from the /extra directory, and it comes with a tool called grubconfig to easily set up your bootable partitions and write the bootloader.
 
Old 07-05-2005, 04:54 PM   #5
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
Thanks for the tip, J.

I installed grub and now it's working fine. I would still like to know how to do this with a stock install of lilo, though.

--Dane
 
Old 07-05-2005, 09:29 PM   #6
ferrix
Member
 
Registered: Jun 2003
Location: Sydney, Australia
Distribution: Ultima, Blag, KateOS, PCLinuxOS, Frugalware
Posts: 216

Rep: Reputation: 31
I had a setup like this on one of my computers at one time. From memory, it was perfectly simple - just make sure Grub was installed in a root partition and not in MBR, since you want lilo to be there. Then in lilo.conf, use the same chainload command you'd use to double boot Windows... Googling for 'lilo chainload' will give you plenty of examples. I don't recall having to do anything special beyond that.
 
Old 07-06-2005, 04:25 AM   #7
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
I'll keep that in mind next time I run into the problem (or when/if I get tired of GRUB). Thanks a bunch; you all are great!

--Dane
 
  


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
How to remove lilo and install grub in slackware Joey.Dale Slackware 5 09-04-2009 05:30 PM
grub(SuSE)/Lilo(Slackware) chain loader problems The Chain Linux - Newbie 32 10-12-2006 05:24 PM
how to chain load grub on a floppy? zero79 Linux - General 11 08-15-2004 04:51 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
Chain loading grub from lilo - help! thebeardedladie Linux - General 2 03-09-2003 03:07 PM


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