Fedora Linux Support Community & Resources Center
Old 29th September 2011, 02:17 PM
lipisak Offline
Registered User
Join Date: May 2011
Location: Czech Republic
Posts: 11
Switch from Grub legacy to Grub 2

Hi folks,
I've upgraded my F15 to f16 preBeta two weeks ago, everyhing seems to run smoothly. the only thing that wasn't upgraded was GRUB legacy. Everyone speaks about GRUB2.

Ok I have two questions:
1) Do I need Grub2?
2) If I wish to upgrade it to GRUB2, how should I make it...I don't think, that
yum install grub2
will make the thing.

Thanks for answers.
Old 29th September 2011, 03:36 PM
fpmurphy Offline
Registered User
Join Date: May 2009
Location: /dev/ph
Posts: 317
Re: Switch from Grub legacy to Grub 2

I may be wrong but because the the grub_boot partition requirement by GRUB2 for GPT boot disks I suspect that you will have to do a full re-install.
Old 29th September 2011, 03:53 PM
DBelton Offline
Join Date: Aug 2009
Posts: 8,453
Re: Switch from Grub legacy to Grub 2

you are probably correct on that point, fpmurphy.

But, that is assuming that the OP is running with GPT formatted disks, and they have a BIOS system.

and no, just installing grub2 won't do it for you. yum will install grub2, but it doesn't replace your actual bootloader when it installs it. You will have to manually go back and replace your grub bootloader with grub2.

The yum install grub2 would be the first step, but then you would need to go in and tell grub2 to put it's bootloader code into the boot sector. (at least that was how it was done in the past. Prevented accidently over-writing your boot sector and having an un-bootable system)

Before doing anything, you need to make sure you will be able to run grub2 without a full re-install as mentioned above.

1: Do you have your disks formatted with GUID (GPT) partition tables?
2: Are you running a machine that has BIOS (as opposed to EFI)?

If the answer to both of those questions is yes, you will require a bios boot partition to run grub2 as your bootloader, and will require a full re-install (Or at least resizing and moving around partitions) to get that created.

However, if your hard drives are formatted with MBR partition tables, you won't need the bios boot partition.
Old 29th September 2011, 09:26 PM
lipisak Offline
Registered User
Join Date: May 2011
Location: Czech Republic
Posts: 11
I have 3 years old laptop so still on bios. And because of dualboot with w7(work) i have mbr formated hdd. So I could use grub 2, right?
But w7 installation is too important for me as c# developer. So i will let it as it is until i'll buy new hdd.
Thanks for replies.

Sent from my Optimus 2X using Tapatalk
Old 30th September 2011, 12:01 AM
AdamW Offline
Fedora QA Community Monkey
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,327
Re: Switch from Grub legacy to Grub 2

it's easy to tell if your disk is msdos or gpt labelled: just run parted on it and hit 'p'. it'll tell you.

I would guess that disk will be msdos labelled, in which case yes, you could switch to grub2. I don't have a precise procedure for the switch, though. I'm still on grub1...
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
Old 30th September 2011, 02:23 AM
stoat Offline
Registered User
Join Date: Jun 2006
Posts: 7,548
Re: Switch from Grub legacy to Grub 2

Here's a HOWTO...
I don't use Fedora 15 or 16, but I played with GRUB 2 in Fedora 12 and 13. I found when I installed the grub2 package that GRUB 2 was a menu entry in the legacy GRUB boot menu. And I think there was a new ~/grub2 folder for all the GRUB 2 modules and stuff. Choosing GRUB 2 in the legacy GRUB menu would go to the GRUB 2 menu. You can re-install the GRUB boot loader with the grub2-install command and boot directly to the GRUB 2 boot menu (hey, that's probably why Fedora uses the grub2-whatever script names...so the two GRUBs can co-exist until 2 becomes the default).

Later on, I got really brave and started uninstalling grub and moving the /boot/grub folder (not /boot with the kernels, obviously) before installing grub2. That gave me a clean /boot/grub directory (it may have been /boot/grub2) with only GRUB 2 modules and stuff. Then grub2-install for the boot loader.

It's okay. I had to find out what the fuss was all about. I don't use it now. Actually, I prefer GRUB for DOS as my main and permanent boot loader to boot all systems. In spite of its prehistoric name, it's a maintained, powerful, and versatile boot loader (IMO). It's just not pretty to look at (so what, it's gone in five seconds).
Old 6th October 2011, 10:08 AM
jeffrey Offline
Registered User
Join Date: Jun 2011
Location: Mumbai, India
Posts: 36
Re: Switch from Grub legacy to Grub 2

In the menu there is an entry -->Applications -->Administration--> Bootloader Configuration. On clicking it an error message pops up telling me error reading /boot/grub/grub.conf
I am using F16-Beta-KDE with all the updates and have grub2 booting my system. I think this should be also fixed for the final version.
Old 6th October 2011, 02:41 PM
DBelton Offline
Join Date: Aug 2009
Posts: 8,453
Re: Switch from Grub legacy to Grub 2

well, jeffrey..

that Bootloader Configuration application is to configure legacy grub, and not grub2.

But I do agree with you. Either it should be updated to work with grub2, or removed from the repo for F16. (Or at least a notation put in that it only works with legacy grub)

grub, legacy, switch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Replace Grub 2 with Grub Legacy Majara Installation, Upgrades and Live Media 4 6th June 2012 01:48 AM
Using Grub2 (Not using the legacy grub entry) uncholowapo Guides & Solutions (Not For Questions) 13 6th October 2011 10:21 AM
[SOLVED] why grub(legacy) is so bad!! ... can't dual boot fedvasu Using Fedora 16 31st July 2011 06:06 PM
Add btrfs part. to GRUB legacy Ancurio Using Fedora 6 28th July 2011 11:42 AM
Can i use grub without legacy usb support? errorxp Using Fedora 0 20th September 2010 06:55 AM

Current GMT-time: 14:01 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat