Gparted doesn't let me to Create partition for Persistence

Hello everyone here! The problem is the following. As I’ve already written in the header GParted can’t create a new partition in my USB stick. Is this the problem that I booted from the USB on which I try to setup the persistence partition? This is the first thing I’d like to do to my Parrot.
Before boot I opened diskpart.exe in Windows, cleaned everything, then I opened diskmgmt.msc and created 2 new volumes. The third (which is the old one) one left unallocated.
When I booted, I had to see many sda 's in gparted as I created several volumes but instead all I saw was as shown in the screenshot(My whole USB stick was actually 58.45 GiB. So it doesn’t even seem to be allocated and volumed).

P.S. to burn the USB stick I used Rufus. If you need any other important information, I’m ready to give it.

I used to do it the following way, using the directions from the Kali Linux site to create a (encrypted) persistent partition on the USB.

https://www.kali.org/docs/usb/kali-linux-live-usb-persistence/

https://www.kali.org/docs/usb/dojo-kali-linux-usb-persistence-encryption/

But I found that you can directly install Linux on a USB drive by choosing the USB as the location for the install. I usually use Virtual Box or VMware to boot the iso, insert the USB and make it available to the virtual machine, then choose the USB as the location to install (Parrot) Linux on.

I have a 128 GB USB 3 thumb drive that boots into a screen that asks to enter the encryption passphrase before booting into Parrot. The entire drive is persistent. I can install and update software (even new kernels). And since it boots directly to the encryption screen, no one would know what’s on the drive without some way of brute forcing or some BIOS-injected (?) keylogger.

It doesn’t work on my old PC’s USB 3 ports, but it does work on the USB 2 ports. And I have to switch from UEFI to BIOS mode anytime I need to boot off the thumb drive. It could be because of the age of my PC, or a limitation of booting off of USB drives.

The Parrot OS team recommends using etcher for ISO burning: https://parrotsec.org/docs/getting-started/create-boot-device/

Hello,

I had the same problem, but I used all Linux.
If you want to use gparted within Parrot-OS and want to resize or make a new partition, it will not work, because the device is in use and you can’t unmount it. If you have enough RAM you can use the option to boot Parrot OS in RAM Then you can use gparted on your USB stick.
But before you need get the USB stick recordnized right by gparted.

#wipefs /dev/sda

shows you the data structures of the USB Stick.

#wipefs -o 0x8001 -f /dev/sda

after this gparted should show free space correctly. (be careful when you altering devices and double check you entered the right one. It could end in data loss)

This solution I found on this blog:
https://www.rzegocki.pl/blog/create-parrot-os-pendrive-with-encrypted-persistence-volume/

It also explains very well, how to encrypt the persistence partition.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.