LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Dual Boot Fedora 7 + Ubuntu Feisty (https://www.linuxquestions.org/questions/linux-distributions-5/dual-boot-fedora-7-ubuntu-feisty-567256/)

yusuo 07-06-2007 06:32 PM

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

yusuo 07-06-2007 06:33 PM

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

yusuo 07-06-2007 06:35 PM

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

AriciU 07-06-2007 09:52 PM

Post an output of "ls -l /dev/disk/by-uuid"

jay73 07-07-2007 12:20 AM

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.

Ahmed 07-07-2007 02:50 AM

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

decrepit 07-07-2007 03:41 AM

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.

XavierP 07-07-2007 06:46 AM

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.


All times are GMT -5. The time now is 06:25 PM.