Accessing Windows Drives on This Computer

If you’re dual-booting between Windows and Linux, you will have times when you want to access information on your Windows drive from Linux (unfortunately Windows cannot access the information on Linux drives). To access the files on your Windows drive from Linux when they’re both on the same computer, do the following:

1.
Open a command-line terminal. See Chapter 6 if you’re not sure how to do so.
2.
Type su - and press Enter to become the root (administrative) user. You are asked to enter the root password. Do so when prompted and press Enter.
3.
Type fdisk -l to see all your hard drives and partitions. If you’re looking for a Windows partition, you can find it right here. Ignore the items that have text similar to Windows 95 Ext’d; they’re not really a data partition. Anything that has NTFS or FAT32 or VFAT is a Windows partition and is what you’re interested in. If you’re looking for a Linux partition (maybe you have more than one distribution installed on your system), you want the ones that have the word Linux in their description and not the word swap.
4.
If you need to access an NTFS partition, see Chapter 16 for how to add NTFS support to Fedora. The packages you want all start with ntfs. There’s a collection of them: Go ahead and install them all, or at least ntfs-3g, ntfs-config, and ntfsprogs.
5.
When you think you know what partition you want to try, type mount -t type /dev/partition /mnt to add it to your filesystem, where ...

Get Linux® For Dummies®, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.