[Ubuntu] Resizing an Exfat Partition


Recommended Posts

Hi all,

I've got a 2TB external hard drive that I formatted to Exfat. Now I want to create a new partition that will allow me to install Ubuntu, rather than just running it off my USB key. The problem is that Gparted doesn't recognise the Exfat filesystem so it won't allow me to resize the current partition, only format it. I don't want to do this because there is already data on the HDD.

Does anyone have any suggestions? I've thought about moving all the data from the external and putting it on another drive temporarily while I format it, but that would be quite a long process so I'd prefer not to if I can help it.

Link to comment
https://www.neowin.net/forum/topic/1036073-ubuntu-resizing-an-exfat-partition/
Share on other sites

I highly doubt that GParted has the ability to safely read/write to ExFat, these instructions should enable at least reading the drive, it's complicated, but hey, welcome to Linux.

Installing and mounting

To install ExFat support in Ubuntu, pull up a console (?Applications > Accessories > Terminal?) and run:

sudo -s

apt-add-repository ppa:relan/exfat

apt-get install fuse-exfat

The driver uses the FUSE (filesystem in userspace) framework. For it to work, FUSE needs to be enabled in the kernel. If you use the stock Ubuntu kernels then this is the default, so you don't have to do anything else. If you roll your own drill down to ?Filesystems > FUSE? and either compile it in statically or enable it as a 'M'odule, then compile and install your kernel.

While available as a module, Ubuntu won't know to automatically use the driver when you insert an exFAT device. For now you'll need to manually mount the device and specify the exFAT filesystem. Plug in your device and run:

cat /proc/partitions

Chances are your USB device will be the last partition listed. You can also check by looking at its size and seeing if it matches the size of your USB key.

Next make a temporary directory where you can mount the device. Ubuntu by default attaches removable media under the /media directory, so you might as well do the same. Enter the following:

cd /media

sudo -s

mkdir usbdrive

mount -t exfat /dev/sdd1 usbdrive

The drive will appear on your desktop, and you can read and write to it like any other. To safely unmount it before removing, use 'sudo umount usbdrive' from the same directory.

I highly doubt that GParted has the ability to safely read/write to ExFat, these instructions should enable at least reading the drive, it's complicated, but hey, welcome to Linux.

Thanks, but I've already got exfat support on Ubuntu using almost identical instructions to the ones that you've provided. It doesn't seem to have allowed Gparted to modify the HDD though.

  • Jim K locked this topic
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Epic Games says Unreal Engine 6 will help developers "build content faster" using AI models by Pulasthi Ariyasinghe Epic Games is rolling out the latest major update to Unreal Engine 5 today, and at the same time, the company also dropped some information on the next-generation version of the product, Unreal Engine 6. This was already revealed a few weeks ago alongside the new Rocket League upgrade reveal. The company says it is combining the features of Unreal Engine and Unreal Editor for Fortnite to create this new version of its popular media creation tool. On top of creating entire games, the new engine will also focus on letting developers operate large-scale live service titles more easily, whether by shipping content into their own ecosystems or into Fortnite. The use of large language models is also mentioned here, with Epic saying it will be a core part of the engine. "We see LLMs, generative AI models, and tools like Claude and Codex playing a central role in helping you build content faster while maintaining the creative control you need," adds the company. Here is the rundown of what's new about version 6 of Unreal Engine: With all these changes to the programming model, portability upgrades, and generative AI integration, Epic says the new version of the engine will "change a lot about how games are made." The company aims to ship Unreal Engine 6 into early access in late 2027, with a full release planned for 12-18 months later. Epic Games also dropped a lengthy blog post about the new Unreal Engine 5.8 update for game developers over here. The release is focused on delivering better performance, customization, and streamlined workflows for development teams. This will be the final major update for this version of the engine before Epic switches to focus fully on Unreal Engine 6's early access launch.
    • Watch Louis Rossmann's recent experience on YouTube about trying to get a warranty replacement from Samsung. It's crazy.
    • That is the thing, how many of these people don't realise they are using AI? If they use Google Search they have no choice but to use AI. So yes, maybe half of American adults do use and I expect a lot of Uk adults do to, but I bet most of them don't realise it. Myself, i avoid the rubbish.
    • They use FREE AI. They aren't paying for this meme-generating slopware...
    • Gotta' buy that there Rufus guy a beer if I ever meet him. He makes good stuff.
  • Recent Achievements

    • One Month Later
      Vincian earned a badge
      One Month Later
    • First Post
      Jocimo earned a badge
      First Post
    • Week One Done
      suprememobiles48 earned a badge
      Week One Done
    • One Month Later
      Windows Guy earned a badge
      One Month Later
    • One Month Later
      Prasann earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      499
    2. 2
      +Edouard
      165
    3. 3
      PsYcHoKiLLa
      89
    4. 4
      Steven P.
      69
    5. 5
      neufuse
      65
  • Tell a friend

    Love Neowin? Tell a friend!