LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wanna dualboot fedora core 9 and rhel5 server (https://www.linuxquestions.org/questions/linux-newbie-8/wanna-dualboot-fedora-core-9-and-rhel5-server-652113/)

divyashree 06-27-2008 12:26 PM

wanna dualboot fedora core 9 and rhel5 server
 
hello help me to dual boot fedora core 9 and rhel5 server,help me step by step plz,I installed rhel5 1st giving /,/boot,swap ,then fedora with /,swap but no boot and give default boot to rhel5 .now fedora is opening but not rhel5,help me plz

yancek 06-27-2008 12:57 PM

Do you mean that you have a root, separate boot partition and a swap for Redhat and a root and swap for Fedora? First it is unlikely that you need two swap partitions. Second, if Fedora is booting, you installed it to the mbr and will need an entry in its menu.lst file for RedHat. In Fedora, run the command "fdisk -l" (lower case Letter L, w/o quotes) and /boot/grub/menu.lst (or /boot/grub/grub.conf - whichever Fedora uses now) and post them here. Need to be run as root user.

divyashree 06-27-2008 01:00 PM

Quote:

Originally Posted by yancek (Post 3197119)
Do you mean that you have a root, separate boot partition and a swap for Redhat and a root and swap for Fedora? First it is unlikely that you need two swap partitions. Second, if Fedora is booting, you installed it to the mbr and will need an entry in its menu.lst file for RedHat. In Fedora, run the command "fdisk -l" (lower case Letter L, w/o quotes) and /boot/grub/menu.lst (or /boot/grub/grub.conf - whichever Fedora uses now) and post them here. Need to be run as root user.

sorrry i post in report,now like this

Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00084c02

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38 305203+ 83 Linux
/dev/sda2 39 4500 35841015 83 Linux
/dev/sda3 4501 4946 3582495 82 Linux swap / Solaris
/dev/sda4 4947 9729 38419447+ 5 Extended
/dev/sda5 4947 8133 25599546 83 Linux
/dev/sda6 8134 8579 3582463+ 82 Linux swap / Solaris

and from grub menu

# 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,4)
# kernel /boot/vmlinuz-version ro root=/dev/sda5
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$ThAKImLv$W91.7BnWG90aA6tQuhqMz/
title Fedora core 9 (2.6.25-14.fc9.i686)
root (hd0,4)
kernel /boot/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=af34af2d-ab5f-45e6-b5bc-379fec12becd rhgb quiet
initrd /boot/initrd-2.6.25-14.fc9.i686.img
title RHEL5
rootnoverify (hd0,1)
chainloader +1
~
"/boot/grub/grub.conf" 21L, 753C


All times are GMT -5. The time now is 09:42 AM.