remastersys修改默认选项

时间:2021-11-10 16:20:10

1、vim /etc/remastersys/isolinux/isolinux.cfg.vesamenu

default vesamenu.c32
prompt 0
timeout 100

menu title __LIVECDLABEL__
menu background splash.png
menu color title 1;37;44 #c0ffffff #00000000 std

label live
menu label live - boot the Live System
kernel /casper/vmlinuz
append file=/cdrom/preseed/custom.seed boot=casper initrd=/casper/initrd.gz quiet splash --

label xforcevesa
menu label xforcevesa - boot Live in safe graphics mode
kernel /casper/vmlinuz
append file=/cdrom/preseed/custom.seed boot=casper xforcevesa initrd=/casper/initrd.gz quiet splash --

label install
menu default
menu label install - start the installer directly
kernel /casper/vmlinuz
append file=/cdrom/preseed/custom.seed boot=casper only-ubiquity initrd=/casper/initrd.gz quiet splash --

label memtest
menu label memtest - Run memtest
kernel /install/memtest
append -

label hd
menu label hd - boot the first hard disk
localboot 0x80
append -

2、可以调整顺序,删除不必要项,或者在想要设置为默认项的选项内加上 menu default

3、修改打包镜像内容,请编辑/etc/remastersys.conf。