-   Linux - Newbie (
-   -   Mounting partitions without fstab (

ranban282 06-23-2011 08:11 AM

Mounting partitions without fstab
Hi all,
I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?

Snark1994 06-23-2011 08:15 AM

You just need to run:


sudo mount /dev/sda1 /mnt
(assuming /dev/sda1 is your windows partition)

I can't remember what Ubuntu has in /mnt - but that's a typical place to mount things. It doesn't matter where you choose, just pick a folder, you could even create a /media/WINDOWS folder to mount it to.

ranban282 06-23-2011 10:41 AM

Yes, I knew about that, of course. But how do I mount without sudo, the way nautilus does?

ranban282 06-24-2011 06:26 AM


ssrameez 06-24-2011 07:09 AM

fdisk -l

find out the correct filesystem. (look for ntfs)

mkdir -p /mnt/windowspart -- give any name you like

sudo mount /dev/sda1 /mnt/windowspart

Snark1994 06-24-2011 09:48 AM

Well, you can set 'mount' not need a password in your /etc/sudoers file, then add an alias to your .bashrc:

alias mount='sudo mount'
Also, "<BUMP>"ing your threads is normally considered rude here...

ranban282 06-27-2011 09:02 AM

My apologies for not posting my question explicitly. I was wondering how to mount partitions the way nautilus does, that is, without using sudo.

Just in case somebody's interested - you may refer to the following:

All times are GMT -5. The time now is 10:59 PM.