Problems formating a thumb drive to ext4. {SOLVED}
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Problems formating a thumb drive to ext4. {SOLVED}
Greetings from Amsterdam
How do I format a 16GB USB stick to ext4 or 3, so that it is read and write and I am recognised as the owner? I 've tried formating it via the terminal. In this case my stick is /dev/sdd1. To unmount I run: umount /dev/sdd1. I then run: mkfs.ext4 /dev/sdd1. The stick is formatted but it is read only and I'm not recognised as the owner. It is the same when I use GParted. I want to use it for Porteus 2. I just can't do anything with it because I don't have permissions and I can't change the permissions. What am I missing? Help please.
Last edited by AndyInMokum; 07-21-2013 at 05:56 AM.
the formatting to ext3 or 4 has nothing to do with how it is mounted
the OS will "automount" it as READ ONLY for normal users and "Read/Write" for root
this is normal system security
likely you will need to mount it in /etc/fstab using "uuid" of the thumbdrive , and mount it a rw for the normal users
-- but this is bypassing the normal system security ,so use caution !
something like this
FRIST make the folder
"/mnt/USB.Thumb1"
Is this /dev/sde1 or /dev/sdd1? You've quoted both, and if you get the muddled ther's obviously going to be trouble.
You've got it formated, although ext2 would be less wearing on a USB stick. Plug it in and see if it automounts. Then, for an easy approach, start your file manager (nautilus, caja?) from a terminal with sudo, navigate to the folder in media, and reset the permissions using the file manager.
What exactly are you trying to do? You say you want to use it for Porteus 2, do you want to install it on that drive? Is there any data on it now? As indicated above, formatting isn't going to give ownership for any user/group. If you are not recognized as the owner, who is? What system are you using to get this information?
Quote:
chown: cannot access `/media/sde1': No such file or directory
You got the above error because you did not create the directory mount point 'sde1' in the /media directory before trying to change owner.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.