From: jasee on

"Will Kemp" <will(a)xxxx.swaggie.net> wrote in message
news:6Ap2l.1234$er1.355(a)newsfe18.ams2...
> jasee wrote:
>> "Martin Gregorie" <martin(a)see.sig.for.address.invalid> wrote in message
>> news:gibjjs$e43$2(a)localhost.localdomain...
>>> On Wed, 17 Dec 2008 17:30:12 +0000, jasee wrote:
>>>
>>>> Yes, thanks, that's all pretty clear now (the bizarre quoting was
>>>> Outllook's Expresses fault, if you save, then edit it, it has already
>>>> inserted quotes) I'm just not now sure how you get multiple operating
>>>> system lines in the boot loader, it's pretty clear from the previous
>>>> explanation how you get one, but can you simply add another using grub?
>>> Just edit GRUB's boot menu, usually /boot/grub/grub.conf
>>
>> Thanks, that seems even easier!
>
> Yeah, what you really need to do is to have one linux system that's got a
> "primary" grub config in it - which uses the MBR. In any other linux
> systems you want to boot, install grub on that partition's boot sector.
>
> Then, in the "primary" grub.conf, add the following three lines for each
> other linux system:
>
>
> title <name of distro or something>
> rootnoverify (hd0,0)
> chainloader +1
>
>
> Where "<name of distro or something>" is whatever you want to come up in
> the grub boot menu. And replace (hd0,0) with whichever partition the
> system you want to boot is on.
>
> In grub's notation, hd0,0 is /dev/sda1 (or /dev/hda1, or whatever). So,
> for example, /dev/sda4 would be hd0,3 and /dev/sdb2 would be hd1,1 (etc).
>

Thanks, useful

When should splashimages be shown? Some are set but they aren't shown,
AFAICT.

More importantly how do you set the default? in the boot menu: It says "1",
so I change it to 4, it still defaults to 1! I put four in number 1's place
with it set to 1 and it defaults to 2!

"Chainloader +1" seems to go to the first sector of the partition it's
linked to in the preceeding line.

Grub=GRand Unified Boot loader! Well, I didn't know!



From: Will Kemp on
jasee wrote:
> "Will Kemp" <will(a)xxxx.swaggie.net> wrote in message
> news:6Ap2l.1234$er1.355(a)newsfe18.ams2...
>> jasee wrote:
>>> "Martin Gregorie" <martin(a)see.sig.for.address.invalid> wrote in message
>>> news:gibjjs$e43$2(a)localhost.localdomain...
>>>> On Wed, 17 Dec 2008 17:30:12 +0000, jasee wrote:
>>>>
>>>>> Yes, thanks, that's all pretty clear now (the bizarre quoting was
>>>>> Outllook's Expresses fault, if you save, then edit it, it has already
>>>>> inserted quotes) I'm just not now sure how you get multiple operating
>>>>> system lines in the boot loader, it's pretty clear from the previous
>>>>> explanation how you get one, but can you simply add another using grub?
>>>> Just edit GRUB's boot menu, usually /boot/grub/grub.conf
>>> Thanks, that seems even easier!
>> Yeah, what you really need to do is to have one linux system that's got a
>> "primary" grub config in it - which uses the MBR. In any other linux
>> systems you want to boot, install grub on that partition's boot sector.
>>
>> Then, in the "primary" grub.conf, add the following three lines for each
>> other linux system:
>>
>>
>> title <name of distro or something>
>> rootnoverify (hd0,0)
>> chainloader +1
>>
>>
>> Where "<name of distro or something>" is whatever you want to come up in
>> the grub boot menu. And replace (hd0,0) with whichever partition the
>> system you want to boot is on.
>>
>> In grub's notation, hd0,0 is /dev/sda1 (or /dev/hda1, or whatever). So,
>> for example, /dev/sda4 would be hd0,3 and /dev/sdb2 would be hd1,1 (etc).
>>
>
> Thanks, useful
>
> When should splashimages be shown? Some are set but they aren't shown,
> AFAICT.

I dunno anything about splash images, i'm afraid.

> More importantly how do you set the default? in the boot menu: It says "1",
> so I change it to 4, it still defaults to 1! I put four in number 1's place
> with it set to 1 and it defaults to 2!

In my grub.conf it's got

default=0

on the first non-comment line. That selects the first boot entry. I've
changed 'default' in the past and it's worked as expected for me. Are
you sure your 'default' statement is in the right place (i.e., before
the boot entries start)?

> "Chainloader +1" seems to go to the first sector of the partition it's
> linked to in the preceeding line.

Yeah. That's the partition boot sector. I believe the "+1" tells it to
read one sector starting at sector 0 (which is an optional parameter). I
think it could also be written "chainloader 0+1" - in other words, start
at 0 and read one sector).



--
http://NovemberEchoRomeoDelta.com
From: Geoffrey Clements on
Will Kemp wrote:

> jasee wrote:

[snip]

>>
>> When should splashimages be shown? Some are set but they aren't shown,
>> AFAICT.
>
> I dunno anything about splash images, i'm afraid.
>

I seem to remember that there are strict limitations to the image format so
you can't just use any image - are you using images that are designed as
grub splash screens? If so they should work, the line should look something
like this:

splashimage=(hd0,0)/grub/myimage.xpm.gz

substituting your own path.

[snip]

--
Geoff Registered Linux user 196308
Replace bitbucket with geoff to mail me.
From: jasee on
Will Kemp wrote:
> jasee wrote:
>> "Will Kemp" <will(a)xxxx.swaggie.net> wrote in message
>> news:6Ap2l.1234$er1.355(a)newsfe18.ams2...
>>> jasee wrote:
>>> Then, in the "primary" grub.conf, add the following three lines for
>>> each other linux system:
>>>
>>>
>>> title <name of distro or something>
>>> rootnoverify (hd0,0)
>>> chainloader +1
>>>
>>>
>>> Where "<name of distro or something>" is whatever you want to come
>>> up in the grub boot menu. And replace (hd0,0) with whichever
>>> partition the system you want to boot is on.
>>>
>>> In grub's notation, hd0,0 is /dev/sda1 (or /dev/hda1, or whatever).
>>> So, for example, /dev/sda4 would be hd0,3 and /dev/sdb2 would be
>>> hd1,1 (etc).
>>
>> When should splashimages be shown? Some are set but they aren't
>> shown, AFAICT.
>
> I dunno anything about splash images, i'm afraid.

OK
>
>> More importantly how do you set the default? in the boot menu: It
>> says "1", so I change it to 4, it still defaults to 1! I put four in
>> number 1's place with it set to 1 and it defaults to 2!
>
> In my grub.conf it's got
>
> default=0
>
> on the first non-comment line. That selects the first boot entry. I've
> changed 'default' in the past and it's worked as expected for me. Are
> you sure your 'default' statement is in the right place (i.e., before
> the boot entries start)?

Yes
Just doesn't work here :-(