0

I have a 32gb pendrive. I want to make two partitions, one for bootable usb and another for general portable storage use (documents). Is that possible??

marked as duplicate by schily, Stephen Kitt, Archemar, Romeo Ninov, Satō Katsura Jul 4 '18 at 16:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Yes, it is possible. Please give us some more details in order to help us help you: 1. Which linux distro (and version) do you want to boot? 2. Do you want to boot a live drive, a persistent live drive or an installed system in the USB pendrive? 3. Do you want to read/write the stored documents only from linux, or also from Windows and/or MacOS? 4. Do you want to boot in UEFI mode or BIOS mode or both? – sudodus Jul 2 '18 at 14:23
  • It is possible, but really not necessary, as you can add files and folders to the bootable partition. The bootable partition will be FAT32, the standard for USB flash memory drives, so it cab be read by other OS. – K7AAY Jul 2 '18 at 17:38
  • 1
    Want to 1) boot Windows 10 ,3)Windows ,$)BIOS(legacy) @sudodus – ShifaT Jul 3 '18 at 15:03
0

Single FAT32 partition

Use a single FAT32 partition both to boot the Windows installer and to store files. If you choose this solution, it is best to create a separate and dedicated directory, for example usbdata, where to store the files.

You can use mkusb to make a USB pendrive bootable with the Windows installer.

See this link for more details,

How can I create a Windows bootable USB stick using Ubuntu?

Example:

$ sudo lsblk -fm /dev/sdc
NAME   FSTYPE LABEL       UUID          MOUNTPOINT  SIZE OWNER GROUP MODE
sdc                                                29,8G root  disk  brw-rw----
└─sdc1 vfat   WIN-INSTALL DFF7-E5BE     /mnt/sd1   29,8G root  disk  brw-rw----

$ find /mnt/sd1/usbdata/ -type f -exec ls {} \; -exec cat {} \;
/mnt/sd1/usbdata/hello.txt
Hello World

My USB pendrive is still bootable after creating the usbdata partition and creating a file into it.


  • But this does not install Windows into the USB pendrive. If that is what you want you need another tool.

  • I used gpartedto shrink this FAT32 partition and create another partition (with NTFS) for data storage. But it made the Windows installer fail to boot. (A similar approach with a linux live system should work without problems.)

Not the answer you're looking for? Browse other questions tagged or ask your own question.