diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 04:08:23 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 05:34:38 +0100 |
commit | f2c9544e50c8a9774a2fa7d86bf2ee59761a92e7 (patch) | |
tree | 71ad964d475fbf6336060fd4d7488aea9d5d8add /config/binary_grub | |
parent | 7331f854ed32d4b079314c9b5418a79ae793b3e7 (diff) | |
download | kanotix-f2c9544e50c8a9774a2fa7d86bf2ee59761a92e7.zip kanotix-f2c9544e50c8a9774a2fa7d86bf2ee59761a92e7.tar.gz |
added "enable persistent" feature
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 |