- Code: Select all
label sid
menu label sid
kernel /sid/vmlinuz quiet
append initrd=/sid/initrd.img boot=live ip=frommedia union=aufs findiso=/sid/snapshot140102_1452.iso
label initrd.custom.img
menu label Refracta (initrd.custom.img)
kernel /sdc1/live/vmlinuz quiet
append initrd=/sdc1/live/initrd.custom.img boot=live ip=frommedia union=aufs config=openssh-server basemountmode=rw,noatime,umask=000 live-media-path=/sdc1/live
label persistence
menu label Refracta (persistence)
kernel /sdc1/live/vmlinuz quiet
append initrd=/sdc1/live/initrd.custom.img boot=live ip=frommedia union=aufs config=openssh-server basemountmode=rw,noatime,umask=000 live-media-path=/sdc1/live persistence persistence-media=removable-usb persistence-path=/sid/ persistence-encryption=none,luks
Should be (tested and working like this):
- Code: Select all
label sid
menu label sid
kernel /sid/vmlinuz quiet
append initrd=/sid/initrd.img boot=live ip=frommedia union=aufs findiso=/sid/snapshot140102_1452.iso
label initrd.custom.img
menu label sid (initrd.custom.img)
kernel /sid/vmlinuz quiet
append initrd=/sid/initrd.custom.img boot=live ip=frommedia union=aufs config=openssh-server basemountmode=rw,noatime,umask=000 findiso=/sid/snapshot140102_1452.iso
label persistence
menu label sid (persistence)
kernel /sid/vmlinuz quiet
append initrd=/sid/live/initrd.custom.img boot=live ip=frommedia union=aufs config=openssh-server basemountmode=rw,noatime,umask=000 findiso=/sid/snapshot140102_1452.iso persistence persistence-media=removable-usb persistence-path=/sid/ persistence-encryption=none,luks
Not a problem here as the menu editor opens and I know what to change, however most users probably don't.
Unfortunately the more options that are automated the more complex the script becomes (1284 lines). Automatic menu editing was found here the most difficult in the past because there are so many possibilities in live-boot beyond the default /live/filesystem.squashfs
Users who need more advanced options must expect that some things have to be done manually. There are limits to what an automated script can do, the rest is down to good documentation with examples.
Advanced options aside, I found nothing wrong yet in the main menu. That matters most.