Please help. I created snapshot in a timeshift. Then I wanted to change theme of grub-menu and updated grub - sudo update-grub, but live mode disappeared! I decided to make a backup in a timeshift, system was restored, but there is no live mode in grub! How can I restore live mode in grub-menu?
Fixed in update released just now.
Update returned live mode to grub. Now, when choosing lives, 2 kernels: 6.1.0-32 and 6.1.0-28 But both kernels do notrun live mode
Live Check Result:
Live Mode Active: No
Persistent Mode Active: Yes
Live mode cannot be launched after updating
Yes. Live mode does not work after update
It is possible your new grub theme changed layout of buttons in menu. Try other buttons
My friends and I lost live mode buttons after update. We are using default kicksecure grub theme. There are only 2 buttons in grub menu now. Reinstall grub-live?
Please provide debug information as per:
Missing grub-live boot menu entry
Meanwhile you can use:
Live Mode without grub-live
You probably have a this symlink /etc/grub.d/11_linux_live /etc/grub.d/09_linux_live
. Remove it and try sudo ln -s /etc/grub.d/10_01_linux_live /etc/grub.d/09_linux_live
. @Patrick grub-live documentation need an update
Did you use Set grub-live as Default in GRUB boot menu?
This wiki chapter has been updated just now.
[user ~]% dpkg-query -W -f='${db:Status-Status}' initramfs-tools
installed%
[user ~]% dpkg-query -W -f='${db:Status-Status}' dracut
config-files%
[user ~]% dpkg -l | grep dist-base-files
ii dist-base-files 3:12.5-1 all base files for distributions
[user ~]% dpkg -l | grep grub-live
ii grub-live 3:6.9-1 all grub live boot menu entry
ii grub-live-initramfs-tools 3:6.9-1 all grub live initramfs-tools dependencies
[user ~]% sudo cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
font="/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1280x720
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
insmod gfxmenu
loadfont ($root)/grub/themes/dist-common/inter-grub_regular_17.pf2
loadfont ($root)/grub/themes/dist-common/inter-grub_regular_20.pf2
loadfont ($root)/grub/themes/dist-common/terminus-grub_14.pf2
insmod png
set theme=($root)/grub/themes/kicksecure/theme-16x9.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=60
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=60
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
insmod png
if background_image /grub/.background_cache.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###### BEGIN /etc/grub.d/10_00_linux_dist ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=1024x768
export linux_gfx_mode
menuentry 'Kicksecure GNU/Linux' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-32-amd64 ...'
linux /vmlinuz-6.1.0-32-amd64 root=UUID=58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-32-amd64
}
### END /etc/grub.d/10_00_linux_dist ###
### BEGIN /etc/grub.d/10_01_linux_live ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=1024x768
export linux_gfx_mode
menuentry 'Kicksecure LIVE mode USER (For daily activities.) GNU/Linux' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-32-amd64 ...'
linux /vmlinuz-6.1.0-32-amd64 root=/dev/disk/by-uuid/58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy boot=live plainroot union=overlay ip=frommedia noeject nopersistence rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-32-amd64
}
### END /etc/grub.d/10_01_linux_live ###
### BEGIN /etc/grub.d/10_50_linux_dist_advanced ###
submenu 'Advanced options for Kicksecure GNU/Linux' $menuentry_id_option 'gnulinux-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
menuentry 'Kicksecure GNU/Linux, with Linux 6.1.0-32-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-32-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-32-amd64 ...'
linux /vmlinuz-6.1.0-32-amd64 root=UUID=58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-32-amd64
}
menuentry 'Kicksecure GNU/Linux, with Linux 6.1.0-31-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-31-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-31-amd64 ...'
linux /vmlinuz-6.1.0-31-amd64 root=UUID=58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-31-amd64
}
menuentry 'Kicksecure GNU/Linux, with Linux 6.1.0-30-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-30-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-30-amd64 ...'
linux /vmlinuz-6.1.0-30-amd64 root=UUID=58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-30-amd64
}
menuentry 'Kicksecure GNU/Linux, with Linux 6.1.0-29-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-29-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-29-amd64 ...'
linux /vmlinuz-6.1.0-29-amd64 root=UUID=58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-29-amd64
}
menuentry 'Kicksecure GNU/Linux, with Linux 6.1.0-28-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-28-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-28-amd64 ...'
linux /vmlinuz-6.1.0-28-amd64 root=UUID=58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-28-amd64
}
}
### END /etc/grub.d/10_50_linux_dist_advanced ###
### BEGIN /etc/grub.d/10_51_linux_live_advanced ###
submenu 'Advanced options for Kicksecure LIVE mode USER (For daily activities.) GNU/Linux' $menuentry_id_option 'gnulinux-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
menuentry 'Kicksecure LIVE mode USER (For daily activities.) GNU/Linux, with Linux 6.1.0-32-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-32-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-32-amd64 ...'
linux /vmlinuz-6.1.0-32-amd64 root=/dev/disk/by-uuid/58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy boot=live plainroot union=overlay ip=frommedia noeject nopersistence rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-32-amd64
}
menuentry 'Kicksecure LIVE mode USER (For daily activities.) GNU/Linux, with Linux 6.1.0-31-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-31-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-31-amd64 ...'
linux /vmlinuz-6.1.0-31-amd64 root=/dev/disk/by-uuid/58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy boot=live plainroot union=overlay ip=frommedia noeject nopersistence rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-31-amd64
}
menuentry 'Kicksecure LIVE mode USER (For daily activities.) GNU/Linux, with Linux 6.1.0-30-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-30-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-30-amd64 ...'
linux /vmlinuz-6.1.0-30-amd64 root=/dev/disk/by-uuid/58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy boot=live plainroot union=overlay ip=frommedia noeject nopersistence rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-30-amd64
}
menuentry 'Kicksecure LIVE mode USER (For daily activities.) GNU/Linux, with Linux 6.1.0-29-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-29-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-29-amd64 ...'
linux /vmlinuz-6.1.0-29-amd64 root=/dev/disk/by-uuid/58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy boot=live plainroot union=overlay ip=frommedia noeject nopersistence rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-29-amd64
}
menuentry 'Kicksecure LIVE mode USER (For daily activities.) GNU/Linux, with Linux 6.1.0-28-amd64' --class kicksecure --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-28-amd64-advanced-58dc0e04-da6f-455b-adc2-07cfe8d444c2' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root f04e2c53-0b40-487d-865d-e7258b39951a
echo 'Loading Linux 6.1.0-28-amd64 ...'
linux /vmlinuz-6.1.0-28-amd64 root=/dev/disk/by-uuid/58dc0e04-da6f-455b-adc2-07cfe8d444c2 ro mitigations=auto,nosmt nosmt=force spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on ssbd=force-on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force l1d_flush=on mmio_stale_data=full,nosmt retbleed=auto,nosmt gather_data_sampling=force reg_file_data_sampling=on slab_nomerge slab_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on randomize_kstack_offset=on vsyscall=none debugfs=off kfence.sample_interval=100 vdso32=0 amd_iommu=force_isolation intel_iommu=on iommu=force iommu.passthrough=0 iommu.strict=1 efi=disable_early_pci_dma random.trust_bootloader=off random.trust_cpu=off extra_latent_entropy boot=live plainroot union=overlay ip=frommedia noeject nopersistence rd.luks.uuid=d7c85109-f58c-49f4-a846-e755bb9310d9 loglevel=0 quiet rd.shell=0 rd.emergency=halt
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.1.0-28-amd64
}
}
### END /etc/grub.d/10_51_linux_live_advanced ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/45_debugging ###
### END /etc/grub.d/45_debugging ###
[user ~]%
Your /boot/grub/grub.cfg
correctly lists:
Kicksecure LIVE mode USER (For daily activities.) GNU/Linux
And has a kernel command line with the more complex parameters for initramfs-tools:
boot=live plainroot union=overlay ip=frommedia noeject nopersistence
Any reason to use initramfs-tools?
Note, that migrating to dracut might brick booting. → dracut
Thanks! Live mode appeared in menu after the updates
Thank you, Patrick. I managed to get live mode working.
And I sent a friend who uses Qubes documentation on how to launch live mode without grub-live. I saw on Qubes forum that many people like Kicksecure and want to see live mode in Qubes. This will help them run live mode on fedora, since fedora uses dracut
Qubes is a different story. Might not work. See Qubes ticket:
Oh yeah. I think this problem is not solvable now. I couldn’t find any information on solution to this problem with logs Opt-out logs cleanup on qube removal · Issue #8569 · QubesOS/qubes-issues · GitHub This makes it less secure to run Kicksecure live in Qubes.