4
Problem:
I have two partitions. On one I have installed Fedora 9 and on my other partition I just installed Fedora 12. Now that I've installed Fedora 12 I can't get Grub to boot the old partition. How can I configure Grub to boot to my old fedora partition?
Some Notes:
- My Fedora 9 seems to show up as Linux LVM instead of just Linux in fdisk. I had virtual box installed on that Linux, but it isn't a virtual machine itself.
- I'm pretty sure Fedora 12 installs grub instead of grub2
- I can see and mount both partitions from the Fedora 12 live CD if that helps
- My box is 64 bit.
Info:
This is what I get from fdisk -l
:
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005745c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64685 519578624 83 Linux
/dev/sda2 65706 65730 200812+ 83 Linux
/dev/sda3 65731 91201 204595807+ 8e Linux LVM
/dev/sda4 64686 65705 8193150 5 Extended
/dev/sda5 64686 65705 8192000 82 Linux swap / Solaris
And this is what is currently in my menu.lst
:
# 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-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.12-174.2.3.fc12.x86_64)
root (hd0,0)
kernel /boot/vmlinuz-2.6.31.12-174.2.3.fc12.x86_64 ro root=UUID=876dd1b5-104a-46de-b5fb-08f96d2ce420 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet mem=8192M
initrd /boot/initramfs-2.6.31.12-174.2.3.fc12.x86_64.img
title Fedora 9
rootnoverify (hd0,3)
chainloader +1
The first fedora in that list is Fedora 12 which boots correctly, the second was just a guess as to where my Fedora 9 install was. When I select that in Grub on boot it goes to a blank screen with a blinking cursor that doesn't respond to the keyboard.
Update:
I was able to mount my old FC9 system and in the /boot section I found this under menu.lst if that helps:
title Fedora (2.6.27.25-78.2.56.fc9.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.27.25-78.2.56.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.25-78.2.56.fc9.x86_64.img
Question:
What do I need to do to boot into my old Fedora?
yes! looks like your FC9 was using /dev/sda2 as it's non-LVM /boot partition. good job, both with crafting this question and working with us to find your solution. – quack quixote – 2010-02-10T15:38:29.727
you probably want to change pertition to
partition
– phunehehe – 2010-02-10T16:29:16.550@phunehehe: fixed! – quack quixote – 2010-02-10T17:10:13.813