Skip to contentSkip to conversation

Three question about grub2

DISCUSSION J.Bakshi 3 participants 5 messages Aug 7, 2009

lore
Share & tools
lore

J.Bakshi

author
#0 lore raw

Hello list,

I am collecting some toolkits in my usb-stick powered with grub2. I installed grub2 in this stick from my debian squeeze box. During grub configuration some question has developed in my mind and I might be permitted to ask those in this list.

1] I am trying to boot the latest memtest86+ (v2.11) with grub2 as

`````````````````````
menuentry "memtest86+-2.11"
{
set root=(hd0,2)
linux /memtest86+-2.11.bin
}
```````````````````````````

but grub reports

````````````````````
zImage doesn't suppoert 32-bit boot (try with linux16)
```````````````````````

I did some googling with this error but haven't found any solution. What does it mean and how can I fix it ?

2] In syslinux.cfg we use "TEXT" to display message. How to do the same in grub2 ?

3] I have seen some distro has keyboard interactive feature in GRUB. Like "press F2" for help etc. There should be a file with the required messages to display. But how to bind it with F2 key within grub configuration to make it work ?

I will be very grateful if someone kindly explain these. Also like to know if any good doc is available.

Thanks

#1 lore raw

Am Freitag, den 07.08.2009, 14:19 +0530 schrieb J.Bakshi:

Quoted 17 lines

Hello list,

I am collecting some toolkits in my usb-stick powered with grub2. I installed grub2 in this stick from my debian squeeze box. During grub configuration some question has developed in my mind and I might be permitted to ask those in this list.

1] I am trying to boot the latest memtest86+ (v2.11) with grub2 as

`````````````````````
menuentry "memtest86+-2.11"
{
set root=(hd0,2)
linux /memtest86+-2.11.bin
}
```````````````````````````
Quoted 8 lines

but grub reports

````````````````````
zImage doesn't suppoert 32-bit boot (try with linux16)
```````````````````````

I did some googling with this error but haven't found any solution. What does it mean and how can I fix it ?

grub tells you.
Use linux16 /memtest86+-2.11.bin

Quoted 2 lines

2] In syslinux.cfg we use "TEXT" to display message. How to do the same in grub2 ?

echo command.

Quoted 4 lines

3] I have seen some distro has keyboard interactive feature in GRUB. Like "press F2" for help etc. There should be a file with the required messages to display. But how to bind it with F2 key within grub configuration to make it work ?

Official grub2 doestn't have such a feature.
I don't know if Colin Bennet implemented this with his theme support or if the screenshots there just show how it could be displayed if there were such a feature.

Quoted 2 lines

I will be very grateful if someone kindly explain these. Also like to know if any good doc is available.

All avaible documentation is in the official wiki http://grub.enbug.org

Signature · 2 lines
Felix Zielcke
Proud Debian Maintainer
author
#2 lore raw
Quoted 45 lines · Felix Zielcke

Am Freitag, den 07.08.2009, 14:19 +0530 schrieb J.Bakshi:

Quoted 17 lines

Hello list,

I am collecting some toolkits in my usb-stick powered with grub2. I installed grub2 in this stick from my debian squeeze box. During grub configuration some question has developed in my mind and I might be permitted to ask those in this list.

1] I am trying to boot the latest memtest86+ (v2.11) with grub2 as

`````````````````````
menuentry "memtest86+-2.11"
{
set root=(hd0,2)
linux /memtest86+-2.11.bin
}
```````````````````````````
Quoted 8 lines

but grub reports

````````````````````
zImage doesn't suppoert 32-bit boot (try with linux16)
```````````````````````

I did some googling with this error but haven't found any solution. What does it mean and how can I fix it ?

grub tells you.
Use linux16 /memtest86+-2.11.bin

Quoted 2 lines

2] In syslinux.cfg we use "TEXT" to display message. How to do the same in grub2 ?

echo command.

Quoted 4 lines

3] I have seen some distro has keyboard interactive feature in GRUB. Like "press F2" for help etc. There should be a file with the required messages to display. But how to bind it with F2 key within grub configuration to make it work ?

Official grub2 doestn't have such a feature.
I don't know if Colin Bennet implemented this with his theme support or if the screenshots there just show how it could be displayed if there were such a feature.

Quoted 5 lines
Quoted 2 lines

I will be very grateful if someone kindly explain these. Also like to know if any good doc is available.

All avaible documentation is in the official wiki http://grub.enbug.org

Many many thanks. Now memtest86+ is booting without any problem. Thanks for the other tips.
Wish you a nice time.

author
#3 lore raw
Quoted 3 lines · J.Bakshi
Quoted 2 lines · Felix Zielcke

Am Freitag, den 07.08.2009, 14:19 +0530 schrieb J.Bakshi:

Quoted 1 line

Hello list,

[snip......]

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

2] In syslinux.cfg we use "TEXT" to display message. How to do the same in grub2 ?

echo command.

Many many thanks. Now memtest86+ is booting without any problem. Thanks for the other tips.
Wish you a nice time.

[snip...../]

Coming back with one more question in mind. ( already searched bot no luck yet ). "echo" can dispaly message. Is there ( by any luck ) any command to display message from a file ?

Thanks

#4 lore raw
Quoted 3 lines · J.Bakshi

Coming back with one more question in mind. ( already searched bot no luck yet ). "echo" can dispaly message. Is there ( by any luck ) any command to display message from a file ?

cat

--
Marco