Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-15-2007, 09:42 PM
|
#1
|
Member
Registered: Jan 2007
Location: Draper, UT
Distribution: Ubuntu, Windows 10, OSX
Posts: 461
Rep:
|
Help me mount a drive?
Hello, i recently installed Ubuntu Edgy Eft, for a fresh start, with my dual boot system (Win XP), but one of my partitions is not visible in Ubuntu that is in windows, it is a Fat32 partition, the idea being to be able to transfer files from Linux to Windows, does anyone know how to make that partition visible in Linux?, (to mount it), my other partitions are all visible, but they are NTSF, so they are almost useless for transfering data, any help would be great... MJ
|
|
|
03-15-2007, 10:40 PM
|
#2
|
Member
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558
Rep:
|
To make a partition "visible", you need to mount it. In the Applications menu, go to Accessories and open a Terminal.
Then, make yourself root by typing this command:
sudo su
Enter your password, and now you are root. You need to mount your FAT partition to a directory, so create a new one, like /media/fat32:
mkdir -m 777 /media/fat32
The '-m 777' option gives permission to any user to read, write and run programs from the /media/fat32 directory.
Now you need to edit your fstab file, in your /etc directory; this tells your computer which partitions you want mounted when you boot. Use the mcedit text editor, like this:
mcedit /etc/fstab
In your fstab file, add the following line
/dev/hdaX /media/fat32 vfat defaults,umask=000 0 0
Where hdaX is your FAT partition. On my machine, my FAT partition is /dev/hda7. The umask=000 option allows any user to read, write and run files from the partition.
To save the file from mcedit, press F2. To quit, press F10.
In Ubuntu, you can also mount your NTFS partitions to be read/writable. In your /etc/fstab file, look for your NTFS line and change 'ntfs' to 'ntfs-3g'. Your computer will then use the ntfs-3g module to mount the NTFS. I've used this for writing, and although it is slow, it is reliable.
e.g. in my fstab, this looks like:
/dev/hda2 /media/ntfs ntfs-3g defaults,umask=000 0 0
Once you've made your fstab entries, you can mount these partitions without having to reboot. As root, do:
mount /media/fat32
To unmount the partition, do as root:
umount /media/fat32
Last edited by spurious; 03-15-2007 at 10:43 PM.
|
|
|
03-15-2007, 11:27 PM
|
#3
|
Member
Registered: Jan 2007
Location: Draper, UT
Distribution: Ubuntu, Windows 10, OSX
Posts: 461
Original Poster
Rep:
|
Hello, I have been facing this problem a lot today, I cannot change any system files per say, because as it says i am not "owner", this is the only account on the system, I am the OWNER legally, so anyway, i need to know what to do so that I am recognized as owner on my system any help? Thanks, MJ
|
|
|
03-17-2007, 08:23 PM
|
#4
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Rep: 
|
You have to be root, you can use sudo command like and enter your password to mount all partitions listed in /etc/fstab. This is a well done How-to
http://www.debianadmin.com/mount-you...in-ubuntu.html
|
|
|
03-17-2007, 08:59 PM
|
#5
|
Member
Registered: Jan 2007
Location: Draper, UT
Distribution: Ubuntu, Windows 10, OSX
Posts: 461
Original Poster
Rep:
|
Hello, i got the root permissions, so it all worked out!, MJ
|
|
|
All times are GMT -5. The time now is 07:44 AM.
|
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
|
|