Re: How to find out where grub is installed?

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

 



Andras Simon wrote:
> On 1/18/09, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx> wrote:
> 
>> I forget the exact wording, but the installer has an option for
>> where to install Grub. If you are using a separate /boot partition
>> for this install, tell it to install Grub there. If not, tell it to
>> install Grub on the / partition. (This is controlling where the
>> stage 1 loader is installed.)
> 
> I do have a separate /boot partition; but if grub is installed _only_
> there, how does another instance of grub get installed in the MBR? I
> think I need that one to chainload either the new or the old Fedora's
> grub. Or do you mean that the old grub is already installed in the
> MBR, and will chainload the new grub or boot the old Fedora?
> 
The old Fedora's install of Grub is already installed in the MBR,
unless you are using some other way to boot it.

>> If you did not install Grub, then you can run grub-install and
>> specify the "install_device" as the /boot or root partition. For
>> example:
>>
>> grub-install /dev/sda5
> 
> I'd like to keep this option as a last resort because grub's docs
> say:
> 
> "*Caution:* This procedure is definitely less safe, because there are
> several ways in which your computer can become unbootable."
> 
This is true when you are only installing one copy of Grub on the
system. But it is necessary if you are installing several copies of
Grub. But it is safer to do it as part of the Fedora install process.

You may have to install in the expert mode to do it...

> Also, I'm not sure whether I need the --root-directory option of
> grub-install. Or only if I install in the MBR. I'm rather confused, as
> you can see...
> 
> Andras
> 
You do not need the --root-directory option because you are
installing Grub in its normal place for that installation of Fedora.
This option is only needed for special cases, like when installing
Grub in a rescue mode when you can not chroot to the normal root
directory, or when you are installing Grub to a different operating
system then the one you are running. There are ways you could use it
here, but you stand a good chance of making your system unbootable.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux