Will ext2 cause trouble on USB flash drive?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Will ext2 cause trouble on USB flash drive?

Postby tilman victor on Wed Oct 03, 2012 1:51 pm

In post viewtopic.php?f=49&t=113809
Beardedragon says:
"Most USB flash drives will not take anything other than FAT 16 or 32. (...)"

OOPS (?)
The first thing I usually do with a new USB flash drive is converting it to ext2, because
i) I need my rwx-bits and
ii) I've decided to break up with that one-day-we-will-charge-you company completely - sorry
iii) no: not "sorry"

Everything has worked fine so far---despite some quantum effects ;-) see other post---but now I'm worrying a bit.
Seriously: Are my files in danger?
tilman victor
Level 1
Level 1
 
Posts: 12
Joined: Mon Oct 01, 2012 6:34 am

Linux Mint is funded by ads and donations.
 

Re: Will ext2 cause trouble on USB flash drive?

Postby xenopeek on Wed Oct 03, 2012 2:43 pm

I don't think so. any file system should work on USB flash drives. When you are using a file system that on Linux has full rwx support, you need to keep that in th back of your mind. If you get an error you're not allowed to do something, check the file mode bits and check who is the owner and what is the group. You wouldn't be the first who had somehow transfered ownership of a directory to the root user with the file mode bits set to only allow the owner to do anything. Then suddenly as an average user you're not allowed to do anything :)
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13680
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Will ext2 cause trouble on USB flash drive?

Postby Ongytenes on Tue Mar 12, 2013 12:42 pm

I have used ext2 successfully on USB flash drives. There is one thing you might want to consider. You can create a very small FAT partition as the first partition. This way, if someone stuck your flash drive into a Windows machine, they won't be prompted to format the drive by Windows, which would be disastrous to your data. All they will be able to see is the small partition. I have done this by creating a 40MB FAT16 partition. This also comes in handy if you need to carry over a file to a Windows machine.
... (0)>
... / / \
.. / / . ).
.. V_/_..Ongytenes
User avatar
Ongytenes
Level 1
Level 1
 
Posts: 1
Joined: Tue Mar 12, 2013 12:32 pm
Location: Deep South

Re: Will ext2 cause trouble on USB flash drive?

Postby falloutgod101 on Mon Mar 25, 2013 3:29 am

Well is shouldn't hurt the flash-drive but you will not be able to read it on a windows machine. It will prompt you to format the drive before you can use it. I think its because of the different journaling/Partitioning tables systems used between FAT32 and EXT2. In general if its for booting a linux distro i use EXT4 and for data transfer i use FAT 32 for is portability across Linux/Mac OSX/Windows
falloutgod101
Level 1
Level 1
 
Posts: 3
Joined: Mon Mar 25, 2013 2:23 am

Re: Will ext2 cause trouble on USB flash drive?

Postby nunol on Sat Apr 13, 2013 4:07 pm

You could also use ext4 without the journal.
User avatar
nunol
Level 9
Level 9
 
Posts: 2664
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 16 guests