Mailinglist Archive: opensuse (1231 mails)

< Previous Next >
Re: [opensuse] Grub2 and installing multiple distros on same computer - *ADDENDUM*
On 04/03/13 17:57, Andrey Borzenkov wrote:
On Mon, Mar 4, 2013 at 7:50 AM, Basil Chupin <blchupin@xxxxxxxxxxxx> wrote:
Now, what is so damn annoying about this new grub2 thingie is that when one
goes to do either 'info/man grub2-install or grub2-mkconfig' you told that
you are out of your skull and that there are no such commands! :-( MOST
annoying!

They are documented in "info grub2".

I saw that, but when you don't know what you are doing and are relying on something written by someone who knows all then seeing this does not help and creates more confusion:

File: grub2.info, Node: Installing GRUB using grub-install, Next: Making a GRUB bootable CD-ROM, Up: Installation

3.1 Installing GRUB using grub-install
======================================

For information on where GRUB should be installed on PC BIOS platforms,
*note BIOS installation::.

In order to install GRUB under a UNIX-like OS (such as GNU), invoke
the program `grub-install' (*note Invoking grub-install::) as the
superuser ("root").

The usage is basically very simple. You only need to specify one
argument to the program, namely, where to install the boot loader. The
argument has to be either a device file (like `/dev/hda'). For
example, under Linux the following will install GRUB into the MBR of
the first IDE disk:

# grub-install /dev/hda

Likewise, under GNU/Hurd, this has the same effect:

# grub-install /dev/hd0



Even the references to dev/hda or /dev/hd0 are not outdated.


But as grub-install or
grub-mkconfig. Patches for grub.info to replace all occurrences of
"grub" with "grub2" in relevant places are welcome.

grub-mkconfig -o /media/btldr/boot/grub/grub.cfg[*]
[*] You need to create a blank file called 'grub.cfg' for this command to
work.

I just tested it (again) with non-existent file and it works.

Interesting. Gave me an error message that there was no such file but then I may have made a typo in the command.

BC

--
Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.1-2 on a system with-
AMD FX 8-core 3.6/4.2GHz processor
16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM
Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >