[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

update-grub - dodanie do automatyki opcji jak vga



Witam.

Mam następujący problem. Debian po instalacji kernela uaktualnia gruba.
i tak w kernel
mam:

title        Debian GNU/Linux, kernel 2.6.16.16.mons12
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.16.16.mons12 root=/dev/hda2 ro
boot

a chce by po wygenerowaniu miał:

title        Debian GNU/Linux, kernel 2.6.16.16.mons12 initng
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.16.16.mons12 root=/dev/hda2
init=/sbin/initng ro vga=795
savedefault
boot

Cos musze zle robic, poniewaz nie moge znaleźć informacji na ten temat.
Edytowałem:

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
alternative=true

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single
altoptions=(extra menu suffix) init=/sbin/initng vga=795

Ale za każdym razem, po wpisaniu update-grub on to ignoruje. To po co to
jest w tym pliku. Rozumiem, że jak raz ustawie te opcje, to powinny być
na stałe, a tu dupa. Na razie stworzyłem sobie jeden wpis poza polem
automatycznie generowanym. Jednak coś musi być nie tak skoro grub nie
bierze pod uwagę tych wartości. Jeśli macie jakieś informacje na ten
temat, aby to zadziałało dajcie znać.
Dzięki

--
Pozdrawiam serdecznie,
mons



Reply to: