Gentoo Archives: gentoo-user

From: "Александър Л. Димитров" <aleks_d@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: grub chainloader
Date: Wed, 18 Jul 2007 18:35:53
Message-Id: 20070718133043.GA6012@brmbr.sfs.uni-tuebingen.de
In Reply to: Re: [gentoo-user] Re: grub chainloader by Thufir
1 On 23:51 Tue 17 Jul, Thufir wrote:
2 > Oh. Why was the grub documentation not understandable like that?
3 > maybe I misread it. thanks for explaining!
4
5 I guess you missed it. `info grub' says (*Note chainloading)
6
7 ---8<---8<----
8
9 4.1.2 Load another boot loader to boot unsupported operating systems
10 --------------------------------------------------------------------
11
12 If you want to boot an unsupported operating system (e.g. Windows 95),
13 chain-load a boot loader for the operating system. Normally, the boot
14 loader is embedded in the "boot sector" of the partition on which the
15 operating system is installed.
16
17 1. Set GRUB's root device to the partition by the command
18 `rootnoverify' (*note rootnoverify::):
19
20 grub> rootnoverify (hd0,0)
21
22 2. Set the "active" flag in the partition using the command
23 `makeactive'(1) (*note Chain-loading-Footnote-1::) (*note
24 makeactive::):
25
26 grub> makeactive
27
28 3. Load the boot loader with the command `chainloader' (*note
29 chainloader::):
30
31 grub> chainloader +1
32
33 `+1' indicates that GRUB should read one sector from the start of
34 the partition. The complete description about this syntax can be
35 found in *Note Block list syntax::.
36
37 4. Run the command `boot' (*note boot::).
38
39 However, DOS and Windows have some deficiencies, so you might have to
40 use more complicated instructions. *Note DOS/Windows::, for more
41 information.
42
43 ---8<---8<----
44
45 Note that it's usually better to refer to the info command for more
46 serious documentation about GNU tools in general. RMS and his guys don't
47 exactly seem to like manpages that much that's what they have info for.
48 They have their point, but that's another flame war ;-)
49
50
51 Regards,
52 Aleks

Replies

Subject Author
Re: [gentoo-user] Re: grub chainloader Thufir <hawat.thufir@×××××.com>
Re: [gentoo-user] Re: grub chainloader Iain Buchanan <iaindb@××××××××××××.au>