LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 07-06-2007, 07:32 PM   #1
yusuo
LQ Newbie
 
Registered: May 2007
Posts: 13

Rep: Reputation: 0
Dual Boot Fedora 7 + Ubuntu Feisty


I've been using Ubuntu for bout 3 months now and wanted to try something different so I choose Fedora 7, Still havnt got the hang of rpm based gets a bit confusing going from Deb based but then again i'm a noob so never mind.
Anyway when i installed Ubuntu it deleted the grub booter and now I only have Fedora to choose from. I tried to edit it to add ubuntu and it did but everytime it tries to boot in it crashes on the boot up bar right at the beginning. I was wondering if anyone could help, heres a copy of both the /boot/grub/menu.lst i changed

Fedora:
-----------------------------------------------------------------
Code:
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-16-generic root=LABEL=/
initrd /boot/initrd.img-1.6.20-16-generic
quiet
"menu.lst" 47L, 1563C 22,34 Top
-----------------------------------------------------------------
Ubuntu:
-----------------------------------------------------------------
Code:
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet


title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

### END DEBIAN AUTOMAGIC KERNELS LIST
-----------------------------------------------------------------
There is a mistake somewhere in here that wont let it load. But I really dont know.

Heres my partition list
-----------------------------------------------------------------
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9032 72549508+ 83 Linux
/dev/sda2 9543 9729 1502077+ 5 Extended
/dev/sda3 9033 9542 4096575 83 Linux
/dev/sda5 9543 9729 1502046 82 Linux swap / Solaris
-----------------------------------------------------------------

sda1 is the original ubuntu install
sda3 is my fedora one.

Please help me I dont wanna reinstall ubuntu just to get it back again

Last edited by XavierP; 07-07-2007 at 07:47 AM.
 
Old 07-06-2007, 07:33 PM   #2
yusuo
LQ Newbie
 
Registered: May 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Dual Boot Fedora 7 + Ubuntu Feisty

I've been using Ubuntu for bout 3 months now and wanted to try something different so I choose Fedora 7, Still havnt got the hang of rpm based gets a bit confusing going from Deb based but then again i'm a noob so never mind.
Anyway when i installed Ubuntu it deleted the grub booter and now I only have Fedora to choose from. I tried to edit it to add ubuntu and it did but everytime it tries to boot in it crashes on the boot up bar right at the beginning. I was wondering if anyone could help, heres a copy of both the /boot/grub/menu.lst i changed

Fedora:
-----------------------------------------------------------------
Code:
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-16-generic root=LABEL=/
initrd /boot/initrd.img-1.6.20-16-generic
quiet
"menu.lst" 47L, 1563C 22,34 Topp
-----------------------------------------------------------------
Ubuntu:
-----------------------------------------------------------------
Code:
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet


title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

### END DEBIAN AUTOMAGIC KERNELS LIST
-----------------------------------------------------------------
There is a mistake somewhere in here that wont let it load. But I really dont know.

Heres my partition list
-----------------------------------------------------------------
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9032 72549508+ 83 Linux
/dev/sda2 9543 9729 1502077+ 5 Extended
/dev/sda3 9033 9542 4096575 83 Linux
/dev/sda5 9543 9729 1502046 82 Linux swap / Solaris
-----------------------------------------------------------------

sda1 is the original ubuntu install
sda3 is my fedora one.

Please help me I dont wanna reinstall ubuntu just to get it back again

Last edited by XavierP; 07-07-2007 at 07:48 AM.
 
Old 07-06-2007, 07:35 PM   #3
yusuo
LQ Newbie
 
Registered: May 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I Need Help Dual Booting Fedora 7 + Ubuntu Feisty

I've been using Ubuntu for bout 3 months now and wanted to try something different so I choose Fedora 7, Still havnt got the hang of rpm based gets a bit confusing going from Deb based but then again i'm a noob so never mind.
Anyway when i installed Ubuntu it deleted the grub booter and now I only have Fedora to choose from. I tried to edit it to add ubuntu and it did but everytime it tries to boot in it crashes on the boot up bar right at the beginning. I was wondering if anyone could help, heres a copy of both the /boot/grub/menu.lst i changed

Fedora:
-----------------------------------------------------------------
Code:
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-16-generic root=LABEL=/
initrd /boot/initrd.img-1.6.20-16-generic
quiet
"menu.lst" 47L, 1563C 22,34 Top
-----------------------------------------------------------------
Ubuntu:
-----------------------------------------------------------------
Code:
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a3a4bf10-4283-406a-8929-b209abe026b1 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet


title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

### END DEBIAN AUTOMAGIC KERNELS LIST
-----------------------------------------------------------------
There is a mistake somewhere in here that wont let it load. But I really dont know.

Heres my partition list
-----------------------------------------------------------------
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9032 72549508+ 83 Linux
/dev/sda2 9543 9729 1502077+ 5 Extended
/dev/sda3 9033 9542 4096575 83 Linux
/dev/sda5 9543 9729 1502046 82 Linux swap / Solaris
-----------------------------------------------------------------

sda1 is the original ubuntu install
sda3 is my fedora one.

Please help me I dont wanna reinstall ubuntu just to get it back again

Last edited by XavierP; 07-07-2007 at 07:49 AM.
 
Old 07-06-2007, 10:52 PM   #4
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Rep: Reputation: 15
Post an output of "ls -l /dev/disk/by-uuid"
 
Old 07-07-2007, 01:20 AM   #5
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Quote:
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-16-generic root=LABEL=/
initrd /boot/initrd.img-1.6.20-16-generic
quiet
"menu.lst" 47L, 1563C 22,34 Top
-----------------------------------------------------------------
Ubuntu:
-----------------------------------------------------------------
This doesn't look right if Ubuntu is really and hda1/sda1. Make a backup of the file first (as root):

cp /boot/grub/menu.lst /boot/grub/menu.list.bu

Then remove the quoted parts from the original and try again.
 
Old 07-07-2007, 03:50 AM   #6
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Rep: Reputation: 41
I think I found two things that might be wrong:

Quote:
Originally Posted by yusuo
Fedora:
-----------------------------------------------------------------
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-16-generic root=LABEL=/
initrd /boot/initrd.img-1.6.20-16-generic
quiet
"menu.lst" 47L, 1563C 22,34 Top
About "root (hd0,1)", it says on your other menu.lst file that Ubuntu is on root (hd0,0). So it could be that your grub is searchin for Ubuntu on the wrong partition.
About the initrd thing: It has to be 2.6.20, not 1.6.20. Or is it only a typo here?
I guess that should fix it. Grub is very reliable if set up correctly.

-A

Last edited by Ahmed; 07-07-2007 at 03:53 AM.
 
Old 07-07-2007, 04:41 AM   #7
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
In the Fedora version you have ubuntu as (hd0,1) but in ubuntu you have (hd0,0)
Surely they should both be the same??? I'd try changing the ,1 to ,0 and see what happens.
 
Old 07-07-2007, 07:46 AM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
yusuo - you have made me work. All 3 of your identical threads have been merged to this thread. This thread has been moved to Linux-Distributions. I have added code tags to your code because scrolling so much was giving me muscles on one finger.

In future, post once only, no matter how many different subjects you think it covers.
 
  


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
Dual boot WinXP, FC6, but need to replace FC6 with Feisty Miykayl Linux - Software 13 06-06-2007 12:58 PM
Very long boot time with new ubuntu feisty a550ee Linux - Hardware 1 05-02-2007 11:40 AM
Dual boot Ubuntu and fedora core 6 bzeecongas Linux - Newbie 13 01-07-2007 01:01 AM
Dual Boot Ubuntu, Suse, Mandriva & Fedora rickbman Linux - Newbie 3 11-26-2005 05:05 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM


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