![]() Since it is impossible to pass parameters to such functions in the usual way, it is necessary to declare additional variables of the type ISO, ISOwohd and initrdX.A variable name that is too long causes an error.The problems I encountered in the process of using this method: Kernel (0xff)/casper/vmlinuz%vmlinuzX% file=/cdrom/preseed/ed boot=casper persistent iso-scan/filename=%ISOwohd% splash # initrdX is file extension of initrd file Menu.lst: set ldcasper=(hd0,0)/boot/grub4dos/load_casper.lst Menu.lst: set ldpartnew=(hd0,0)/boot/grub4dos/load_partnew.lst Grub4Dos don't have functions in the usual sense (as in Grub2) but you can use configfile command as functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |