grub-live: Boot existing Host Operating System or VM into Live Mode

From Kicksecure
Revision as of 09:19, 22 March 2022 by Patrick (talk | contribs) (Created page with "{{Header}} {{Title| title=grub-live: Boot existing Host Operating System or VM into Live Mode }} {{#seo: |description=Add a Live Mode entry to the grub boot menu on your existing Debian host platform. Stop Persistent Malware. Read-only mode. Make all writes go to non-persistent storage (RAM) instead of the hard disk. |image=https://www.{{project_clearnet}}/w/images/a/a6/Grublive123123.jpg }} image:Grub-live_mode_indicator_in_debian.cleaned.png|thumb|Debian Live Mode Bo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Debian Live Mode Boot (Host Live Mode)
Kicksecure Live Mode Boot (Host Live Mode)
Whonix® Live Mode Boot (VM Live Mode)

FREE Host operating system or VM can be booted into Live Mode, either by using:

This is accomplished by use of the grub-live packagearchive.org iconarchive.today icon.

grub-default-live

Untested.

1. Package installation check.

The grub-live package is installed by default in Kicksecure. If a live boot menu entry is already avaialble, then grub-live is already installed.

Make sure package grub-live packagearchive.org iconarchive.today icon is installed. The following command can be used to check on the command line if the package is already installed by default.

Click = Copy Copied to clipboard! dpkg -l | grep grub-live

2. Choose an option.

Option A): symlink method

  • Advantage: This is easier because updates to grub-live will be automatically applied.
  • Disadvantage: Duplicate live boot menu entry.

Click = Copy Copied to clipboard! sudo ln -s /etc/grub.d/11_linux_live /etc/grub.d/09_linux_live

Option B): moving method

  • Advantage: No duplicate live boot menu entry.
  • Disadvantage: Updates to grub-live will be automatically applied.

Click = Copy Copied to clipboard! sudo mv /etc/grub.d/11_linux_live /etc/grub.d/09_linux_live

3. Re-generate grub boot menu.

Click = Copy Copied to clipboard! sudo update-grub

4. Done.

The process of changing from live mode opt-in through boot grub menu to live boot by default has been completed.

5. Updates.

When using "Option B)" this process might need to be repeated from time to time.

Troubleshooting

Live Check Systray Issues

If the Live Check Systray has an issues do not panic.

If livecheckarchive.org iconarchive.today icon is showing an error it might be the following issue. Live check runs command sudo --non-interactive /bin/lsblk --noheadings --all --raw --output RO as the current unprivileged user. Test this for yourself.

Click = Copy Copied to clipboard! sudo --non-interactive /bin/lsblk --noheadings --all --raw --output RO

This will not work by default for users other than user user.archive.org iconarchive.today icon The linux user account (such as user2) either,

  • A) needs an exception in /etc/sudoers.d.
  • B) be a member of any of the following linux user groups.
    • users
    • staff
    • adm
    • sudo
    • root
    • wheel
    • console
    • console-unrestricted

Try also this:

Click = Copy Copied to clipboard! sudo /bin/lsblk --all

If you are still having issues you can report a bug with the output from above two lsblk commands included from above.

Alternative

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!