LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-23-2011, 07:11 AM   #1
ranban282
LQ Newbie
 
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28

Rep: Reputation: 1
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?
 
Old 06-23-2011, 07:15 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
You just need to run:

Code:
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.
 
0 members found this post helpful.
Old 06-23-2011, 09:41 AM   #3
ranban282
LQ Newbie
 
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28

Original Poster
Rep: Reputation: 1
Yes, I knew about that, of course. But how do I mount without sudo, the way nautilus does?
 
Old 06-24-2011, 05:26 AM   #4
ranban282
LQ Newbie
 
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28

Original Poster
Rep: Reputation: 1
<BUMP>
 
0 members found this post helpful.
Old 06-24-2011, 06:09 AM   #5
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
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
 
0 members found this post helpful.
Old 06-24-2011, 08:48 AM   #6
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Well, you can set 'mount' not need a password in your /etc/sudoers file, then add an alias to your .bashrc:
Code:
alias mount='sudo mount'
Also, "<BUMP>"ing your threads is normally considered rude here...
 
1 members found this post helpful.
Old 06-27-2011, 08:02 AM   #7
ranban282
LQ Newbie
 
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28

Original Poster
Rep: Reputation: 1
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:

http://omegamormegil.wordpress.com/2...-04-and-10-10/
http://stackoverflow.com/questions/4...-nautilus-does

Last edited by ranban282; 06-27-2011 at 08:08 AM.
 
  


Reply

Tags
gvfs, mount, nautilus, udev


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some partitions in FSTAB not mounting Julix Linux - General 5 08-24-2007 02:23 AM
fstab will not mount partitions n926bb Fedora 29 06-14-2006 12:55 PM
fstab extended partitions Chrax Slackware 2 01-03-2005 06:19 PM
Mounting FreeBSD partitions inside fstab damien Linux - General 1 02-04-2004 09:32 PM
fstab and windows partitions fedetxf Linux - Newbie 6 12-29-2003 06:09 PM


All times are GMT -5. The time now is 05:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration