Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My other hard drive partition (i.e., the Windows partition) is located in /media/OS. However, I don't seem to be able to access it from the command line when my machine starts up in Ubuntu. I have to first open Nautilus and then click on the drive. Only then can I access the drive from the command line.

  • What is a simple way to ensure that the partition is always accessible from the command-line?

I thought perhaps there might be some simple command that I could add to the list of "startup applications".

share|improve this question

This is because your Windows partition is not mounted automatically when you started your Ubuntu. It is only mounted when you clicked on that drive in Nautilus. Trying this guide -> to mount your Windows partition during startup.

share|improve this answer

From commandline you can do

sudo mount -t ntfs-3g /dev/sdx1 /media/OS

instead of going to nautilus. Replace /dev/sdx1 with your the windows partition.

Easy setup of auto mounting NTFS partitions taken from Here:

sudo apt-get install ntfs-config
sudo ./ntfs-config
share|improve this answer

Edit /etc/fstab. If you not sure What to put there, mount it first in nautilus, and see output of mount command.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.