You are not logged in.

#1 2021-02-26 01:42:21

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 305
Website

Booting from a removable device questions

Hi. The wiki describes how to boot Linux with an encrypted root partition on SSD and a kernel on a removable device. I have several questions:

  1. Can I remove the removable device when the OS has booted?

  2. If the kernel is on the removable device, how do I update the kernel then?

  3. Who decrypts the root partition, GRUB or the Linux kernel? So I know which version of LUKS and what encryption parameters to use.

  4. Can this removable device be a LiveUSB? So I have fewer USB sticks.

Last edited by beroal (2021-02-26 01:42:31)


we are not condemned to write ugly code

Offline

#2 2021-02-26 01:46:22

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 652

Re: Booting from a removable device questions

1- yes, eject and remove, nothing bad will happen
2- update while mounted like usual
3- the kernel
4- entirely possible, with some grub/bootloader shenanigans

Last edited by GaKu999 (2021-02-26 01:47:30)


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-02-26 01:50:02

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 305
Website

Re: Booting from a removable device questions

Thank you for your answer.

GaKu999 wrote:

4- entirely possible, with some grub/bootloader shenanigans

I heard that LiveUSB uses Syslinux. Will it not conflict with GRUB?


we are not condemned to write ugly code

Offline

#4 2021-02-26 01:58:19

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 652

Re: Booting from a removable device questions

beroal wrote:

Thank you for your answer.

GaKu999 wrote:

4- entirely possible, with some grub/bootloader shenanigans

I heard that LiveUSB uses Syslinux. Will it not conflict with GRUB?

You can boot the iso from grub with a different command line but nothing stops you from installing arch on a partition in the usb, updatable and with your personal touches.


My reposSome snippets

Heisenberg might have been here.

Offline

Board footer

Powered by FluxBB