View Full Version : HELP!! Installed ubuntu, can't boot fedora
townesgs
2007-08-20, 08:50 PM CDT
Wife generated problem.
Accidentally (how, I do not know) installed ubuntu onto sdb. I can no longer boot to fedora 7 on sda. These are my only two partitions and I have only ubuntu options in the grub boot loader menu.
Please help. I have searched, but I am not able to understand the posts I found :confused:
glennzo
2007-08-21, 04:31 AM CDT
Ubuntu probably installed it's own GRUB? You need to edit /boot/grub/menu.lst to add a Fedora boot option. This is simple but there's several steps you need to take. Boot into Ubuntu. Open Fedora's /boot/grub/menu.lst and copy the first section. You need the first 4 lines, looking like this:
title Fedora (2.6.22.1-41.fc7)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22.1-41.fc7 ro root=LABEL=/1 vga=788
initrd /boot/initrd-2.6.22.1-41.fc7.img
Open Ubuntu's /boot/grub/menu.lst and paste that text into the file. Save and exit. Reboot into Fedora.
If you don't know how to do this then start by posting the output of the command sudo /sbin/fdisk -l and we can go from there.
townesgs
2007-08-21, 09:36 AM CDT
I'll give it a shot.
I'm having trouble mounting my fedora partition in unbuntu.
mount -t ??? /dev/sda1 /media/fedora
It keeps asking for partition/format type. I have no clue
glennzo
2007-08-21, 10:08 AM CDT
I'll give it a shot.
I'm having trouble mounting my fedora partition in unbuntu.
mount -t ??? /dev/sda1 /media/fedora
It keeps asking for partition/format type. I have no clue
mount -t ext3 /dev/sda1 /media/fedora
townesgs
2007-08-21, 09:12 PM CDT
ubuntu crapped itself. I loaded fedora 7 onto sdb. The grub still boots to sdb and does not recognize the LVM on sda. I would like to boot sda.
Here are my results from fdisk -l
Disk /dev/sda: 120.0 GB, 120000000000 bytes
255 heads, 63 sectors/track, 14589 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 14589 117081720 8e Linux LVM
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 14593 117113850 8e Linux LVM
Disk /dev/dm-2: 118.7 GB, 118782689280 bytes
255 heads, 63 sectors/track, 14441 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
brr872002
2007-08-22, 07:17 AM CDT
Boot in rescue mode FC7
chroot /mnt/sysimage
grub --install /dev/sda
Ad your unbuntu kernel option in /boot/grub/grub.conf
townesgs
2007-08-22, 10:05 AM CDT
That worked. =) Hoooray.
Wil the my retarded feeling go away as I become more familiar with the linux world?
Thanks everyone!
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.