Introduction

Recently, I replaced my computer's hard drive and decided to use the old 500GB drive as an external mobile drive. Since I need to develop at school where the computer lab systems are highly restrictive, I planned to install a ready-to-use Linux (Ubuntu) system on it.
The final partition plan is as follows:
Partition
Size
File System
Notes
ESP
256 MB
FAT32
-
SWAP
8 GB
Swap
-
Root (/)
57.51 GB (50GB)
Ext4
Linux Core
Home
50 GB
Ext4
Development Environment
Data Partition
Remaining
ExFAT
Accessible on PC, Phone, etc.
  • Why separate the Root and Home partitions?
    • It allows for a cleaner experience and isolates the system from user data. I also wanted to experiment with this specific configuration.
  • Why create a Data Partition with the exFAT file system?
    • The data partition acts like a standard mobile drive or USB stick. exFAT is similar to FAT32 but without the file size limitations, and it is compatible with Android, macOS, Windows, and Linux (kernel version ≥ 5.7).

Practice

Preparation

  • Know which key opens your BIOS and Boot Menu.
  • Partitioning software (DiskGenius or Windows Disk Management).
  • An Ubuntu 22.04 or higher installation USB (or extra internal drive space).
  • A clever brain and flexible hands.
I will use an internal disk to install Ubuntu instead of a USB. If you use a USB, you might need Rufus to create a bootable drive.

Creating the Bootable Partition

  1. Download the Ubuntu Desktop ISO from Ubuntu. I used Ubuntu 25.04.
  1. Press Win + X, then K to open Disk Management.
  1. Select a partition with free space, right-click, and select Shrink Volume. Shrink it by at least the size of the ISO (I used 6400MB).
  1. Right-click the Unallocated Space and select New Simple Volume.
notion image
  1. Follow the wizard, assign a drive letter, and select FAT32 as the file system.
notion image
  1. Use extraction software (like Bandzip) to extract all contents of the ISO to this new partition.
notion image
  1. Save your work and restart. Use the boot menu key to boot from the mobile drive or partition.

Installing Ubuntu

If everything goes well, you should see the installer.
  1. Choose your language.
notion image
  1. Select Install Ubuntu.
notion image
  1. Choose your software and drivers as needed.
  1. At the Installation Type screen, choose Manual Installation.
notion image
  1. CRITICAL: In the manual partitioning interface, set the Device for boot loader installation to your external mobile disk.
notion image
  1. Select the EFI partition, click Change, and set it to 256 MB (FAT32).
notion image
  1. Create an 8GB Swap partition.
notion image
  1. Create a 50GB Ext4 partition mounted at /.
notion image
⚠️
Windows and Linux use different units (GB vs GiB). Reference this table if you want exactly 50GB in Windows:
Windows Unit
Linux Unit
Actual Bytes
Conversion
1 GB
~0.9313 GiB
1,000,000,000
1 GB (Win) ≈ 0.9313 GiB
1 MB
~0.9537 MiB
1,000,000
1 MB (Win) ≈ 0.9537 MiB
1 GiB
~1.0737 GB
1,073,741,824
1 GiB (Linux) ≈ 1.0737 GB
1 MiB
~1.0486 MB
1,048,576
1 MiB (Linux) ≈ 1.0486 MB
  1. Create a 50GB Ext4 partition mounted at /home.
notion image
💡
You can assign more mount points like /usr or /boot to separate partitions, but it is not recommended for this setup.
  1. Complete account settings and timezone selection.
  1. Review settings and click Install.
notion image
  1. Once finished, Restart.
notion image
  1. Use the boot menu to select your mobile disk (usually named Ubuntu). You can now use this system on different computers.

Planning Remaining Space

  1. In Windows, use DiskGenius or similar. Select the free space on your mobile drive.
  1. Create a new partition using the ExFAT file system with all remaining space.

Aftermath

Now, this mobile disk has the following features:
  • A portable Linux system ready for "on-the-go" development.
  • An ExFAT partition that works as a standard external drive (e.g., for iPhone ProRes recording).

References

PCMagPCMagFAT32 vs. ExFAT vs. NTFS: Which Format Is Best for Your Storage Drive?