Adventures in a New Ubuntu 6.10 Clean Install: Day 3
Day 3
How to Mount a FAT32 Drive/Partition with Read and Write Access for All Users
The next step I tackled in my sexy, shiny, and sultry Ubuntu 6.10 was to mount my FAT32 Data Partition so I can read and write to it and access my previous Ubuntu 6.06.1 backups, along with all my other data, of course.
Since the Disks applet (I think that’s what it was called in 6.06.1) is no longer available in Gnome because it is unmaintained, I would have to manually edit my /etc/fstab file. For those who don’t know, this file mounts the partitions, CD/DVD Roms, floppies, etc, of your file system.
Before you edit this file, you should do a backup of it:
sudo cp /etc/fstab /etc/fstab_backup
Here is what my fstab file looks like:
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
# /dev/sda1
UUID=21b32fac-8d97-4ee0-89e7-bbf3dc146ec8 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=fd07dad2-18d3-4ad2-9a19-b9801d056927 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/ /media/floppy0 auto rw,user,noauto 0 0
I figured that mounting my FAT32 Data Partition would be easily done by adding the following line at the end of my /etc/fstab file:
/dev/hda5 /data vfat iocharset=utf8,umask=000 0 0
…and then do a: sudo mount -a #Mounts everything in fstab
It worked, but the root of my My Documents folder on that partition wasn’t writable. Some other folders at the root level were writable and others weren’t. Also, some folders within My Documents were writable and some weren’t, like My Music, My Pictures, and others. Seemed like the “Windows-related” folders weren’t writable. But folders within those folders were writable.
It’s odd.
I figured I could just do a sudo chown -hR leonivek:leonivek /data but I would only get an “Operation not permitted” error.
After searching on the Ubuntu Forums, this post explained that I would still need to change the actual permissions of that mount point. To do so, I had to do this:
sudo chmod a+w -R /data
Bingo! Now everything is accessible — read and write — for all users.
If you need some help with your fstab and mounting drives, I recommend reading the following pages:
- How to fstab (Ubuntu Forums)
- Ubuntu Dapper Wiki Guide
- Ubuntu 6.10 Edgy Wiki Guide
- Certain Folders Read-Only
- LinuxQuestions.org Fstab Wiki
- Psychocats.net Mounting Windows Partitions in Ubuntu
Share this:
Tags: Partition, permissions
What’s Hot @ Linux FUD
Categories
- Backup
- business
- Development
- Drivers
- Forums
- FUD
- FUD Alerts!
- FUD Series
- Fun Stuff
- Gaming
- General
- Glossary
- Hardware
- How-To
- Issues/Problems
- Kewl Link
- Kubuntu
- Linux
- Microsoft
- Microsoft Windows
- Multimedia
- News
- NON-LINUX
- Rants
- Repositories
- Reviews
- Screenshots
- Security
- Shell & Command Line (CLI)
- Shell scripting
- Software & Packages
- Theming & Customization
- Tips and Tricks
- Ubuntu
- Videos
Tags
Recent Posts
Desktop Screenshots
Blogroll
- 20 Must-Read HowTos & Guides For Linux
- An Opulence of Cognizance in Cyberspace
- Free Software Daily
- fsckin w/ linux
- Linux Free Trade Zone
- Linux is NOT Windows
- Linux on Desktop
- LinuxCommand.org
- LinuxElectrons
- Linuxtopia
- LXer
- Psychocat’s Ubuntu Linux Resources
- The Best Linux Web Resources
- Top-25-Linux-Games-for-2008
- Ubuntu Forums
Freedom
Ubuntu Linux Flickr Pool
|
Archives
- June 2009 (1)
- May 2009 (1)
- April 2009 (4)
- November 2008 (2)
- October 2008 (1)
- September 2008 (3)
- August 2008 (4)
- June 2008 (3)
- April 2008 (3)
- March 2008 (6)
- February 2008 (2)
- January 2008 (18)
- April 2007 (1)
- March 2007 (4)
- February 2007 (9)
- December 2006 (2)
- November 2006 (19)
- October 2006 (9)
- September 2006 (8)
- August 2006 (16)
- July 2006 (1)
Stats
- 1,131,264 hits








Recent Comments