ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Mount a Windows Partition in Ubuntu or Xubuntu

Updated on February 14, 2011

I use a dual boot system with both Windows XP and Xubuntu Linux installed on different partitions. You cannot access the Linux partition from Windows, but you can access the Windows partition while running Xubuntu or Ubuntu Linux.

The process of accessing an internal or external drive in Ubuntu is called mounting. You have to mount the drive to be able to read and write its content.

Using Ubuntu it's easy to mount your Windows partition (an internal drive). All you need do is access it via the 'Places' menu usually found in the top sidebar on the desktop. When I switched from Ubuntu to Xubuntu in order to make a slow computer run faster, however, I realized that the icon of the Windows partition has gone missing from the 'Places' menu.

I'm writing this guide for any beginner Ubuntu or Xubuntu user to teach you how to mount (access) your Windows or any internal drive in Ubuntu Linux. Along the way, you'll also learn a few more helpful commands from checking out partition details to becoming the superuser.

How to mount Windows partition in Ubuntu

To mount the Windows partition in Ubuntu you need to open the terminal and type a few simple commands. Go to Applications -> Accessories -> Terminal. Your terminal opens and looks something like this (with the prompt containing your username):

Terminal in Xubuntu
Terminal in Xubuntu

Becoming the superuser in Xubuntu

Type the command:

sudo /bin/bash

When you're asked for your root password type it and press enter. You'll notice that the prompt changed to reflect that you are now accessing the system as root. This means that you are now the superuser and have the power to do whatever you want. Any command you type in the terminal now can potentially harm the system.

You see, one of the good things about Linux is that as a normal user you have absolutely no way to damage the system. Commands that could do that will not be executed because you have no right to execute them. As the superuser, however, be very careful with what you type as your authority is no longer questioned.

Now, you see something like this:

Terminal accessed as Root.
Terminal accessed as Root.

Creating a folder in Xubuntu

Next thing you need to create a new folder under /media directory that will be used to mount the Windows partition. Note, partitions in Ubuntu are treated as folders.

Type in the terminal:

mkdir /media/wdisk

You've just created a folder named 'wdisk' using the mkdir (make directory) command. This folder will be used to mount your Windows partition. Don't worry if you don't get any confirmation that your command was successfully executed. In Linux you usually don't.

The terminal window looks like this:

I've just made a new folder.
I've just made a new folder.

Finding out about your partitions in Xubuntu

Before we run the actual command that will mount the Windows partition, we need a bit more information about the partition itself. We have to find out the name of the Windows drive as well as the file system used on the drive.

In terminal type this command:

fdisk -l

In the picture below, you can see that in my case the Windows drive is /dev/sda1 and the file system is FAT32. Chances are your file system will be NTFS.

Finding out partition info.
Finding out partition info.

Mounting an NTFS drive in Xubuntu

If your drive uses NTFS file system, type this command in the terminal substituting the /dev/sda1 parameter appropriately based on your findings:

mount -t ntfs-3g /dev/sda1 /media/wdisk -o force

Mounting an FAT32 drive in Xubuntu

If your Windows partition uses FAT32 file system, type this command in the terminal substituting /dev/sda1 appropriately based on your findings:

mount -t vfat -o umask=000 /dev/sda1 /media/wdisk


Congratulations! You have successfully mounted your Windows partition in (X)ubuntu.

Now, go to Places -> File System -> Media -> wdisk to find and access the drive. Also, make sure you close the terminal to terminate the root access.

Files System
Files System

Did you find this tutorial useful.

See results


    0 of 8192 characters used
    Post Comment

    • profile image


      6 years ago

      Would be even more helpful to have a short explanation of each constituent of the commands (especially for the options).

      But thanks for your explanation so far.

    • Haunty profile imageAUTHOR


      7 years ago from Hungary

      All of your jokes are funny when I read them. You can count on me. I recognized it as funny immediately. Even if I would have never thought this hub was going to invite a joke. ;)

    • Stan Fletcher profile image

      Stan Fletcher 

      7 years ago from Nashville, TN

      Just wanted to make sure you got the joke. I think ALL of my jokes are funny, and some people have the gall to disagree! :)

    • Haunty profile imageAUTHOR


      7 years ago from Hungary

      lol Stan. I know. ha ha And thanks for poking some fun in my neighborhood. :)

    • Stan Fletcher profile image

      Stan Fletcher 

      7 years ago from Nashville, TN

      Just having a bit of fun with worries.

    • Haunty profile imageAUTHOR


      7 years ago from Hungary

      Well, it depends on how you read it I guess. I don't mind it though. It just makes it even better for seo. But wait a sec. Is this considered a misleading title then? Please, don't report me! :)

    • Stan Fletcher profile image

      Stan Fletcher 

      7 years ago from Nashville, TN

      I'm not a computer techie kind of a guy, so I must tell you when I read your title I thought you were telling people how to put windows in huts for 2 different tribes in Africa. :)


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)