Re: update-grub - dodanie do automatyki opcji jak vga
On Monday 22 May 2006 21:17, mons wrote:
> 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ć.
A próbowałeś w tym miejscu:
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda2 ro vga=791
Pozdrawiam
--
Grzegorz Szymański | mailto:czadmang@poczta.fm | pgp:0x14A27314
jabber ID: czadmang@jabber.autocom.pl
----------------------------------------------------------------------
Tysiace zdjec swietnych samochodow! >>> http://link.interia.pl/f1944
Reply to: