LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-02-2015, 09:40 PM   #1
haziz
Member
 
Registered: Jan 2012
Location: /dev/null
Distribution: Slackware, Fedora, Debian, Arch, Ubuntu
Posts: 101

Rep: Reputation: 4
Setting up LILO with Grub2 as a Secondary BootLoader?


I installed Slackware Current on a new machine in /dev/sda1, then proceeded to install Debian Jessie in /dev/sda2. I instructed Debian to install Grub2 in /dev/sda2. LILO was installed on the MBR of /dev/sda. I wish to use LILO as my main bootloader, but to let it load Grub2 as a secondary loader when I choose to boot Debian. I find LILO much easier to use and edit than Grub.

Please provide detailed instructions if feasible.

Thanks.

Sincerely,

Hany.
 
Old 04-02-2015, 10:21 PM   #2
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
If I'm correct (from the top of my head) you only need to add Debian like:

other=/dev/sda2
label=Debian

Then run lilo -v

It's been a while since I used this so I may be wrong!
 
1 members found this post helpful.
Old 04-03-2015, 05:56 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Yes, JackHair's right.
Code:
other = /dev/sda2
 label = Debian
Done it myself that way, many times with many distros.
 
1 members found this post helpful.
Old 04-08-2015, 07:10 AM   #4
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by brianL View Post
Done it myself that way, many times with many distros.
Me too, I use this technique on all my PCs. It's called "chainloading".

I had been doing this with either LILO or GRUB 0.97 as my master boot loader until recently, but neither LILO, nor what is called GRUB Legacy these days, support the GPT partitioning scheme, so I had to switch to GRUB2 lately when I installed a 4-TB disk in one of my PCs.
 
  


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
[SOLVED] OpenSuSe12.3 - Help Fix Grub2 Syntax Errors (was - Replace Grub2 w/ Lilo) enorbet SUSE / openSUSE 9 12-08-2013 04:09 AM
grub2 can't see my win 7 partition and yast2 bootloader can't reinstall grub2 jjrojaspy SUSE / openSUSE 5 07-07-2013 10:38 PM
[SOLVED] Setting up GRUB2 to replace Lilo for Slack 14.0 Mercury305 Slackware 5 10-03-2012 09:01 PM
Need help getting grub2 to boot to secondary OS vbsaltydog Linux - General 17 04-09-2012 09:22 PM
[SOLVED] How to start Grub2-bootloader from extlinux-bootloader? floppy_stuttgart Linux - Newbie 13 11-13-2011 06:43 PM

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

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