I’m working from a Live USB with Linux (you know, that cool OS you can run from a USB stick without messing with your main system). I needed to copy some files to my Windows partition, specifically my “Regular D” drive. But when I tried to transfer files over, Linux was like, “Nah, bro, I’m not gonna let you write to this NTFS partition.”
It was stuck in read-only mode. Ugh.
But don’t worry, I didn’t freak out. Here’s how I pulled it off, step-by-step. And don’t worry, it’s not as complicated as it sounds. I promise.
Step 1: Find the Partition
First things first, I needed to figure out which partition was my “Regular D” drive. So, I ran a quick command to list all my drives and partitions. This is how you can figure out which one is your D drive (mine was /dev/sda5, but it could be different for you).
How to know it? Just use the command in the terminal:
lsblk
Then it will show you a bunch of gobbledygook. You can identify it by looking at the storage size. Or you can do another command:
fdisk -l
It will show you Disk models. Your SSD, your Flash Disk (USB), and others if you have. Under each Disk model, you can see all the partitions. The ones we are looking for will be named as "Microsoft basic data" (if you are using Windows, of course). Then you can see its name as /dev/sda1 OR /dev/sda2 and so on. Be very careful in this step.
If you still want another way to identify it, let’s say using the name of the partition (Regular D), then you can use:
mount
But it only works if the partition is mounted, which should probably be the case. The output of the mount command might overwhelm you, so we can use the grep tool to just get what we need:
mount | grep Regular
And boom, our partition is once again on /dev/sda5.
Step 2: Unmount the Partition
Before I could do anything, I had to unmount the partition. If it’s already mounted, you can’t just jump in and remount it with write access. So, I unmounted it first. Think of it like “disabling” the partition temporarily.
umount /dev/sda5
Step 3: Mount It with Read-Write Access
Here’s where the magic happens. I used the ntfs-3g driver to mount the partition in read-write mode. Without ntfs-3g, Linux would treat the partition like a locked box you can’t open.
mount -t ntfs-3g -o rw /dev/sda5 /mnt
If it didn’t work and showed an error like unclean file system (0, 0), check the bonus tips for the fix.
Step 4: Verify It’s Really Mounted as Read-Write
To be 100% sure, I ran a quick check to verify that the partition was mounted in read-write mode. If successful, it should show rw (read-write) in the output. If you see rw, you’re good to go!
Step 5: Transfer Files
Now the fun part: file transfer. I could finally copy files to my “Regular D” drive. No more “read-only” walls stopping me. I just dragged and dropped (well, technically typed a command, but you get it).
Step 6: Unmount When You’re Done
Once I finished copying everything over, I unmounted the partition again. Always safely eject and unmount before closing up shop.
A Few Bonus Tips
- Windows Shutdown: Make sure Windows is completely shut down. Fast Startup or Hibernation mode can lock the NTFS partition. Use Shift + Shut Down to avoid this.
- Use Read-Write Responsibly: Transfer files and do basic stuff, but don’t mess with system files or make major changes to the partition from Linux.
And there you have it! That’s how I mounted my “Regular D” partition on /dev/sda5 in read-write mode and transferred files from my Linux Live USB to my Windows partition.
“Easy for quick transfers now :D”