Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd April 2007, 09:19 PM
pwjohnston Offline
Registered User
 
Join Date: Dec 2006
Posts: 10
Partition mounting and access help

Ok so I'm a FC newb and it should be very obvious by this post. I have FC6 running on my machine at home and some how I screwed up access to my /mnt directory.

So my first question

I use windows and I tend to install a minimum of 3 partitions on all computers by habit, one for the OS, one for the swap, and one for the data. The idea being that if I screw up the OS I just wipe it and I don't lose but just the OS partition.

So in my FC box I have an 80 gig divided into:

/dev/hda1 - FC6 20 Gb
/dev/hda2 - Swap 1Gb
/dev/hda3 - Data 20 Gb( this is the one I've been trying to mount. )

I use GParted for all my partitioning. Everyone says linux reads fat32 no prob, and Knoppix usually mounts it for me when I boot to it on others computers.

So anyway I'm trolling around the net to try and find how to remount the partition cause I never got it mounted correctly and I find this site. Which tells me to run this command:

mount /dev/hda3 /mnt -t vfat -o umask=777

====Text====
I can copy the file into my FAT32 partition, but before doing that I need to mount my FAT32 partition. My FAT32 partition is /dev/hda6. So the command will be mount /dev/hda6 /mnt -t vfat -o umask=777. Now I can copy the file . . . . . . .
====Text=====

http://www.programmersheaven.com/2/W...-Fedora-Core-4

So now after running that command I get a message sayign I don't have the right permission to access and cannot access my /mnt folder, even if I log into the GUI as root. (Yes, I fall back on the gui when things go wrong, but I'm trying to learn the command line)

So I did more digging and found people talking about modifying the /etc/fstab. So I thought I should try that and added a line

/dev/hda3 /mnt/hda3 vfat defaults 0 0

no luck.

Second question, can someone point me to some easy to understand instructions on mounting partitions. I've done some reading but obviously I'm not finding the right instructions for doing this.
Reply With Quote
  #2  
Old 23rd April 2007, 09:31 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
I'm not sure what you have tried / done so I'll go throough some of the basics and then point you to some further documentation.
Open a terminal and log in as root using
su -
yourpassword
then type
fdisk -l
this will show the actual drives/partitions/filesystems etc.
just to confirm everytihing
Then, you need to make a mount point for your /dev/hda3 partition
from the same open terminal type
mkdir /mnt/drive1
then to mount the drive
from the same open window
mount -t vfat /dev/hda3 /mnt/drive1
the partition should now be mounted.
To have is mount at boot time you need to add a line to your /etc/fstab file
once again, from the same open terminal type
gedit /etc/fstab
and add
/dev/hda3 /mnt/drive1 vfat auto,umask=000 0 0

Save, exit and reboot and give it a whirl.

You can read more about the mount options available and what they mean by type man mount and for the entry in your /etc/fstab file man fstab.
There is also a very nice how-to located here which you may find helpful. http://forum.fedoraforum.org/showthr...ighlight=Mount


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 23rd April 2007, 09:41 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by pwjohnston
Which tells me to run this command:

mount /dev/hda3 /mnt -t vfat -o umask=777
The umask option is used to mask out protection bits when mounting Windows filesystems, i.e. it defines which rights are not set. Umask=777 removes all rights for all users, so anything you try to do will fail. Try umask=000 instead.
Reply With Quote
  #4  
Old 23rd April 2007, 10:16 PM
Zero-Override Offline
Registered User
 
Join Date: May 2005
Posts: 741
Quote:
Originally Posted by markkuk
The umask option is used to mask out protection bits when mounting Windows filesystems, i.e. it defines which rights are not set. Umask=777 removes all rights for all users, so anything you try to do will fail. Try umask=000 instead.
i don't have mounting problems (had one a week ago but i fixed it myself mhuahahaha ) but this is real handy info
__________________
LINUX NUMBER 389596
machine number 290131
Reply With Quote
Reply

Tags
access, mounting, partition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an ext3 or 4 partition with read and write access using fstab jonathonp Using Fedora 1 24th July 2009 04:19 PM
Mounting data partition Error: Partition already mounted or busy synergy201 Using Fedora 0 27th January 2007 11:52 AM


Current GMT-time: 22:49 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat