* RE: [gentoo-user] Re: grub chainloader
@ 2007-07-19 7:14 burlingk
2007-07-19 6:25 ` Boyd Stephen Smith Jr.
0 siblings, 1 reply; 21+ messages in thread
From: burlingk @ 2007-07-19 7:14 UTC (permalink / raw
To: gentoo-user
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 883 bytes --]
> -----Original Message-----
> From: Iain Buchanan [mailto:iaindb@netspace.net.au]
> Sent: Thursday, July 19, 2007 9:26 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: grub chainloader
>
> I'm happy to leave the info vs man flamewar for someone else,
> but what I _don't_ like is when you have both man and info,
> and one of them is very deficient (in grub's case, man). The
> description is different, less informative, and quite
> misleading. Instead, is should say either nothing but "refer
> to info pages"; or it should be the same as the info pages...
>
> would anyone agree?
That is exactly what a number of packages do I think.
I have seen many of them that the man page and the
info page were identicle. More often though it looked
like they made a decent man page, and coppied it to info.
:-)
éí¢¬z¸\x1eÚ(¢¸&j)b b²
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] grub chainloader
@ 2007-07-17 22:50 Thufir
2007-07-17 23:12 ` [gentoo-user] " »Q«
0 siblings, 1 reply; 21+ messages in thread
From: Thufir @ 2007-07-17 22:50 UTC (permalink / raw
To: gentoo-user
I've read the GRUB documentation, but still don't understand why the
following worked:
localhost ~ #
localhost ~ # cat /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hdb3
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5
title Fedora (2.6.21-1.3228.fc7)
root (hd0,1)
kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.21-1.3228.fc7.img
localhost ~ #
localhost ~ # date
Tue Jul 17 22:48:12 UTC 2007
localhost ~ #
I would've thought that the chainloader +1 statement would be required
-- that's my experience at least.
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Re: grub chainloader
2007-07-17 22:50 [gentoo-user] " Thufir
@ 2007-07-17 23:12 ` »Q«
2007-07-17 23:51 ` Thufir
2007-07-18 0:02 ` Iain Buchanan
0 siblings, 2 replies; 21+ messages in thread
From: »Q« @ 2007-07-17 23:12 UTC (permalink / raw
To: gentoo-user
In <news:bf6b6d5c0707171550sa74b587v3652ac2f00d3be8e@mail.gmail.com>,
Thufir <hawat.thufir@gmail.com> wrote:
>I've read the GRUB documentation, but still don't understand why the
>following worked:
[snip grub.conf]
>I would've thought that the chainloader +1 statement would be required
>-- that's my experience at least.
It's only needed if you're booting an unsupported (by grub) OS; it
tells grub to just hand off to another bootloader. The +1 tells grub
to load the first sector of the OS's partition, which is where the
other bootloader should be embedded.
As long as you're booting Linux kernels, you can just point grub at
them without using another bootloader.
--
»Q«
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-17 23:12 ` [gentoo-user] " »Q«
@ 2007-07-17 23:51 ` Thufir
2007-07-18 12:18 ` Alan McKinnon
2007-07-18 13:30 ` Александър Л. Димитров
2007-07-18 0:02 ` Iain Buchanan
1 sibling, 2 replies; 21+ messages in thread
From: Thufir @ 2007-07-17 23:51 UTC (permalink / raw
To: gentoo-user
Oh. Why was the grub documentation not understandable like that?
maybe I misread it. thanks for explaining!
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-17 23:51 ` Thufir
@ 2007-07-18 12:18 ` Alan McKinnon
2007-07-18 12:35 ` Etaoin Shrdlu
2007-07-18 13:30 ` Александър Л. Димитров
1 sibling, 1 reply; 21+ messages in thread
From: Alan McKinnon @ 2007-07-18 12:18 UTC (permalink / raw
To: gentoo-user
On Wednesday 18 July 2007, Thufir wrote:
> Oh. Why was the grub documentation not understandable like that?
> maybe I misread it. thanks for explaining!
The grub man pages are, ahem, skimpy. IIRC it's all of three paragraphs.
The full story is in the info pages, but the way they are written pretty
much requires that you do go through all of it in sequence. And they
are also written with the assumption that the reader understands the
confines a boot loader has to work in.
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 12:18 ` Alan McKinnon
@ 2007-07-18 12:35 ` Etaoin Shrdlu
2007-07-18 14:20 ` Stroller
0 siblings, 1 reply; 21+ messages in thread
From: Etaoin Shrdlu @ 2007-07-18 12:35 UTC (permalink / raw
To: gentoo-user
On Wednesday 18 July 2007 14:18, Alan McKinnon wrote:
> On Wednesday 18 July 2007, Thufir wrote:
> > Oh. Why was the grub documentation not understandable like that?
> > maybe I misread it. thanks for explaining!
>
> The grub man pages are, ahem, skimpy. IIRC it's all of three
> paragraphs.
>
> The full story is in the info pages, but the way they are written
> pretty much requires that you do go through all of it in sequence.
You can get everything at once and in the same place using the online
docs:
http://www.gnu.org/software/grub/manual/grub.html
> And they are also written with the assumption that the reader
> understands the confines a boot loader has to work in.
This is still true with the online docs of course, since the docs are
essentially the same.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 12:35 ` Etaoin Shrdlu
@ 2007-07-18 14:20 ` Stroller
2007-07-18 15:00 ` Alan McKinnon
0 siblings, 1 reply; 21+ messages in thread
From: Stroller @ 2007-07-18 14:20 UTC (permalink / raw
To: gentoo-user
On 18 Jul 2007, at 13:35, Etaoin Shrdlu wrote:
> ...
> You can get everything at once and in the same place using the online
> docs:
>
> http://www.gnu.org/software/grub/manual/grub.html
This manual is very excellent.
I believe you can also get it in PDF format - I printed it out over 3
years ago and still occasionally refer to it. How I miss my former
employers' printer which would fold & stable paper to give A4 & A5
booklets.
The GRUB manual is as good as lots of books you'd pay $$$ for.
>> And they are also written with the assumption that the reader
>> understands the confines a boot loader has to work in.
I don't know. I think the overview is pretty clear <http://
www.gnu.org/software/grub/manual/grub.html#Overview>, and leads into
the remainder of the documentation quite well.
Stroller.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 14:20 ` Stroller
@ 2007-07-18 15:00 ` Alan McKinnon
2007-07-18 16:06 ` Stroller
2007-07-19 0:31 ` Iain Buchanan
0 siblings, 2 replies; 21+ messages in thread
From: Alan McKinnon @ 2007-07-18 15:00 UTC (permalink / raw
To: gentoo-user
On Wednesday 18 July 2007, Stroller wrote:
> On 18 Jul 2007, at 13:35, Etaoin Shrdlu wrote:
> > ...
> > You can get everything at once and in the same place using the
> > online docs:
> >
> > http://www.gnu.org/software/grub/manual/grub.html
>
> This manual is very excellent.
>
> I believe you can also get it in PDF format - I printed it out over 3
> years ago and still occasionally refer to it. How I miss my former
> employers' printer which would fold & stable paper to give A4 & A5
> booklets.
>
> The GRUB manual is as good as lots of books you'd pay $$$ for.
Yes, it is good documentation, in that everything is there - complete
docs are a rare thing these days. But few people that I've come across
thought to check the info pages and get it.
> >> And they are also written with the assumption that the reader
> >> understands the confines a boot loader has to work in.
>
> I don't know. I think the overview is pretty clear <http://
> www.gnu.org/software/grub/manual/grub.html#Overview>, and leads into
> the remainder of the documentation quite well.
Well there's at least two people who know how boot loaders work. But
it's not an easy concept to grasp for the average person. I get a feel
that you are not an average person so your impressions are not valid
for them. The big stumbling block is getting people to grasp that grub
is not an OS, it's not a linux app as linux is not in memory yet. And
yet, it can still read files and dirs that linux put there, and it's
config file read at run time is a linux file. It's enough to make the
average person's head spin (and does) - it can easily take two hours
for me to get a class full of reasonably bright Windows techies to
grasp why you use
kernel (hd0,0)/vmlinuz-<version> <options>
with a separate boot partition, and
kernel (hd0,0)/boot/vmlinuz-<version> <options>
when /boot is not a separate partition.
Then there's the bit about grub being able to load linux and
Multiboot-compliant kernels natively, but Windows and others must be
chainloaded...
None of this means that the grub docs are poor - it's just that
bootloaders are tricky beasts to grasp and the docs are correspondingly
hard to write so that Joe Average User gets it all first time through
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 15:00 ` Alan McKinnon
@ 2007-07-18 16:06 ` Stroller
2007-07-18 17:32 ` Neil Bothwick
2007-07-19 7:44 ` Alan McKinnon
2007-07-19 0:31 ` Iain Buchanan
1 sibling, 2 replies; 21+ messages in thread
From: Stroller @ 2007-07-18 16:06 UTC (permalink / raw
To: gentoo-user
On 18 Jul 2007, at 16:00, Alan McKinnon wrote:
>> ...
>> I don't know. I think the overview is pretty clear <http://
>> www.gnu.org/software/grub/manual/grub.html#Overview>, and leads into
>> the remainder of the documentation quite well.
>
> ... The big stumbling block is getting people to grasp that grub
> is not an OS, it's not a linux app as linux is not in memory yet. And
> yet, it can still read files and dirs that linux put there, and it's
> config file read at run time is a linux file.
Um... surely the config file (um... grub.conf, right?) is _just_ a file.
It's not a Linux file, it's not a GRUB file, it's just a text file,
which can be edited by any operating system that can write to the
partition.
I have in the past considered putting grub.conf on a FAT32 partition
- I'm not 101% sure that'd work but I've never tried because I never
actually saw the usefulness.
> It's enough to make the
> average person's head spin (and does) - it can easily take two hours
> for me to get a class full of reasonably bright Windows techies to
> grasp ...
You clearly have more experience than I do with teaching novices
about Linux.
You might ask them to consider - as a teaching aid - the Windows XP
boot.ini file (I believe this is retired in Vista).
Boot.ini can be edited in Windows' Notepad in much the same way
grub.conf can be edited with vi or nano. Very few Windows users will
have any experience of doing more than removing an extra line (where
the system was dual-booting to a previous installation of Millennium
Edition, for instance) or reducing the countdown time before
automatically booting the default entry, but if your students are
bright then they will be aware of the boot.ini and will have done
that much.
Stroller.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 16:06 ` Stroller
@ 2007-07-18 17:32 ` Neil Bothwick
2007-07-19 7:44 ` Alan McKinnon
1 sibling, 0 replies; 21+ messages in thread
From: Neil Bothwick @ 2007-07-18 17:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
On Wed, 18 Jul 2007 17:06:57 +0100, Stroller wrote:
> I have in the past considered putting grub.conf on a FAT32 partition
> - I'm not 101% sure that'd work but I've never tried because I never
> actually saw the usefulness.
It will work, provided you call the file menu.lst, because the GRUB FAT
driver can only handle 8.3 filenames. The same applies when using GRUB on
a CD, it can't read grub.conf because it's not an ISO 9660 Level 1 name,
but it works fine with menu.lst.
So, in a way, grub.conf is a Linux file, because it needs to be on a
Linux filesystem for GRUB to read it :-/
--
Neil Bothwick
What Aussies lack in Humour they make up for in Beer!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 16:06 ` Stroller
2007-07-18 17:32 ` Neil Bothwick
@ 2007-07-19 7:44 ` Alan McKinnon
1 sibling, 0 replies; 21+ messages in thread
From: Alan McKinnon @ 2007-07-19 7:44 UTC (permalink / raw
To: gentoo-user
On Wednesday 18 July 2007, Stroller wrote:
> > It's enough to make the
> > average person's head spin (and does) - it can easily take two
> > hours for me to get a class full of reasonably bright Windows
> > techies to grasp ...
>
> You clearly have more experience than I do with teaching novices
> about Linux.
>
> You might ask them to consider - as a teaching aid - the Windows XP
> boot.ini file (I believe this is retired in Vista).
Lucky it's something we don't run into too often :-)
I eventually figured out that how boot loading works is something most
techies don't get into all that often. They understand all the various
bits in isolation but when these bits are used together by grub
it's ... different ... to normal use of the OS. Much the same as living
in Europe and driving on the left, then going to the US and trying to
drive on the right. For a few days your driving style is all fingers
and thumbs but it settles down after some practice
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 15:00 ` Alan McKinnon
2007-07-18 16:06 ` Stroller
@ 2007-07-19 0:31 ` Iain Buchanan
1 sibling, 0 replies; 21+ messages in thread
From: Iain Buchanan @ 2007-07-19 0:31 UTC (permalink / raw
To: gentoo-user
On Wed, 2007-07-18 at 17:00 +0200, Alan McKinnon wrote:
[snip]
> I get a feel
> that you are not an average person so your impressions are not valid
> for them.
hahaha!! If you know who this mythical average person is, let me know
so we can pay her $$$ to test all of our software!!
;)
--
Iain Buchanan <iaindb at netspace dot net dot au>
revolutionary, adj.:
Repackaged.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-17 23:51 ` Thufir
2007-07-18 12:18 ` Alan McKinnon
@ 2007-07-18 13:30 ` Александър Л. Димитров
2007-07-18 19:35 ` Thufir
2007-07-19 0:25 ` Iain Buchanan
1 sibling, 2 replies; 21+ messages in thread
From: Александър Л. Димитров @ 2007-07-18 13:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1784 bytes --]
On 23:51 Tue 17 Jul, Thufir wrote:
> Oh. Why was the grub documentation not understandable like that?
> maybe I misread it. thanks for explaining!
I guess you missed it. `info grub' says (*Note chainloading)
---8<---8<----
4.1.2 Load another boot loader to boot unsupported operating systems
--------------------------------------------------------------------
If you want to boot an unsupported operating system (e.g. Windows 95),
chain-load a boot loader for the operating system. Normally, the boot
loader is embedded in the "boot sector" of the partition on which the
operating system is installed.
1. Set GRUB's root device to the partition by the command
`rootnoverify' (*note rootnoverify::):
grub> rootnoverify (hd0,0)
2. Set the "active" flag in the partition using the command
`makeactive'(1) (*note Chain-loading-Footnote-1::) (*note
makeactive::):
grub> makeactive
3. Load the boot loader with the command `chainloader' (*note
chainloader::):
grub> chainloader +1
`+1' indicates that GRUB should read one sector from the start of
the partition. The complete description about this syntax can be
found in *Note Block list syntax::.
4. Run the command `boot' (*note boot::).
However, DOS and Windows have some deficiencies, so you might have to
use more complicated instructions. *Note DOS/Windows::, for more
information.
---8<---8<----
Note that it's usually better to refer to the info command for more
serious documentation about GNU tools in general. RMS and his guys don't
exactly seem to like manpages that much that's what they have info for.
They have their point, but that's another flame war ;-)
Regards,
Aleks
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 13:30 ` Александър Л. Димитров
@ 2007-07-18 19:35 ` Thufir
2007-07-19 0:25 ` Iain Buchanan
1 sibling, 0 replies; 21+ messages in thread
From: Thufir @ 2007-07-18 19:35 UTC (permalink / raw
To: gentoo-user
On 7/18/07, Александър Л. Димитров <aleks_d@gmx.de> wrote:
> On 23:51 Tue 17 Jul, Thufir wrote:
> > Oh. Why was the grub documentation not understandable like that?
> > maybe I misread it. thanks for explaining!
>
> I guess you missed it. `info grub' says (*Note chainloading)
>
> ---8<---8<----
>
> 4.1.2 Load another boot loader to boot unsupported operating systems
> --------------------------------------------------------------------
>
> If you want to boot an unsupported operating system
[...]
I was going by:
"13.3.4 chainloader
— Command: chainloader [--force] file
Load file as a chain-loader. Like any other file loaded by the
filesystem code, it can use the blocklist notation to grab the first
sector of the current partition with `+1'. If you specify the option
--force, then load file forcibly, whether it has a correct signature
or not. This is required when you want to load a defective boot
loader, such as SCO UnixWare 7.1 (see SCO UnixWare). "
<http://www.gnu.org/software/grub/manual/grub.html#chainloader>
which is far less informative from my POV than the info message you
quoted. I did refer to the manual, just the wrong one, apparently :)
-Thufir
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 13:30 ` Александър Л. Димитров
2007-07-18 19:35 ` Thufir
@ 2007-07-19 0:25 ` Iain Buchanan
2007-07-19 0:51 ` Thufir
2007-07-19 11:36 ` Hans-Werner Hilse
1 sibling, 2 replies; 21+ messages in thread
From: Iain Buchanan @ 2007-07-19 0:25 UTC (permalink / raw
To: gentoo-user
On Wed, 2007-07-18 at 15:30 +0200, Александър Л. Димитров wrote:
> On 23:51 Tue 17 Jul, Thufir wrote:
> > Oh. Why was the grub documentation not understandable like that?
> > maybe I misread it. thanks for explaining!
>
> I guess you missed it. `info grub' says (*Note chainloading)
[snip]
> Note that it's usually better to refer to the info command for more
> serious documentation about GNU tools in general. RMS and his guys don't
> exactly seem to like manpages that much that's what they have info for.
> They have their point, but that's another flame war ;-)
I'm happy to leave the info vs man flamewar for someone else, but what I
_don't_ like is when you have both man and info, and one of them is very
deficient (in grub's case, man). The description is different, less
informative, and quite misleading. Instead, is should say either
nothing but "refer to info pages"; or it should be the same as the info
pages...
would anyone agree?
--
Iain Buchanan <iaindb at netspace dot net dot au>
The trouble was that he was talking in philosophy, but they were
listening in gibberish.
-- (Terry Pratchett, Small Gods)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-19 0:25 ` Iain Buchanan
@ 2007-07-19 0:51 ` Thufir
2007-07-19 11:36 ` Hans-Werner Hilse
1 sibling, 0 replies; 21+ messages in thread
From: Thufir @ 2007-07-19 0:51 UTC (permalink / raw
To: gentoo-user
On 7/19/07, Iain Buchanan <iaindb@netspace.net.au> wrote:
[...]
> > Note that it's usually better to refer to the info command for more
> > serious documentation about GNU tools in general. RMS and his guys don't
> > exactly seem to like manpages that much that's what they have info for.
> > They have their point, but that's another flame war ;-)
>
> I'm happy to leave the info vs man flamewar for someone else,
[...]
A curious state of affairs.
-Thufir, who doesn't mind a good flamewar from time to time, with discretion
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-19 0:25 ` Iain Buchanan
2007-07-19 0:51 ` Thufir
@ 2007-07-19 11:36 ` Hans-Werner Hilse
2007-07-19 14:02 ` Iain Buchanan
1 sibling, 1 reply; 21+ messages in thread
From: Hans-Werner Hilse @ 2007-07-19 11:36 UTC (permalink / raw
To: gentoo-user
Hi,
On Thu, 19 Jul 2007 09:55:58 +0930 Iain Buchanan
<iaindb@netspace.net.au> wrote:
> I'm happy to leave the info vs man flamewar for someone else, but
> what I _don't_ like is when you have both man and info, and one of
> them is very deficient (in grub's case, man). The description is
> different, less informative, and quite misleading. Instead, is
> should say either nothing but "refer to info pages"; or it should be
> the same as the info pages...
Yeah, like a short synopsis and then a clear reference, let's say along
the lines of
----snip----
The full documentation for grub is maintained as a Texinfo manual.
If the info and grub programs are properly installed at your site,
the command
info grub
should give you access to the complete manual.
----snip----
But looking at grub(8), it seems someone was faster. SCNR.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-19 11:36 ` Hans-Werner Hilse
@ 2007-07-19 14:02 ` Iain Buchanan
0 siblings, 0 replies; 21+ messages in thread
From: Iain Buchanan @ 2007-07-19 14:02 UTC (permalink / raw
To: gentoo-user
On Thu, 2007-07-19 at 13:36 +0200, Hans-Werner Hilse wrote:
> Hi,
>
> On Thu, 19 Jul 2007 09:55:58 +0930 Iain Buchanan
> <iaindb@netspace.net.au> wrote:
>
> > I'm happy to leave the info vs man flamewar for someone else, but
> > what I _don't_ like is when you have both man and info, and one of
> > them is very deficient (in grub's case, man). The description is
> > different, less informative, and quite misleading. Instead, is
> > should say either nothing but "refer to info pages"; or it should be
> > the same as the info pages...
>
> Yeah, like a short synopsis and then a clear reference, let's say along
> the lines of
> ----snip----
[snip]
> But looking at grub(8), it seems someone was faster. SCNR.
OK, I'm an idiot. I blabbed off at `man grub` without actually looking
at it... I thought it said something along the lines of the online grub
manual quoted by the OP...
back to my hole.
--
Iain Buchanan <iaindb at netspace dot net dot au>
You know, Moe, my mom once said something that really stuck with me. She
said, `Homer, you're a big disappointment,' and, God bless her soul, she
was really onto something.
-- Homer Simpson
There's No Disgrace Like Home
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-17 23:12 ` [gentoo-user] " »Q«
2007-07-17 23:51 ` Thufir
@ 2007-07-18 0:02 ` Iain Buchanan
2007-07-18 6:53 ` Mick
1 sibling, 1 reply; 21+ messages in thread
From: Iain Buchanan @ 2007-07-18 0:02 UTC (permalink / raw
To: gentoo-user
On Tue, 2007-07-17 at 18:12 -0500, »Q« wrote:
> In <news:bf6b6d5c0707171550sa74b587v3652ac2f00d3be8e@mail.gmail.com>,
> Thufir <hawat.thufir@gmail.com> wrote:
>
> >I've read the GRUB documentation, but still don't understand why the
> >following worked:
>
> [snip grub.conf]
>
> >I would've thought that the chainloader +1 statement would be required
> >-- that's my experience at least.
>
> It's only needed if you're booting an unsupported (by grub) OS;
no only unsupported OSs, you can chainload anything (bootable) such as
another linux distro, which has installed a bootloader into the
partition. See how this guy booted 30+ OS's from grub:
http://www.justlinux.com/forum/showthread.php?threadid=134856
> it
> tells grub to just hand off to another bootloader. The +1 tells grub
> to load the first sector of the OS's partition, which is where the
> other bootloader should be embedded.
>
> As long as you're booting Linux kernels, you can just point grub at
> them without using another bootloader.
you mean as long as grub understands the kernel and filesystem, you can
tell grub to load the kernel directly, with provided arguments.
I think :)
cya,
--
Iain Buchanan <iaindb at netspace dot net dot au>
Kevin: Dad, the fish got away.
Joe Swanson: The hell it did. You get in there and you kick that fish's ass.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 0:02 ` Iain Buchanan
@ 2007-07-18 6:53 ` Mick
2007-07-18 15:36 ` Neil Bothwick
0 siblings, 1 reply; 21+ messages in thread
From: Mick @ 2007-07-18 6:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]
On Wednesday 18 July 2007 01:02, Iain Buchanan wrote:
> On Tue, 2007-07-17 at 18:12 -0500, »Q« wrote:
> > In <news:bf6b6d5c0707171550sa74b587v3652ac2f00d3be8e@mail.gmail.com>,
> >
> > Thufir <hawat.thufir@gmail.com> wrote:
> > >I've read the GRUB documentation, but still don't understand why the
> > >following worked:
> >
> > [snip grub.conf]
> >
> > >I would've thought that the chainloader +1 statement would be required
> > >-- that's my experience at least.
> >
> > It's only needed if you're booting an unsupported (by grub) OS;
>
> no only unsupported OSs, you can chainload anything (bootable) such as
> another linux distro, which has installed a bootloader into the
> partition. See how this guy booted 30+ OS's from grub:
> http://www.justlinux.com/forum/showthread.php?threadid=134856
>
> > it
> > tells grub to just hand off to another bootloader. The +1 tells grub
> > to load the first sector of the OS's partition, which is where the
> > other bootloader should be embedded.
> >
> > As long as you're booting Linux kernels, you can just point grub at
> > them without using another bootloader.
>
> you mean as long as grub understands the kernel and filesystem, you can
> tell grub to load the kernel directly, with provided arguments.
>
> I think :)
If you have some reason not to mix one OS', or distro's boot files, kernels,
etc with another, plus if you want to try a different version of grub then
you can install grub separately in the new OS partition (instead of the MBR)
and chainload this from your primary grub installation. Should you wish to
remove the new OS at a later date, you will not need to rummage through the
primary OS' /boot to clean out redundant kernel images and what not.
Otherwise, as already mentioned, Grub will boot natively all Linux distros.
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: grub chainloader
2007-07-18 6:53 ` Mick
@ 2007-07-18 15:36 ` Neil Bothwick
0 siblings, 0 replies; 21+ messages in thread
From: Neil Bothwick @ 2007-07-18 15:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
On Wed, 18 Jul 2007 07:53:45 +0100, Mick wrote:
> If you have some reason not to mix one OS', or distro's boot files,
> kernels, etc with another, plus if you want to try a different version
> of grub then you can install grub separately in the new OS partition
> (instead of the MBR) and chainload this from your primary grub
> installation. Should you wish to remove the new OS at a later date,
> you will not need to rummage through the primary OS' /boot to clean out
> redundant kernel images and what not.
You don't need to mix files to have more than one distro boot from the
same GRUB menu, just set the root() parameter accordingly for each distro.
--
Neil Bothwick
I am NOT Paranoid! And why are you always watching me??
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2007-07-19 15:13 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 7:14 [gentoo-user] Re: grub chainloader burlingk
2007-07-19 6:25 ` Boyd Stephen Smith Jr.
-- strict thread matches above, loose matches on Subject: below --
2007-07-17 22:50 [gentoo-user] " Thufir
2007-07-17 23:12 ` [gentoo-user] " »Q«
2007-07-17 23:51 ` Thufir
2007-07-18 12:18 ` Alan McKinnon
2007-07-18 12:35 ` Etaoin Shrdlu
2007-07-18 14:20 ` Stroller
2007-07-18 15:00 ` Alan McKinnon
2007-07-18 16:06 ` Stroller
2007-07-18 17:32 ` Neil Bothwick
2007-07-19 7:44 ` Alan McKinnon
2007-07-19 0:31 ` Iain Buchanan
2007-07-18 13:30 ` Александър Л. Димитров
2007-07-18 19:35 ` Thufir
2007-07-19 0:25 ` Iain Buchanan
2007-07-19 0:51 ` Thufir
2007-07-19 11:36 ` Hans-Werner Hilse
2007-07-19 14:02 ` Iain Buchanan
2007-07-18 0:02 ` Iain Buchanan
2007-07-18 6:53 ` Mick
2007-07-18 15:36 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox