You are not logged in.

#1 2021-12-10 11:16:53

doomguy84
Member
Registered: 2018-05-09
Posts: 49

New Encrypted partition on usb pendrive??

Hello!
I am in this condition, i made a bootable little pendrive, using syslinux, just to load some utilities like memtest, hdat, miniXP... the partition in a fat32
I also create a "efi" folder on the root of that partition to be able to run some utilities on uefi systems.

Now my question, if I make some space on that pendrive, can i make a new partition, maybe with btrfs, encrypted ??
So i will use that partition to store my personal files.

In this case, on Windows will be "hidden", on Linux when i wanna mount that partition it will ak me for a password, right?

Thanks!

Last edited by doomguy84 (2021-12-10 11:34:47)

Offline

#2 2021-12-10 12:34:32

mpan
Member
Registered: 2012-08-01
Posts: 1,629
Website

Re: New Encrypted partition on usb pendrive??

I use as similar setup myself, though MBR-based. So the idea in general is right.

Windows XP and older will not see the partition, as they can’t properly handle partitions on removable media. Only the first one is accessible. Windows after XP will not recognize the partition and will consider it “broken”, likely⁽¹⁾ prompting you to “fix it” by formatting. On Linux you may mount it normally with a passphrase or a key.

Standard warnings apply: do not keep valuable files on an USB stick, unless they are backed up. In particular if you are at risk of accidently telling Windows to “fix the problem”.
____
⁽¹⁾ From reports by other people. I do not have a way to test it.

Last edited by mpan (2021-12-10 12:37:27)

Offline

#3 2021-12-10 16:32:29

doomguy84
Member
Registered: 2018-05-09
Posts: 49

Re: New Encrypted partition on usb pendrive??

mpan wrote:

I use as similar setup myself, though MBR-based. So the idea in general is right.

Windows XP and older will not see the partition, as they can’t properly handle partitions on removable media. Only the first one is accessible. Windows after XP will not recognize the partition and will consider it “broken”, likely⁽¹⁾ prompting you to “fix it” by formatting. On Linux you may mount it normally with a passphrase or a key.

Standard warnings apply: do not keep valuable files on an USB stick, unless they are backed up. In particular if you are at risk of accidently telling Windows to “fix the problem”.

yes, it is similar to me too

but...
how ?


about your warning: i know, i have a regular backup of my personal data, thanks

Offline

#4 2021-12-10 17:24:29

loqs
Member
Registered: 2014-03-06
Posts: 18,989

Re: New Encrypted partition on usb pendrive??

What exactly do you want help with?  Adjusting the existing partitions / file systems to make space for the new one?  Creating the new partition / creating the new file system?  Mounting the file system from the existing installation?

Offline

Board footer

Powered by FluxBB