LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2014, 11:00 AM   #1
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Rep: Reputation: 32
Dual boot slackware fedora 20 dont want to use grub


Hello everyone. I have a bit of a problem, and being the slacker that I am , I would like to resolve this problem with the least amount of effort!

So I have installed fedora over my Windows 8 install on one of my hard disks because Windows 8 decided to take a shit on me one day, big surprise! I've been using Slackware everyday for the last year or so and I almost forgot what a crash was, but good old Windows reminded me.

Anyways, I installed grub to the MBR it boots fedora 20 just fine if I select the drive from the bios selection screen. I tried adding it to lilo by simply modifying the Windows entry I had there to reflect the new Fedora install and it failed to work, or lilo would not run. So then I created an fstab entry for the fedora install and mounted the partition and pointed lilo to the kernel image and initrd file and it starts to boot then gives nasty error and halts the system.

I have also now just copied the fedora kernel and initrd into my slackware boot folder but I get exactly the same results. I read that everyone else just uses grub to boot the system becuase grub auto detects slackware and will boot it just fine, but I love my slackware lilo and I don't want to change it. So how can I make this work ? Here's my lilo.conf:


#Slackware
image = /boot/vmlinuz-huge-3.10.17
#initrd = /boot/initrd.gz # add this line so that lilo sees initrd.gz
root = /dev/sda2
label = Slackware
read-only
#Fedora
image = /boot/vmlinuz-3.15.7-200.fc20.x86_64
initrd = /boot/initrd-3.15.7-200.fc20.x86_64.img # add this line so that lilo sees initrd.gz
root = /dev/sdc1
label = Fedora
read-only

Do I have to reinstall grub on fedora to a different location to get this to work? Or is there another way?
 
Old 08-06-2014, 11:08 AM   #2
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Original Poster
Rep: Reputation: 32
Whoops I was just looking at what I posted and decided to take one more shot and now it works! I noticed how I omitted the ramdrive for slackware and did the same with fedora and rebooted. Im in Fedora now writing this post, DOH! Marking solved. Here is the modified lilo.conf


#Slackware
image = /boot/vmlinuz-huge-3.10.17
#initrd = /boot/initrd.gz # add this line so that lilo sees initrd.gz
root = /dev/sda2
label = Slackware
read-only
#Fedora
image = /boot/vmlinuz-3.15.7-200.fc20.x86_64
#initrd = /boot/initrd-3.15.7-200.fc20.x86_64.img # add this line so that lilo sees initrd.gz
root = /dev/sdc1
label = Fedora
read-only
 
Old 08-06-2014, 11:09 AM   #3
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Original Poster
Rep: Reputation: 32
Can anyone tell me why my initrd's are not working and messing up my boot for both installs?
 
Old 08-06-2014, 11:26 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yes for the Slackware entry it's easy as the vmlinuz-huge does not need any initrd
 
1 members found this post helpful.
Old 08-06-2014, 11:58 AM   #5
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Original Poster
Rep: Reputation: 32
so should I switch to generic? and what are the benefits?
 
  


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
Fedora/Kali Dual boot, Boot(grub) failed after Updating Fedora... saeedit Linux - General 10 05-10-2014 09:36 AM
Installed Fedora as dual boot but Grub boot menu is not showing up nilocjin Linux - Newbie 4 06-03-2009 02:09 PM
Dual-boot XP and Fedora using GRUB? Peter6000 Linux - Newbie 11 12-28-2006 07:32 AM
Just installed dual-boot, dont get GRUB jmorris8 Linux - Newbie 4 09-27-2005 04:50 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM

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

All times are GMT -5. The time now is 02:20 PM.

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