Hi, I've got a machine with three hard-drives in it. two sata and one ide. I've a fedora 10 (upgraded from 9) on the first sata drive, and I've installed fedora 11 on the second sata drive. The machine boots off the first of these drives and the ide one contains windows. I copied the lines out of grub.conf on the f11 disk, and copied them to the grub.conf of the first disk, and reinstalled. However, f10 boots fine, f11 doesn't boot. and grub gives me an error 17.
The lines from the f11 grub.conf are default=0 timeout=5 splashimage=(hd1,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.29.4-167.fc11.x86_64) root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img title Other rootnoverify (hd2,0) chainloader +1 title Fedora 10 rootnoverify (hd0,0) chainloader +1
and I've copied the f11 section into the f10 grub.conf, title Fedora 11 64-bit root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img
Not sure if it's to do with how root is written, whether I'm using an older version of grub (GNU GRUB 0.97) or what. The full f10 grub.conf is below. Everything is ext3 except \ on the f11.
Thanks for any help or suggestions; Jim # 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 (hd1,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sdb default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.30-170.2.82.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.30-170.2.82.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.30-170.2.82.fc10.i686.img title Fedora Hopefully(2.6.27.29-170.2.78.fc10.i686.PAE) root (hd0,0) kernel /vmlinuz-2.6.27.29-170.2.78.fc10.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.29-170.2.78.fc10.i686.PAE.img title Fedora (2.6.27.29-170.2.78.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.29-170.2.78.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.29-170.2.78.fc10.i686.img title Fedora (2.6.27.25-170.2.72.fc10.i686.PAE) root (hd0,0) kernel /vmlinuz-2.6.27.25-170.2.72.fc10.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.25-170.2.72.fc10.i686.PAE.img title Fedora (2.6.27.25-170.2.72.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.25-170.2.72.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.25-170.2.72.fc10.i686.img
title Fedora 11 64-bit root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img title Other rootnoverify (hd2,0) chainloader +1
James Allsopp wrote:
root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img
Instead of selecting one of the grub options, go into the grub console (press 'c') and type these commands one after another.
May be one of them tells you what's wrong. If not, use "boot" as last command and it should boot. (if the kernel starts but the initrd fails to find /, that's another kind of issue).
One good thing of the grub console is that if you write root (hd and press tab, it will autocomplete with possible choices; the same for root (hd0, or kernel / or kernel /vml
Best regards.
James Allsopp wrote:
Hi, I've got a machine with three hard-drives in it. two sata and one ide. I've a fedora 10 (upgraded from 9) on the first sata drive, and I've installed fedora 11 on the second sata drive. The machine boots off the first of these drives and the ide one contains windows. I copied the lines out of grub.conf on the f11 disk, and copied them to the grub.conf of the first disk, and reinstalled. However, f10 boots fine, f11 doesn't boot. and grub gives me an error 17.
have you considered/tried dropping 'uuid' and use 'hd1,0' or 'sd2a' instead?
i do not know how it will work with sata and f11, but i know i did this with a pata f10 install.
On Sat, Sep 19, 2009 at 1:44 PM, g geleem@bellsouth.net wrote:
James Allsopp wrote:
Hi, I've got a machine with three hard-drives in it. two sata and one ide.
I've
a fedora 10 (upgraded from 9) on the first sata drive, and I've installed fedora 11 on the second sata drive. The machine boots off the first of
these
drives and the ide one contains windows. I copied the lines out of
grub.conf
on the f11 disk, and copied them to the grub.conf of the first disk, and reinstalled. However, f10 boots fine, f11 doesn't boot. and grub gives me
an
error 17.
If you are using chainloader for F10, grub has to be installed on F10 /boot partition.
On the other hand, grub has to be installed on the mbr of the F11 disk.
But you have to check on the BIOS, which drive is being used for booting. It has to be the one with grub on the mbr (F11 - hd1).
Ok, I've tried substituting /dev/sdb2 and /dev/sda2 for the root, nothing changes.
When I installed the F11 OS on sdb, I asked it to install the bootloader on sda to overwrite my existing bootloader, this didn't work, so I rescued the F10 OS and from there I reinstalled the bootloader onto /dev/sda. This got F10 working again. I mounted dev/sdb1 and copied the lines out of the F11 grub.conf into the F10 (/dev/sda1) grub.conf then reinstalled the bootloader (grub-install /dev/sda). F10 boots, but F11 doesn't., it gives me an Error 17.
Here's the F10 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 (hd1,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sdb default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.30-170.2.82.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.30-170.2.82.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.30-170.2.82.fc10.i686.img title Fedora 11 64-bit root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img title Other rootnoverify (hd2,0) chainloader +1
And here's the F11 grub.conf default=0 timeout=5 splashimage=(hd1,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.29.4-167.fc11.x86_64) root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img title Other rootnoverify (hd2,0) chainloader +1 title Fedora 10 rootnoverify (hd0,0) chainloader +1
Thanks for any advice. Jim
2009/9/20 Paulo Cavalcanti promac@gmail.com
On Sat, Sep 19, 2009 at 1:44 PM, g geleem@bellsouth.net wrote:
James Allsopp wrote:
Hi, I've got a machine with three hard-drives in it. two sata and one ide.
I've
a fedora 10 (upgraded from 9) on the first sata drive, and I've
installed
fedora 11 on the second sata drive. The machine boots off the first of
these
drives and the ide one contains windows. I copied the lines out of
grub.conf
on the f11 disk, and copied them to the grub.conf of the first disk, and reinstalled. However, f10 boots fine, f11 doesn't boot. and grub gives
me an
error 17.
If you are using chainloader for F10, grub has to be installed on F10 /boot partition.
On the other hand, grub has to be installed on the mbr of the F11 disk.
But you have to check on the BIOS, which drive is being used for booting. It has to be the one with grub on the mbr (F11 - hd1).
-- Paulo Roma Cavalcanti LCG - UFRJ
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
On 09-09-20 08:26:26, James Allsopp wrote:
Ok, I've tried substituting /dev/sdb2 and /dev/sda2 for the root, nothing changes.
When I installed the F11 OS on sdb, I asked it to install the bootloader on sda to overwrite my existing bootloader, this didn't work, so I rescued the 10 OS and from there I reinstalled the bootloader onto /dev/sda. This got F10 working again. I mounted dev/ sdb1 and copied the lines out of the F11 grub.conf into the F10 (/ dev/sda1) grub.conf then reinstalled the bootloader grub-install / dev/sda). F10 boots, but F11 doesn't., it gives me an Error 17.
`info grub` shows that Error 17 is "Cannot mount selected partition", which means that it can't handle the "root (hd1,0)" line. Check that "(hd1,0)" is the /boot partition for F11, containing the vmlinuz and initrd files for F11, and that it is an EXT2/3 partition.
You might have an easier time just chainloading to the F11 GRUB. Use a stanza like the "Other" stanza, but for "(hd1,0)" (if that is the correct partition).
Here's the F10 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 (hd1,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sdb default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.30-170.2.82.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.30-170.2.82.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318 initrd /initrd-2.6.27.30-170.2.82.fc10.i686.img title Fedora 11 64-bit root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img title Other rootnoverify (hd2,0) chainloader +1
And here's the F11 grub.conf default=0 timeout=5 splashimage=(hd1,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.29.4-167.fc11.x86_64) root (hd1,0) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet initrd /initrd-2.6.29.4-167.fc11.x86_64.img title Other rootnoverify (hd2,0) chainloader +1 title Fedora 10 rootnoverify (hd0,0) chainloader +1