Yes, you can create a persistent storage file on your USB drive instead of creating a new partition. Here's how you can do it:
- Create a Persistent File:
- Create a file that will serve as the persistent storage:
This command creates a 1GB file. You can adjust the size as needed.
sudo dd if=/dev/zero of=/path/to/usb/persistent.img bs=1M count=1024
- Create a file that will serve as the persistent storage: