Hi, all
I had WinXP on my laptop, and went on to install Fedora 13 and Ubuntu 10.04, in that order. When I installed Ubuntu, GRUB no longer recognized Fedora (only Ubuntu and WinXP), so I cannot boot into that system. I tried editing the 40_custom file in /etc/grub.d using the documentation for GRUB2 and a couple of forum threads, then running sudo update-grub, but to no avail (Fedora is not in the output for update-grub).
Here's the output of a few commands I used to generate 40_custom, as well as the Fedora grub.conf file and 40_custom itself. Please, help me find what I'm missing - I've been at this for a few hours now...
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2363 18980709 7 HPFS/NTFS
/dev/sda2 4222 4285 512000 83 Linux
/dev/sda3 4285 7296 24186880 8e Linux LVM
/dev/sda4 2364 4222 14924801 5 Extended
/dev/sda5 2364 4138 14251008 83 Linux
/dev/sda6 4138 4222 672768 82 Linux swap / Solaris
blkid
/dev/sda1: LABEL="System" UUID="209888C0988895C6" TYPE="ntfs"
/dev/sda2: UUID="94c4291d-0b57-456b-a8b4-676e1226eaad" TYPE="ext4"
/dev/sda3: UUID="4shvDL-k2Zb-0R97-RLCo-w0Uf-8tMX-5O2W1X" TYPE="LVM2_member"
/dev/sda6: UUID="c16e9634-7130-454b-b78d-a4571336244a" TYPE="swap"
/dev/sda5: UUID="429c9bd7-b8d0-4ffb-9fdf-6cd009f18773" TYPE="ext4"
Contents of the entire grub.conf file from mounting sda2
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.33.5-112.fc13.i686.PAE)
root (hd0,1)
kernel /vmlinuz-2.6.33.5-112.fc13.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.33.5-112.fc13.i686.PAE.img
title Fedora (2.6.33.5-112.fc13.i686)
root (hd0,1)
kernel /vmlinuz-2.6.33.5-112.fc13.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.33.5-112.fc13.i686.img
title Fedora (2.6.33.3-85.fc13.i686)
root (hd0,1)
kernel /vmlinuz-2.6.33.3-85.fc13.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.33.3-85.fc13.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Fedora 13" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set 94c4291d-0b57-456b-a8b4-676e1226eaad
linux /boot/vmlinuz-2.6.33.5-112.fc13.i686.PAE root=UUID=94c4291d-0b57-456b-a8b4-676e1226eaad ro quiet splash
initrd /boot/initramfs-2.6.33.5-112.fc13.i686.PAE.img
}



Adv Reply



Bookmarks