PDA

View Full Version : Configuring configuration file to recognize ubuntu installation


sable
23rd August 2008, 11:48 PM
:cool: I had installed Ubuntu 7.04 on my second hard drive. I now have installed Fedora 7 on my first hard drive as my current installation. Ubuntu worked until my installation of Fedora. Fedora now works, but does not recognize the ubuntu installation on my second drive. Can I now configure the fedora configuration file so that grub will recognize the existing ubuntu installation? Would it be sufficient to just fill out the title, root, kernel and initrd fields? Thanks.

marcrblevins
23rd August 2008, 11:52 PM
Can you start your terminal and provide:

su -
fdisk -l
cat /boot/grub/grub.conf
cat /etc/grub.conf

sable
24th August 2008, 04:01 AM
root@localhost ~]# fdisk -l

Disk /dev/sda: 15.3 GB, 15367790592 bytes
255 heads, 63 sectors/track, 1868 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1740 13976518+ 83 Linux
/dev/sda2 1741 1867 1020127+ 82 Linux swap / Solaris

Disk /dev/sdb: 60.0 GB, 60040544256 bytes
255 heads, 63 sectors/track, 7299 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System;
/dev/sdb1 * 1 7123 57215466 83 Linux
/dev/sdb2 7124 7299 1413720 5 Extended
/dev/sdb5 7124 7299 1413688+ 82 Linux swap / Solaris

Disk /dev/sdc: 256 MB, 256900608 bytes
16 heads, 32 sectors/track, 979 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
;
Device Boot Start End Blocks Id System
/dev/sdc1 1 979 250574+ b W95 FAT32
[root@localhost ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,0)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

[root@localhost ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that;
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,0)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img

It seems that both my hard drives are recognized in fdisk, but ubuntu is not present in either of the configuration files. so the title, root, kernel, and initrd for ubantu has to be added to each of these files. Can I obtain this exact information from the grub configuration file present in my ubantu hdb drive

marcrblevins
24th August 2008, 04:19 AM
I hope you are reading this thread, Ubuntu...
http://forums.fedoraforum.org/showthread.php?t=197569

sable
24th August 2008, 09:47 PM
I have read lots of stuff on dual boot XP and linux, but nothing on dual booting Fedora and Ubuntu. I want to know whether adding ubuntu to the two Fedora grub.conf files will be necessary and sufficient to make my system dual bootable. Fedora is on my main hda drive.

Ryazan' Travel Photos - Kota Instagram Photos - Maiduguri -