Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB stick for use with M$ XP and Linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
x488u
n00b
n00b


Joined: 02 Aug 2007
Posts: 20

PostPosted: Mon Jul 28, 2008 6:56 pm    Post subject: USB stick for use with M$ XP and Linux Reply with quote

Hello,

i've formatted a USB-Stick for use with Win and Linux. I've created 2 partitions, one with ext3 (1st) and one with fat32.
On Linux a can use both, under XP both partitions are shown as unformatted.

What went wrong? What schould i do to get this working.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43577
Location: 56N 3W

PostPosted: Mon Jul 28, 2008 6:59 pm    Post subject: Reply with quote

x488u,

Did you set the partition type byte with fdisk ?
Linux all but ignores it but windows checks.
fdisk will give you a list
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Mon Jul 28, 2008 8:50 pm    Post subject: Reply with quote

Yeah, check that with cfdisk etc. Also, for usb flash drives, I believe windows only recognizes the first partition. So make use your fat32 partition is the first one. I would suggest to format the entire drive as ext2 and use ext2fsd (http://ext2fsd.sourceforge.net/) in windows (and the drives show up as regular drives in windows explorer :)).

[PS : Ext3 is discouraged a little for flash drives. Journalling means extra writes - which matters to the flash drive lifetime. Also try to mount ext2 with noatime option to save the timestamp writes. You will also get performance boost using ext2 and noatime :). Of course modern flash drives are too good to consider these I believe ;).]
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3060
Location: Korea

PostPosted: Wed Jul 30, 2008 7:33 pm    Post subject: Reply with quote

Why the need for 2 partitions? If it's just for storing some extra files why not just make one fat32 partition? Since both linux and windows can read fat32 you'll be fine.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Jul 30, 2008 7:43 pm    Post subject: Reply with quote

slycordinator wrote:
Why the need for 2 partitions? If it's just for storing some extra files why not just make one fat32 partition? Since both linux and windows can read fat32 you'll be fine.


fat32 sucks if you're using "mutated vowels" (umlaute like ä, ö, ü, ...),

just use ntfs with ntfs-3g & you'll be fine, additionally it has less filename restrictions , etc. ...
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Wed Jul 30, 2008 8:41 pm    Post subject: Reply with quote

The Problem lies with Windows: When plugged in, windows only mounts (or whatever the correct term is) the first partition of a usb flash drive. the other have to be activated manually.

quick solution - reformat, that fat is on the first partiton, and ext2 (or whatever you will choose) on the second.
I've done this multople time, and it works fantastically.

cheers
V.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum