LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2007, 10:07 AM   #1
soulexposed
LQ Newbie
 
Registered: Apr 2007
Location: New Brunswick, Canada
Distribution: Linux Mint Bianca, Fedora Core 6
Posts: 6

Rep: Reputation: 0
Question Linux Dual-Booting Troubles (Fedora + Dream Linux)


Hello all,

I've been trying to get a dual boot setup between two Linux distros for the past few days, to no avail. I have one sata drive which I am partitioning multiple times. Right now, it looks like:
1st parition: 15 gigs ext3, Fedora Core
2nd parition: 5 gigs swap (for Fedora Core)
3rd partition: 15 gigs ext3 Dream Linux
4th parition 5 gigs swap (for Dream Linux)

The first OS installed is Fedora Core 6. After that, I tried installing Dream Linux 2.2 several different ways (letting it write GRUB to the MBR, letting it write GRUB to the /root partition, not letting it write GRUB at all) and I can't figure out how to get them both working. From Fedora, my grub.conf file looks like this:
Code:
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.20-1.2944.fc6)
     root (hd0,0)
     kernel /boot/vmlinuz-2.6.20-1.2944.fc6 ro root=LABEL=/1 rhgb quiet
     initrd /boot/initrd-2.6.20-1.2944.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
     root (hd0,0)
     kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/1 rhgb quiet
     initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Dream Linux (2.6.18.1-kanotix-1)
     root (hd0,2)
     kernel /vmlinuz-2.6.18.1-kanotix-1 root/dev/sda3 vga=0x317 vga=791 splash=sile$initrd = /initrd
When I attempt to choose Dream Linux from the Grub menu I get the following error:
Code:
root (hd0,2)
 Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.18.1-kanotix-1 root/dev/sda3 vga=0x317 vga=791 splash=sile$initrd = /initrd

Error 15: File not found
I've looked at these forums and various other places but I just can't figure out what's going on. Any of you have more experience with this?
 
Old 04-20-2007, 02:44 AM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Look at your Dream Linux code:

Code:
title Dream Linux (2.6.18.1-kanotix-1)
     root (hd0,2)
     kernel /vmlinuz-2.6.18.1-kanotix-1 root/dev/sda3 vga=0x317 vga=791 splash=sile$initrd = /initrd
According to your post, root(hd0,2) is correct. The "file not found" error is relating to the next line...You've not broken Dream Linux up into various partitions (i.e. /, /boot, /usr, /home, etc...), so you need to include /boot in your kernel path so GRUB can find the kernel (you're currently looking in the root directory).

Also, you need root=/dev/sda3 and initrd needs to be on its own line...(and I took out the splash parameter...add it back in once you verify that you can boot both systems)

Here's the result:

Code:
title Dream Linux (2.6.18.1-kanotix-1)
     root (hd0,2)
     kernel /boot/vmlinuz-2.6.18.1-kanotix-1 root=/dev/sda3 vga=0x317 vga=791 
     initrd /boot/initrd
This assumes your kernel and initrd are indeed within the /boot subdirectory of your Dream Linux partition...(and are named exactly what's listed there)

Last edited by rocket357; 04-20-2007 at 02:48 AM.
 
Old 04-20-2007, 08:49 AM   #3
soulexposed
LQ Newbie
 
Registered: Apr 2007
Location: New Brunswick, Canada
Distribution: Linux Mint Bianca, Fedora Core 6
Posts: 6

Original Poster
Rep: Reputation: 0
Success! Thank you very much for your help!
 
Old 04-20-2007, 10:15 AM   #4
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Glad I could help...
 
  


Reply

Tags
boot, dream, fedora, linux, multiple


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] Linux booting troubles: What should I do? MBA Whore Linux - Newbie 29 08-27-2006 11:52 AM
LXer: Dual-booting Windows and Linux the easy way (Linux.com videos) LXer Syndicated Linux News 0 07-21-2006 06:21 PM
Dual Booting troubles Soup Erman Linux - Newbie 4 05-19-2006 01:12 AM
LXer: Dual booting Linux and AIX Linux in a clustering environment LXer Syndicated Linux News 0 05-16-2006 07:21 AM


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