PDA

View Full Version : Lost F17 Beta!


taytong888
19th April 2012, 04:55 AM
Hi,

I have a multiboot system where legacy Grub/Grub1 is placed in MBR and the root partition of openSUSE12.1 (grub boots from MBR and root partition). Here's partial content of openSUSE's /boot/grub/menu.lst:



title openSUSE 12.1
root (hd0,4)
kernel /boot/vmlinuz-3.1.9-1.4-desktop...
initrd /boot/initrd-3.1.9-1.4-desktop

title Kubuntu 12.04 (dev/sda16)
rootnoverify (hd0)
kernel (hd0,15)/boot/grub/core.img

title Fedora 16 Gnome (dev/sda12)
root (hd0,11)
kernel /boot/grub2/core.img


This arrangement has been working pretty well, and I can boot into any distro especially those with Grub2 such as Kubuntu and F16 (they have Grub2 placed in their own root partitions). A few days ago I installed Fedora 17 Beta RC4, first with Grub2 in its own root partition but that did not boot. The only way out is to place Grub2 in the MBR.

The boot stanza of Fedora 17 Beta RC4 reads similarly to that of F16 which boots normally:


title Fedora 17 (dev/sda10)
root (hd0,9)
kernel /boot/grub2/core.img


However, today after updating Kubuntu (including its own Grub2 update) I was not able to boot into F17. Error 15: File not found. Yet, I was and still am able to boot into F16 after that.

Any suggestion to make F17 boots all the times like F16, even after Grub2 of Kubuntu is updated?

Thanks a lot for your help.

:confused:

tox
19th April 2012, 05:08 AM
try updating grub2 in your Kubuntu by doing i think

update-grub in Terminal

sonoran
19th April 2012, 05:17 AM

I boot Fedora 17's grub2 - which is installed to the first sector of Fedora's single / partition - from legacy grub on the mbr with the following (Arch) menu.lst entry:
title Fedora 17
root (hd1,5)
chainloader +1

First I see the Arch legacy grub boot menu, and if I select Fedora 17 I get Fedora's grub2 menu. This has survived numerous Arch and Fedora kernel updates.

There have been posts about grub2 not installing properly to locations outside the mbr, but since my installation worked I haven't checked the details.

taytong888
19th April 2012, 05:51 AM
Hello tox,

Ealier today I updated Kubuntu via Synaptic package manager and Grub(2) was one of the items to be updated. Based on your suggestion:

1. Boot into Kubuntu

2. Dolphin File Manager

3. Select Fedora 17 Beta (did not need to become root) and mount it

4.
sudo update-grub


5. Screen shows:


Generating grub.cfg

Found linux-image: (of Kubuntu)
Found initrd-image: (of Kubuntu)
Found Fedora release 17 (Beefy Miracle) on /dev/sda10, etc.


6. Unmount F17

7. Restart and select F17 on Grub stage 1.5 menu. Still see error 15: File not found

8.HOWEVER, if I boot into Kubuntu then boot F17 from Kubuntu's Grub2 menu, I succeed.


Any other suggestions?

PS: I just found that besides grub2, the system (F17) also has grub-efi installed. Does "grub-efi" have anything to do with my not being able to boot directly from Grub stage 1.5 menu? My motherboard has 780 chipset, so I don't think it is of EFI-typed.

flokip
19th April 2012, 03:43 PM
title Fedora 17 (dev/sda10)
root (hd0,9)
kernel /boot/grub2/core.img

Try change 'kernel /boot/grub2/core.img' to 'kernel /boot/grub2/i386-pc/core.img'

core.img is in different folder on F17 from F16

The metod in coment #3 does not vork fore me.

I boot from F14 gurb1 tom F16 uing same method as in #1
In f17 I had ton change kernle line to ponint to differnt folder.
Find in which folder core.img is in F17.

taytong888
19th April 2012, 08:33 PM
Try change 'kernel /boot/grub2/core.img' to 'kernel /boot/grub2/i386-pc/core.img'

core.img is in different folder on F17 from F16

The metod in coment #3 does not vork fore me.

I boot from F14 gurb1 tom F16 uing same method as in #1
In f17 I had ton change kernle line to ponint to differnt folder.
Find in which folder core.img is in F17.

Thank you flokip!

Your suggestion works! I now can boot directly into F17 beta.

:)