LinuxQuestions.org
Review your favorite Linux distribution.
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 10-03-2012, 02:30 PM   #1
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
Setting up GRUB2 to replace Lilo for Slack 14.0


Hi, I would first like to congrats Patrick and team with the new Slack 14 which I recently downloaded and am currently seeding.

I currently run a bunch of different distros on my machine. I would like Slackware to be one of them without sacrificing 1 for the other. I currently have an excellent setup with Fedora 17's Grub2 in which all my OS's bootup including windows perfectly with no problems at all... that is except Slackware due to Lilo incompatibilities.

So I would like to be able to boot Slackware as well but using Grub2 instead of Lilo. How can this be accomplished?
 
Old 10-03-2012, 02:35 PM   #2
elvis4526
Member
 
Registered: Aug 2011
Posts: 114

Rep: Reputation: Disabled
At the installation of Slackware, just skip the part when it speak about lilo or any boot loader. After, in your fedora install, update grub2 configuration with the appropriated tools and it should see the Slackware install and add an entire for it in the grub menu.
 
Old 10-03-2012, 03:04 PM   #3
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by elvis4526 View Post
At the installation of Slackware, just skip the part when it speak about lilo or any boot loader. After, in your fedora install, update grub2 configuration with the appropriated tools and it should see the Slackware install and add an entire for it in the grub menu.
I have an entry setup but it cant boot from there...
 
Old 10-03-2012, 03:07 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Why don't you install lilo to the Slackware root partition and then let Grub do a chainload of lilo ?
Or tell Grub2 to load the Slackware kernel plus initrd if you did not install lilo. That should work too, I use this setup on my work laptop.

Eric
 
1 members found this post helpful.
Old 10-03-2012, 03:21 PM   #5
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by Alien Bob View Post
Why don't you install lilo to the Slackware root partition and then let Grub do a chainload of lilo ?
Or tell Grub2 to load the Slackware kernel plus initrd if you did not install lilo. That should work too, I use this setup on my work laptop.

Eric
Yes, that is where I flunked. I should have installed it to root partition I forgot it was on the previous MBR that was replaced by grub. That was a dumb mistake I did. Thanks, also thanks for the 2nd way of doing it as well. Cheers!
 
Old 10-03-2012, 09:01 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Try this if all else fails.

Skip the LILO install and use the Slackware disk to rescue style boot.

Login as normal.

Download the latest Grub2 and it's dependencies from slackbuilds.org, install, and do this:

Code:
mkdir /boot/grub
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
I did this using the default huge kernel and everything works.

Grub2 is a bit more of a pain to customize, but after you learn the ins and outs of creating the configuration files using a terminal, it's easy.

Last edited by ReaperX7; 10-03-2012 at 09:05 PM.
 
  


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
Having trouble booting Zenwalk, both from GRUB2 and LILO. jrvinton Zenwalk 3 03-26-2012 04:30 PM
grub, grub2, lilo? BING, GAG, gujin syslinux ... ? catkin Linux - Software 30 12-14-2011 12:50 PM
Lilo vs grub1 vs grub2 honeybadger Linux - General 8 12-03-2010 11:42 AM
[SOLVED] Grub/ Grub2/ Lilo - canīt install any of them properly! spoovy Slackware 26 11-19-2010 06:35 AM
[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

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

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