|
这个菜单前提是这样的
我下载了一个ubuntu.iso,虚拟了一个磁盘,把这个ISO安装到虚拟磁盘了,复制了里面的文件到u盘ubuntu文件夹,然后u盘的引导是grub4dos,我该如何写菜单????
于是打开ubuntu里面寻找 发现里面txt.cfg菜单文件如下: 是syslinux引导的
label live
menu label ^Live Mode
kernel /casper/vmlinuz
append bootkbd=us console-setup/layoutcode=en_US console-setup/variantcode=nodeadkeys locale=us_us noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz splash --
label live-install
menu label ^Install
kernel /casper/vmlinuz
append bootkbd=us console-setup/layoutcode=en_US console-setup/variantcode=nodeadkeys locale=us_us only-ubiquity noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz splash --
label check
menu label ^File Integrity Check
kernel /casper/vmlinuz
append bootkbd=us console-setup/layoutcode=en_US console-setup/variantcode=nodeadkeys locale=us_us noprompt boot=casper integrity-check initrd=/casper/initrd.lz splash --
label memtest
menu label ^Memory Test
kernel /install/mt86plus
|
|