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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-23-2011, 07:11 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28
Rep:
|
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?
|
|
|
|
06-23-2011, 07:15 AM
|
#2
|
|
Senior Member
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,624
|
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.
|
06-23-2011, 09:41 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28
Original Poster
Rep:
|
Yes, I knew about that, of course. But how do I mount without sudo, the way nautilus does?
|
|
|
|
06-24-2011, 05:26 AM
|
#4
|
|
LQ Newbie
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28
Original Poster
Rep:
|
<BUMP>
|
|
|
0 members found this post helpful.
|
06-24-2011, 06:09 AM
|
#5
|
|
Member
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82
Rep:
|
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.
|
06-24-2011, 08:48 AM
|
#6
|
|
Senior Member
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,624
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|