Skip to contentSkip to conversation

Keyboards

DISCUSSION BandiPat 3 participants 5 messages Feb 4, 2009 – Feb 7, 2009

lore
Share & tools
lore

BandiPat

author
#0 lore raw

I am already getting good response from my Grub2 package for Zenwalk! Some questions are coming in I'm not sure about, so I will ask you guys.
Here is the text from his email:
1. Is it possible to set the keyboard layout for grub? It's always hard to find the right characters at lilo prompt.

2. The only real advantage is, that I don't have to run lilo after kernel updates? I still have to edit the config file for my self compiled kernel updates? Example: Original Zenwalk kernel is always symlinked as /boot/vmlinuz. But my own kernels have names like: /boot/vmlinuz-2.6.28.3 and should be booted as default. So after copying a new kernel to but I'll have to update my grub.cfg, too. Or is it posible to specify some "default settings" in that way:

set root=(hd0,2)

        linux   (hd0,2)/boot/vmlinuz-2.6.*.* root=/dev/sda2 ro 

splash=silent vga=794
}
Which would list all vmlinuz-2.6.*.* kernels as menuentry and automatically set the highest version number as default. This would be cool :-D
---------------

I think the second is possible and requested he give it a try, but the keyboard thing, I just wasn't sure about.

Thanks,
Pat

Signature · 3 lines
       ---Zenwalk v6.0--Linux 2.6.28---
        Registered Linux User #225206
"Ever tried Zen computing?"  http://www.zenwalk.org
#1 lore raw

Am Mittwoch, den 04.02.2009, 16:17 -0500 schrieb BandiPat:

Quoted 2 lines

1. Is it possible to set the keyboard layout for grub? It's always hard to find the right characters at lilo prompt.

No.

Quoted 3 lines

2. The only real advantage is, that I don't have to run lilo after kernel updates? I still have to edit the config file for my self compiled kernel updates?

Yes or rerun grub-mkconfig.
On Debian/Ubuntu there is /etc/kernel-img.conf where you can specifiy a postinst_hook which calls update-grub (which is just a stub for grub-mkconfig)

Quoted 7 lines

set root=(hd0,2)

         linux   (hd0,2)/boot/vmlinuz-2.6.*.* root=/dev/sda2 ro 

splash=silent vga=794
}
Which would list all vmlinuz-2.6.*.* kernels as menuentry and automatically set the highest version number as default. This would be cool :-D

Good idea but that isn't currently possible I think.

Signature · 1 line
Felix Zielcke
author
#2 lore raw
Quoted 13 lines · Felix Zielcke

Am Mittwoch, den 04.02.2009, 16:17 -0500 schrieb BandiPat:

Quoted 1 line

1. Is it possible to set the keyboard layout for grub? It's always hard to find the right characters at lilo prompt.

No.

Quoted 1 line

2. The only real advantage is, that I don't have to run lilo after kernel updates? I still have to edit the config file for my self compiled kernel updates?

Yes or rerun grub-mkconfig.
On Debian/Ubuntu there is /etc/kernel-img.conf where you can specifiy a postinst_hook which calls update-grub (which is just a stub for grub-mkconfig)

Quoted 8 lines
Quoted 5 lines

set root=(hd0,2)

         linux   (hd0,2)/boot/vmlinuz-2.6.*.* root=/dev/sda2 ro 

splash=silent vga=794
}
Which would list all vmlinuz-2.6.*.* kernels as menuentry and automatically set the highest version number as default. This would be cool :-D

Good idea but that isn't currently possible I think.

============
Ok, thanks Felix, maybe these questions will be some good suggestions for you guys to think about adding. I can see where the keyboard thing might be helpful, but the other just seems to be a matter of running grub-mkconfig, as it's pretty thorough in it's operation.

I have a suggestion, question or recommendation, also. When Grub2 boots to the loader screen, could you guys change the heading? From:
GNU GRUB versioni 1.96 to either GNU GRUB2 or GNU GRUB2 version 2.0? Since 1.96 is over one year old, it's kinda obsolete now compared to the latest svn, plus it seems appropriate to show this is GRUB2, not GRUB.

Just a thought,
Pat

Signature · 3 lines
       ---Zenwalk v6.0--Linux 2.6.28---
        Registered Linux User #225206
"Ever tried Zen computing?"  http://www.zenwalk.org
#3 lore raw
In reply to BandiPat
Quoted 5 lines · BandiPat

I am already getting good response from my Grub2 package for Zenwalk! Some questions are coming in I'm not sure about, so I will ask you guys.
Here is the text from his email:
1. Is it possible to set the keyboard layout for grub? It's always hard to find the right characters at lilo prompt.

There's someone (Carles Pina) working on that, but his work's not ready yet.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
#4 lore raw
In reply to BandiPat
Quoted 11 lines · BandiPat

/boot/vmlinuz-2.6.28.3 and should be booted as default. So after copying a new kernel to but I'll have to update my grub.cfg, too. Or is it posible to specify some "default settings" in that way:

set root=(hd0,2)

        linux   (hd0,2)/boot/vmlinuz-2.6.*.* root=/dev/sda2 ro 

splash=silent vga=794
}
Which would list all vmlinuz-2.6.*.* kernels as menuentry and automatically set the highest version number as default. This would be cool :-D

The idea about letting grub-mkconfig do such things is that since it has access to a complete Unixy environment, it can be smarter than what GRUB would do. Also, this design allows GRUB to be smaller/faster that it would be if we had to do everything at every boot.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."