On Friday 11 December 2009 18:20:20 Luca Bertoncello wrote:
> Hallo, Liste!
> 
> Ich habe "vga=791 acpi=force" bei der Einträge in GRUB hinzugefügt.
> 
> Wenn ich den Kernel aktualisiere, APT will auch die Einträge in GRUB
> bearbeiten (richtig so!), aber ich muß immer manuell diese Befehle
>  hinzufügen.
> 
> Gibt es nicht eine Möglichkeit, sie als Standardwerte für die Images
>  irgendwo einzutragen, so daß GRUB selber sie hinzufügt?
> Ich nutze Ubuntu 8.04 Server.
> 
> Danke
> Luca Bertoncello
> ([email protected])
> 
grub (normal) legt in /boot/grub/menu.lst eine "normale" und eine 
"automatische" Liste an:

Bei mir sieht es so aus:

<snip>
title           Eigenbau 2.6.32
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.32 root=/dev/hda1 ro

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs
<snip>

In der Zeile ^kernel.* kannst Du eintragen, was Du willst.
(Und es bleibt da ...)

-------------

grub2 hat in /etc/grub.d dafür einige Einträge. Dort geht das besser zu 
organisieren und mit "update-grub2" nach /boot/grub/grub.cfg automatisiert zu 
übernehmen.
Bisher habe ich mit grub2 keine größeren Probleme gehabt! Nur Mut!

Bernhard


_______________________________________________
Lug-dd maillist  -  [email protected]
https://ssl.schlittermann.de/mailman/listinfo/lug-dd

Antwort per Email an