Hi all,
I have two different boot drives, one occupied by f18 and one by f14.
f18 uses grub2. f14 used grub.
When I installed f18 xen it replaced grub with grub2 on the f14 system. Needless to say, my f14 xen system is no longer bootable.
I want to reinstall grub and its MBR but grub-install is no longer available in f18: replaced by grub2.
Searches on this return ancient results, most of which refer to DOS and Windows.
What is the "modern" way to return the MBR to the old fashioned grub boot loader?
Thanks for any help, Mike Wright
(making me laugh here: i remember lilo and thought it would be the death of me) -------
Every step forward comes from one foot in the past.
On Thu, 14 Mar 2013 12:08:03 -0700 Mike Wright wrote:
What is the "modern" way to return the MBR to the old fashioned grub boot loader?
I don't know about "modern", but when I get a screwed up boot I tend to chroot into the screwed up system and run grub-install from there.
On Thu, 2013-03-14 at 12:08 -0700, Mike Wright wrote:
When I installed f18 xen it replaced grub with grub2 on the f14 system. Needless to say, my f14 xen system is no longer bootable.
Why "needless to say"? When I did this, my Fedora 14 install was presented as a boot option in grub2, and it booted just fine. Maybe you need to run grub2-mkconfig in the F18 system?
# cd /boot/grub2 # grub2-mkconfig -o grub.cfg
--Greg
03/14/2013 01:07 PM, Greg Woods wrote:
On Thu, 2013-03-14 at 12:08 -0700, Mike Wright wrote:
When I installed f18 xen it replaced grub with grub2 on the f14 system. Needless to say, my f14 xen system is no longer bootable.
Why "needless to say"? When I did this, my Fedora 14 install was presented as a boot option in grub2, and it booted just fine. Maybe you need to run grub2-mkconfig in the F18 system?
# cd /boot/grub2 # grub2-mkconfig -o grub.cfg
Greg, thanks for your help.
That does provide a grub2 that includes the f14 system. Unfortunately, it strips the xen parts of it.
Your advice did let me boot into the f14 system (now part of the f18 boot) and from there I was able to, at boot time, edit the boot stanza to include xen as the kernel and the kernel and initramfs as modules. From there the f14 xen system came back to life.
Still work to do but you got me on my way!
Thx