diff options
Diffstat (limited to 'config/binary_grub')
-rw-r--r-- | config/binary_grub/grub.cfg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/binary_grub/grub.cfg b/config/binary_grub/grub.cfg index 3cd4f20..902c01e 100644 --- a/config/binary_grub/grub.cfg +++ b/config/binary_grub/grub.cfg @@ -28,6 +28,27 @@ else set menu_color_highlight=white/blue fi +insmod part_msdos +insmod btrfs +if search --label --set liverw --no-floppy live-rw ; then + if test -e (${liverw})/grub.cmdline ; then + source (${liverw})/grub.cmdline + menuentry 'Start Kanotix (persistent)' --class kanotix64 --class gnu-linux --class gnu --class os { + echo 'Loading Linux ...' + linux /live/vmlinuz ${persistent_cmdline} + echo 'Loading initial ramdisk ...' + initrd /live/initrd.img + } + else + menuentry 'Start Kanotix (persistent)' --class kanotix64 --class gnu-linux --class gnu --class os { + echo 'Loading Linux ...' + linux /live/vmlinuz ${boot_en} quiet splash persistent + echo 'Loading initial ramdisk ...' + initrd /live/initrd.img + } + fi +fi + menuentry 'Start Kanotix DE' --class kanotix64 --class gnu-linux --class gnu --class os { echo 'Loading Linux ...' linux /live/vmlinuz ${boot_de} quiet splash |