2

Can I burn ubuntu distro iso as a live USB to 2 partitions USB. Because I need encrypted live USB using LUKS.

After searching i found the grub can decrypt encrypted partition by LUKS

  1. first partition for /boot
  2. secound partition for filesystem like /root /home /casper
Mohamed Farouk
  • 292
  • 2
  • 13
  • 1
    Why would you wish to do this? – user535733 Aug 06 '19 at 14:57
  • 1
    @user535733 I want to create a luks partition to encrypt file system – Mohamed Farouk Aug 06 '19 at 15:03
  • 1
    Then you cannot use a Live image. You must *install* Ubuntu onto a USB stick in order to use encryption. – user535733 Aug 06 '19 at 15:55
  • You only encrypt files you **need** to encrypt, eg if someone should steal your drive which has **sensitive data** on it which could compromise you personally or make you poorer financially. There is absolutely no point in encrypting a live Ubuntu USB. – Paul Benson Aug 06 '19 at 17:03
  • Have a look at [this link](https://ubuntuforums.org/showthread.php?t=2424061). – sudodus Aug 06 '19 at 17:08
  • Encrypted Full install to USB that boots BIOS or UEFI: https://askubuntu.com/questions/1086309/how-to-make-bios-uefi-flash-drive-with-full-disk-encryption/1086314#1086314 – C.S.Cameron Aug 07 '19 at 16:38

1 Answers1

0

Because LUKS will not work with a LiveUSB, you must install Ubuntu from a LiveUSB (or other media) to a second LiveUSB. Boot from the first USB, the LiveUSB, then with the second USB plugged in, start installing Ubuntu. When it asks where to install it, specify the second USB drive.

K7AAY
  • 16,864
  • 9
  • 45
  • 77