fstab, mounting and fat32 partition

Robert Golding rlgolding at optusnet.com.au
Mon Jul 26 00:00:34 CST 2004


Bruce wrote:
> Hi all,
> 
> Yet another newbie question here.
> 
> I'm trying to mount an exisiting fat32 partition (dev/hda6) on a newly
> installed distro of Fedora 2 Core.
> 
> Was wondering about the necessary fstab entry, and any need for symlinks
> (what ln command-line options should I use) in the /mnt/directory.
> 
> There doesn't apear to be a GUI way of dealing with this (which forcing
> me to use the command line, is probably a good thing).
> 
> Cheers
> 
> Bruce
>
Hi Bruce,

Command line time.

In Fedora, click on main menu, go to 'System Tools' then choose 'Terminal'
As root; ('su' + password)
create a mount point for the partition (i.e. /stuff)
	root#> cd /
	root#> mkdir stuff
then create an entry in fstab for the mount
	root#> cd /etc
	root#> vi fstab
(or your favourite text editor, but as root)
add a line to the end of fstab
	device -	mount -	type -	fs-options -	freq/passno
	/dev/hda6	/stuff	vfat	defaults	0 0
An example which mounts the partition at boot time with normal 
permissions.  Personally, I always have any extra partitions setup for 
mounting on an 'as needed' basis, with user permissions, i.e.
	/dev/hda6	/stuff  vfat	noauto,user,umask=0	0 0
save and exit (in vi do [esc], colon, wq, [enter]).

Handy recources are 'man fstab' and 'man mount' in a terminal.  Once you 
have setup the device, you can use 'GKrellM' (found under 'System 
Tools') to mount, unmount and see usage for all your devices.  Rather 
handy little gui tool actually, as it can display uptime, mount points, 
cpu usage, memory usage, net/lan usage, cpu temp and a host of other 
stuff, all in one single handy little applett, neat tool for those of us 
who use a gui often (please, no flames from the purists)

BTW, I pointed a friend at this site and he said it was very helpful as 
a starting point;
	<http://www.linux.org/lessons/>

Hope the above helps.	

-- 
Regards,	Robert

..... I opened my mouth and proved them right.


More information about the linuxsa mailing list