On Wed, 13 Apr 2011, Krisztian VASAS wrote:
> On 2011.04.13. 9:43, SZABO Zsolt wrote:
>> --- 8< ---
>> DEFAULT local
>> PROMPT 1
>> TIMEOUT 20
>> LABEL local
>> LOCALBOOT 0
>>
>> LABEL ltsp
>> KERNEL vmlinuz
>> APPEND ro initrd=initrd.img root=/dev/nfs ip=dhcp boot=nfs
>>
>> LABEL ntinst
>> KERNEL unattended/bzImage
>> APPEND initrd=unattended/initrd
>> --->8 ---
>
> Ez igy eddig tokeletes
>
>> Ezt az opciot gondoltam kiegesziteni a debian netboot-install-al, ugy hogy
>> beirtam a vegere a kovetkezot:
>> LABEL debinst
>> include debian-installer/i386/boot-screens/menu.cfg
>> KERNEL debian-installer/i386/boot-screens/vesamenu.c32
>
> Egyreszt a KERNEL nem a vesamenu.c32, masreszt valoszinuleg a menu.cfg
> vesamenu-t hasznal, az pedig maskepp kezeli a default inditast (az adott
> labelnel elsutott "MENU DEFAULT" paranccsal).
>
> Vagy hasznalj mind2 helyen vesamenut, vagy ne include-olj, hanem illeszd
> be a sajat menudbe a kello opciokat...
A...ha!
Vegul a kovetkezo default file-t csinaltam:
PROMPT 0
TIMEOUT 30
# igy a default-ot 3 mp mulva bootolja
include debian-installer/i386/boot-screens/menu.cfg
# a tobbi a debinstall menupontok ala kerul:
LABEL ntinstall
KERNEL unattended/bzImage
APPEND initrd=unattended/initrd
LABEL ltsp
KERNEL vmlinuz
APPEND ro initrd=initrd.img root=/dev/nfs ip=dhcp boot=nfs
LABEL local
LOCALBOOT 0
MENU default
# igy a "local" lesz a default
# es a fenti menuk kezeleset egybol a vesamenu-re bizzuk...
default debian-installer/i386/boot-screens/vesamenu.c32
--
sZs
PS: a vesamenu-t egyebkent a kov. modon lehetett volna kikerulni,
az utolso "default ..." sor helyett:
DEFAULT local
PROMPT 1
SAY Choose ltsp, etc. or debinst!
LABEL debinst
KERNEL debian-installer/i386/boot-screens/vesamenu.c32
Ekkor a vesamenu csak a debinst beirasa utan jelenik meg,
es egyebkent default-kent a TIMEOUT utan a "local" bootol...
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux