Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-12-2008, 03:24 PM   #1 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Formatting a usb pen in fat32 using mkdosfs


After unmounting the pendrive, and using fdisk to set the partition as W95 FAT32, I used the following command

sudo mkdosfs -F 32 /dev/sdb1

Now everything was successful, but when I try to paste files as user I cannot because the owner of the filesystem is root (I had to be root to fdisk and mkdosfs).

So how do I solve this problem?
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-12-2008, 04:36 PM   #2 (permalink)
Linux User
 
ghost at rest's Avatar
 
Join Date: Jan 2008
Location: Chandigarh, India
Posts: 145
Default Re: Formatting a usb pen in fat32 using mkdosfs

Re-Mount stick and set umask value to zero. Let say, /media/sdb1 is mount point ( folder ). In case it doesn't exist, create it.
Code:
sudo umount /dev/sdb1
sudo mount -vfat /dev/sdb1 /media/sdb1 -o defaults,umask=0
Regular user will have full privileges.
ghost at rest is online now  
Old 28-12-2008, 09:03 AM   #3 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Formatting a usb pen in fat32 using mkdosfs

Thank you for your reply, will await other replies too. This is a manual method. I am ok with it, but not if I teach newcomers.

Please have a look at this thread also
http://ubuntuforums.org/showthread.php?t=1022712
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"

Last edited by NucleusKore; 28-12-2008 at 09:10 AM. Reason: Automerged Doublepost
NucleusKore is offline  
Old 28-12-2008, 09:53 AM   #4 (permalink)
Linux User
 
ghost at rest's Avatar
 
Join Date: Jan 2008
Location: Chandigarh, India
Posts: 145
Default Re: Formatting a usb pen in fat32 using mkdosfs

Easiest but a risky way is, press Alt+F2 and type this
Code:
gksu nautilus
It will open Nautilus with root privileges. You will have full access to every file/folder. Risky, because you will root user and it not good to have root privileges in GUI.
ghost at rest is online now  
Old 30-12-2008, 02:14 PM   #5 (permalink)
Broken In
 
Join Date: Jun 2005
Posts: 127
Default Re: Formatting a usb pen in fat32 using mkdosfs

I usually use mkfs.vfat to format usb on linux. Is this different from the method discussed here ?
vinayasurya is offline  
Old 30-12-2008, 09:28 PM   #6 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Formatting a usb pen in fat32 using mkdosfs

Maybe the same?

http://linux.about.com/od/embedded/l...l8_mkfsvfa.htm
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 30-12-2008, 09:48 PM   #7 (permalink)
Right Off the Assembly Line
 
blondie's Avatar
 
Join Date: Dec 2008
Posts: 29
Default Re: Formatting a usb pen in fat32 using mkdosfs

Try adding the user to group haldaemon, since the mounting and things are controlled by hal.
blondie is offline  
Old 30-12-2008, 11:20 PM   #8 (permalink)
Linux User
 
ghost at rest's Avatar
 
Join Date: Jan 2008
Location: Chandigarh, India
Posts: 145
Default Re: Formatting a usb pen in fat32 using mkdosfs

Quote:
Originally Posted by vinayasurya
I usually use mkfs.vfat to format usb on linux. Is this different from the method discussed here ?
mkfs.vfat and mkdosfs -F 32 do the same job. Both commands format partition in FAT32 filesystem in similar way.
ghost at rest is online now  
Closed Thread

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAT32 partiton Ashok Verma QnA (read only) 6 20-06-2008 11:02 PM
FAT32 from XP Vivek788 Software Q&A 10 24-09-2007 06:36 AM
FAT32 to NTFS bhoolkumehul QnA (read only) 3 12-10-2006 10:52 AM
FAT32 to NTFS Raaza QnA (read only) 9 26-09-2006 01:01 AM
Ntfs Or FAT32, Why? khattam_ QnA (read only) 20 28-03-2005 10:28 AM

 
Latest Threads
- by soumya
- by clmlbx
- by Charan
- by Sujeet
- by reddick

Advertisement




All times are GMT +5.5. The time now is 12:15 PM.


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

Search Engine Optimization by vBSEO 3.3.2