[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Fix /boot/grub/grub.conf to chainload Fedora 11 Preview?? and Fedora 9 with chainloader



Dear fellow Fedoreans,

I have a machine which Windows, and Fedora 9 have coexisted happily since Fedora 9 was released.  I shrunk the Windows Partition a bit more and setup an empty place where I installed Fedora 11 Preview(to update it to current Fedora 11 pre or rawhide whichever gets picked up via updates)

Now I can boot windows and Fedora 11, but can't boot Fedora 9, everything is in there I can see the data, I just can't boot it.  Here's output of fdisk and grub.conf for both Fedora 9 and Fedora 11?? soon to be


root slax:~# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005116a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        9921    79688704    7  HPFS/NTFS
/dev/sda2            9922       14848    39576127+   5  Extended
/dev/sda3           14849       14873      200812+  83  Linux
/dev/sda4           14874       19457    36820980   8e  Linux LVM
/dev/sda5            9922       10409     3919828+  82  Linux swap
/dev/sda6   *       10410       10435      204799+  83  Linux
/dev/sda7           10435       14848    35450879+  8e  Linux LVM
root slax:~# cat /mnt/sda3/
System.map                               initrd-2.6.27.15-78.2.23.fc9.x86_64.img
System.map-2.6.26.1                      initrd-2.6.27.19-78.2.30.fc9.x86_64.img
System.map-2.6.26.5                      initrd-2.6.27.21-78.2.41.fc9.x86_64.img
System.map-2.6.27                        initrd-2.6.27.7-53.fc9.x86_64.img
System.map-2.6.27.15-78.2.23.fc9.x86_64  initrd-2.6.27.img
System.map-2.6.27.19-78.2.30.fc9.x86_64  initrd-2.6.29.2.img
System.map-2.6.27.21-78.2.41.fc9.x86_64  lost+found/
System.map-2.6.27.7-53.fc9.x86_64        vmlinuz
System.map-2.6.29.2                      vmlinuz-2.6.26.1
config-2.6.27.15-78.2.23.fc9.x86_64      vmlinuz-2.6.26.5
config-2.6.27.19-78.2.30.fc9.x86_64      vmlinuz-2.6.27
config-2.6.27.21-78.2.41.fc9.x86_64      vmlinuz-2.6.27.15-78.2.23.fc9.x86_64
config-2.6.27.7-53.fc9.x86_64            vmlinuz-2.6.27.19-78.2.30.fc9.x86_64
efi/                                     vmlinuz-2.6.27.21-78.2.41.fc9.x86_64
grub/                                    vmlinuz-2.6.27.7-53.fc9.x86_64
initrd-2.6.26.1.img                      vmlinuz-2.6.29.2
initrd-2.6.26.5.img
root slax:~# cat /mnt/sda3/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 have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,2)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.2)
        root (hd0,2)
        kernel /vmlinuz-2.6.29.2 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.29.2.img
title Fedora (2.6.27.21-78.2.41.fc9.x86_64)
        root (hd0,2)
        kernel /vmlinuz-2.6.27.21-78.2.41.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.27.21-78.2.41.fc9.x86_64.img
title Fedora (2.6.27.19-78.2.30.fc9.x86_64)
        root (hd0,2)
        kernel /vmlinuz-2.6.27.19-78.2.30.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.27.19-78.2.30.fc9.x86_64.img
title Fedora (2.6.27.15-78.2.23.fc9.x86_64)
        root (hd0,2)
        kernel /vmlinuz-2.6.27.15-78.2.23.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.27.15-78.2.23.fc9.x86_64.img
title Fedora (2.6.27.7-53.fc9.x86_64)
        root (hd0,2)
        kernel /vmlinuz-2.6.27.7-53.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.27.7-53.fc9.x86_64.img
title Fedora (2.6.27)
        root (hd0,2)
        kernel /vmlinuz-2.6.27 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.27.img
title Fedora (2.6.26.5)
        root (hd0,2)
        kernel /vmlinuz-2.6.26.5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.26.5.img
title Fedora (2.6.26.1)
        root (hd0,2)
        kernel /vmlinuz-2.6.26.1 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.26.1.img
title Microsoft Windows Vista Ultimate
        rootnoverify (hd0,0)
        chainloader +1
root slax:~# cat /mnt/sda6/grub/gr
grub.conf      grub.conf.bak
root slax:~# cat /mnt/sda6/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 have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,5)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_blackamd64home-lv_root
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.1-102.fc11.x86_64)
        root (hd0,5)
        kernel /vmlinuz-2.6.29.1-102.fc11.x86_64 ro root=/dev/mapper/vg_blackamd64home-lv_root rhgb quiet
        initrd /initrd-2.6.29.1-102.fc11.x86_64.img
title windows
        rootnoverify (hd0,0)
        chainloader +1
title Fedora 9
        rootnoverify (hd0,2)
        chainloader +1
root slax:~#   

I have changed the rootnoverify (hd0,2) to rootnoverify (hd0,3) and have substituted 1, 2, 3, 4 and 5 and cannot boot.  I get error 13 illegal ??? 

I have setup this before several times, at school I had a machine dual boot Fedora 9 and rawhide, but for some reason or another it is failing :(,

suggestions, advice, comments, are very much welcome.

Regards,

Antonio 


      


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]