LinuxQuestions.org
Help answer threads with 0 replies.
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 05-05-2017, 09:11 PM   #1
BasieBop
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Rep: Reputation: 4
Question Grub2 problem adding slackware


Just tried installing Absolute Linux which is a Slackware based distro. Still using LILO. Not sure why. I have multiple distros installed all using Grub2. When updating Grub it does add Absolute but I get a kernel panic when selecting it from the boot menu. Since I declined installing LILO Iím not sure what to edit in Grub.cfg to get Absolute to work. Any help would be appreciated.
 
Old 05-05-2017, 09:35 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,027

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
First off, a Slackware based distro is not Slackware and may not be able to get proper help in this forum. We may not be familiar with whatever modifications they might make to the core distro. For the best support, it would probably be best to find where Absolute provides support.

As with the lilo, it is likely being used because that is what Slackware uses by default. It is a simple bootloader that works for most people. For those running UEFI, the Slackware installer will prompt to use elilo instead. grub2 is installed and available for people to use if they want, but it isn't able to be set up during the installation.

As to your issue, my guess is that grub is detecting the generic kernel, which requires an initrd. If your derivative has it, you should be able to run /usr/share/mkinitrd/mkinitrd_command_generator.sh to help you determine a proper mkinitrd command for your computer. Once it is generated, hopefully grub will detect it. Or, you'd need to find out how to force grub to use the huge kernel, but I've never used grub and I'm not sure how to force that.

(Personally, this is why I like lilo. While autodetection might be nice when it works, when it breaks, many don't know how to fix it. lilo can take a bit of effort to set up the .conf file properly, but it doesn't take much to figure it out and it is quite capable as a loader.)
 
1 members found this post helpful.
Old 05-06-2017, 12:04 AM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,289

Rep: Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653
Quote:
Originally Posted by BasieBop View Post
Just tried installing Absolute Linux which is a Slackware based distro. Still using LILO. Not sure why. I have multiple distros installed all using Grub2. When updating Grub it does add Absolute but I get a kernel panic when selecting it from the boot menu. Since I declined installing LILO Iím not sure what to edit in Grub.cfg to get Absolute to work. Any help would be appreciated.
Good grief, it's grub. Use the interactive boot option to figure out what's wrong and use that information to fix it.
 
Old 05-06-2017, 01:02 AM   #4
BasieBop
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Original Poster
Rep: Reputation: 4
Since I never really got comfortable with CLI I usually edit grub.cfg by launching Nautilus from a root terminal. Then using gedit or similar I edit the file. Don't have many problems in doing it that way except for Slackware which does not have an initrd file as far as I can see. Don't know too much about elilo and I am running UEFI. Did use lilo back in 2005 when first started my experience with Linux.
Gave up for awhile because of software and package management issues. But since Grub and Grub2 have been around that's where I have all my fun. My knowledge is fragmented. Basically learn as needed.
So, right now my issue is a non existant initrd. Though I do have Zenwalk and not sure if that is a Slack derivative but it does use lilo and I have no problems with Update-grub seeing it and it working fine.
 
Old 05-06-2017, 05:51 PM   #5
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 252

Rep: Reputation: 70
Quote:
Originally Posted by Richard Cranium View Post
Good grief, it's grub. Use the interactive boot option to figure out what's wrong and use that information to fix it.
This is not as simple as it sounds for someone who is not very familiar with GRUB.
 
Old 05-06-2017, 05:55 PM   #6
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 252

Rep: Reputation: 70
Quote:
Originally Posted by BasieBop View Post
Since I never really got comfortable with CLI I usually edit grub.cfg by launching Nautilus from a root terminal. Then using gedit or similar I edit the file. Don't have many problems in doing it that way except for Slackware which does not have an initrd file as far as I can see. Don't know too much about elilo and I am running UEFI. Did use lilo back in 2005 when first started my experience with Linux.
Gave up for awhile because of software and package management issues. But since Grub and Grub2 have been around that's where I have all my fun. My knowledge is fragmented. Basically learn as needed.
So, right now my issue is a non existant initrd. Though I do have Zenwalk and not sure if that is a Slack derivative but it does use lilo and I have no problems with Update-grub seeing it and it working fine.
Care to post the contents of your grub.cfg? Also, what do you get when running "/usr/share/mkinitrd/mkinitrd_command_generator.sh"?
 
  


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
[SOLVED] Adding encrypted luks Slackware 14.1 to Fedora grub2 Zyblin Slackware 1 11-16-2013 06:39 PM
[SOLVED] Adding LFS to grub2 esornep Linux From Scratch 3 07-21-2012 05:30 PM
Grub2 with Ubuntu 10.04 adding additional OS's mtooze Linux - Newbie 6 09-11-2010 02:52 PM
Grub adding modules to grub2 possible? linuxmandrake Linux - Software 1 07-23-2010 01:36 PM
Adding a menu entry to grub2 Jeff91 Linux - General 1 08-28-2009 06:12 PM

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

All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration