LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-16-2013, 01:30 AM   #1
Registered: Oct 2013
Distribution: Fedora 20 Jam-KDE Spin (32bit-PAE) and Debian/KDE Testing (64bit)
Posts: 131

Rep: Reputation: 13
Adding encrypted luks Slackware 14.1 to Fedora grub2

I have been trying everything and I am missing something here. I am trying to add Slackware's lilo entry to Fedora grub2. I created a custom file, 31_custom, in grub.d and made it executable in the terminal (chmod a+x). I followed what reply #14 did at this thread, I than ran
su -c 'grub2-mkconfig -o /boot/grub2/grub.cfg'
This added the entry just fine in the grub boot menu but it won't boot. It says I need to load the kernel first.

I have five hard drives. One IDE and four SATA. The bios reads them as,

1 SATA (Windows/Fedora)
2 SATA (Slackware)

Here is my lilo menu entry,

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-3.10.17
initrd = /boot/initrd.gz
root = /dev/cryptvg/root
label = Slackware
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
I think since I have slackware encrypted with luks+lvm that this may be the problem. Or I am just missing something. Or both.

Anyone know what the grub2 entry should look like?

Last edited by Zyblin; 11-16-2013 at 06:00 AM.
Old 11-16-2013, 06:39 PM   #2
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 199

Rep: Reputation: 56

I don't know the proper fix for that but I just wanted to give you a suggestion :

Boot into your Slackware install and install Lilo on your /boot partition NOT on your MBR.

Then when still in Slackware, open your grub.cfg file and create an manual entry that will make Grub2 (installed on the MBR) do a chainload to the partition where you just installed Lilo.

That way, you will let Lilo handle the boot process of your Slackware setup and use Grub2 for Fedora only.

Also, it will reduce the possibility of breakages

The addition of Grub2 to the main repository of Slackware is quite recent (mostly because of the UEFI-based machines).

That's one of the reason that Grub2 is not that well documented for Slackware.

Hope this helps
1 members found this post helpful.


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
Slackware 14.1: LUKS encrypted volumes + mkinitrd => missing dmsetup and can't unlock furryspider Slackware 4 11-16-2013 09:58 AM
[SOLVED] Kernel update on LUKS and LVM encrypted Slackware, mount fails KMBS Slackware 15 02-08-2010 01:23 PM
Slackware 12.2 + RAID-1 + LVM + LUKS encrypted root gargamel Slackware 35 12-17-2009 11:25 AM
Loaded Fedora 9 (twice) in encrypted hard drive, now I can't get past LUKS? GaveUpOnTV Linux - Newbie 3 05-04-2009 02:48 PM
Recover encrypted LUKS partition itinlopez Linux - General 3 11-30-2008 02:20 AM

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration