How To Create a Shared Storage Drive For Dual-Boot Systems
Plus something to consider before you begin
While it’s possible toaccess your Linux partitions in Windows, it’s a buggy solution at best. You can’t easily add or change your files without relying on software that’s no longer actively being developed.
Rather than risking your files, there’s an obvious solution for most users who need to share files on dual-boot PCs. Instead of relying on outdated software, you can create a shared “pooled” drive that both operating systems can safely access using the NTFS file system.
Before You Begin
While it’s true that you could use your existing Windows partition, this method has risks. You won’t be able to isolate your files if you need to erase that partition at a later date, which might be necessary if you end up infected with ransomware for instance.
With that in mind, it’s better to create a shared drive, isolated from the system files used by either operating systems.
Unless you already have space available, you’ll need to resize your existing partitions to create space for your shared drive. If you plan on creating this partition on another hard drive, and you plan on using all of the space on that drive, you won’t need to do this.
Before you start changing your drive partitions, you should consider the risks. Any alterations to your partition table could go wrong and result in data loss. Make sure that any critical files are backed up before you start.
Creating Your Shared Drive
There are two options for you when you’re looking to create your shared drive.
If you already have the space available to you on an existing hard drive, or if you’re using the entire space on a second hard drive, you can skip straight to ourCreating Your Partitionssection.
If you need to create space for your shared drive, whether it’s on the hard drive carrying on your system partitions or on an entirely separate drive, you’ll need to resize your partitions first.
There are severaltools for formatting and partitioning drivesthat you can use on Windows, but the easiest solution is to use one that’s already included – the Windows Disk Management tool.
If you’d prefer, you can create orresize your partitions with GPartedinstead. GParted can be run from removable media like a USB drive, or by installing it to your Linux system. It’s included as a package for installation in most Linux system repositories.
You will only be able to resize partitions that already use Windows-supported file systems like NTFS or FAT32 using the Disk Management Tool. If you need to resize Ext4 or other Linux file systems, switch to using GParted instead.
In Disk Management, you’ll see a split list of your drives. The top half will show the “volumes”, or partitions, available to you. The bottom half will show the partitions assigned to each drive in a more visual format.
Windows will analyze the drive first, which may take a minute. Once it’s completed, you’ll see a window, asking you to enter the amount of space you wish to free up in megabytes.
If you’re having trouble shrinking your partition (for instance, if theShrinkbutton is greyed out), you may need to temporarilydisable hibernation. This is due to how Windows stores certain system files.
Once your hard drive has the necessary space, you can move to create your new shared drive partition.
If you’re using another hard drive, and need to delete or format any existing partitions, Disk Management will allow you to do so.
You can either right-click any existing partitions, clickDelete Volumeand then create a new partition in the “Unallocated” space, or you can chooseFormatto format an existing partition to the NTFS file system.
Accessing Your Shared Drive
Once you’ve created your new partition and formatted it, you should be able to access it in Windows File Explorer.
Most modern Linux distributions will be able to read partitions with NTFS file systems, thanks to thentfs-3gdriver package. This is pre-installed with recent Ubuntu and Debian releases, but you may need to install it yourself in other distributions like Arch Linux.
In most cases, you may need to give your distribution a “nudge” to mount the drive and allow you access. In Ubuntu, for instance, open your file manager and clickOther Locations.Locate your partition by the label you gave it when you formatted it, then tap it.
It should then mount and open, allowing you to access any files within, as well as add or delete them. Any files you add will then be accessible from within Windows the next time you switch systems.
Ben Stockton is a freelance technology writer based in the United Kingdom. In a past life, Ben was a college lecturer in the UK, training teens and adults. Since leaving the classroom, Ben has taken his teaching experience and applied it to writing tech how-to guides and tutorials, specialising in Linux, Windows, and Android. He has a degree in History and a postgraduate qualification in Computing.Read Ben’s Full Bio
Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.
HomeAbout UsEditorial StandardsContact UsTerms of Use
Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved