Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-03-2012, 02:30 PM
|
#1
|
|
Member
Registered: Jul 2012
Location: Rockville, MD
Distribution: Slackware & Fedora
Posts: 478
Rep: 
|
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?
|
|
|
|
10-03-2012, 02:35 PM
|
#2
|
|
Member
Registered: Aug 2011
Posts: 69
Rep: 
|
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.
|
|
|
|
10-03-2012, 03:04 PM
|
#3
|
|
Member
Registered: Jul 2012
Location: Rockville, MD
Distribution: Slackware & Fedora
Posts: 478
Original Poster
Rep: 
|
Quote:
Originally Posted by elvis4526
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...
|
|
|
|
10-03-2012, 03:07 PM
|
#4
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,679
Rep: 
|
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.
|
10-03-2012, 03:21 PM
|
#5
|
|
Member
Registered: Jul 2012
Location: Rockville, MD
Distribution: Slackware & Fedora
Posts: 478
Original Poster
Rep: 
|
Quote:
Originally Posted by Alien Bob
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!
|
|
|
|
10-03-2012, 09:01 PM
|
#6
|
|
Senior Member
Registered: Jul 2011
Distribution: Slackware64-14.0, LFS-7.3, FreeBSD 9.1
Posts: 1,102
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:26 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|