grub-devel
[Top][All Lists]
Advanced

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

Re: grub-setup: --no-boot option?


From: Yoshinori K. Okuji
Subject: Re: grub-setup: --no-boot option?
Date: Fri, 21 Oct 2005 22:18:26 +0200
User-agent: KMail/1.7.2

On Friday 21 October 2005 09:38 pm, Paul Bolle wrote:
> 1) Both these commands (entered at the GRUB 0.95 command line) will get
> me the GRUB 1.91 prompt :
>  - kernel (hd0,2)/boot/grub/core.img
>    boot
>  - chainload (hd0,2)+1
>    boot
>
> Am I correct in thinking these commands are essentially the same now?
> GRUB2 seems to launch identically with both commands. Or are there side
> effects I have overlooked?

When you install GRUB into (hd0,2), they are the same.

> 2) If there are no (serious) side effects, would it be an idea to add an
> "--no-boot" option to grub-setup? This option should then ensure that no
> boot sectors will be changed so the only the effect of grub-setup would
> be some (small but important) changes to a (specified or default)
> core.img. This should make it somewhat safer to try GRUB2 (as MBR and
> boot sectors will be left unchanged) without risking your current setup,
> shouldn't it?

In this case, you can invoke grub-mkimage directly.

Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]