LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-04-2006, 02:55 PM   #1
Tux
Member
 
Registered: Jan 2006
Distribution: Slackware and Blag
Posts: 36

Rep: Reputation: 15
Linux USB, FAT


I have a 1GB USB stick, and I would like to install feather linux on it, so I can use linux when I'm on the road etc. But I would also like to be able to move files w/ it, that can be viewed on Windows boxes. I figure I have 2 options,

a. partition it, one w/ ext2 or whatever file system feather linux needs and the other w/ FAT

b. format the entire thing w/ FAT

Also, w/ the first option, I imagine the first option might not work, becuase I think Windows will only mount the primary partition, and to the best of my knowledge (i.e. cant access the music partition on your ipod through windoze). Also, w/ the first thing, could I mount the second fat partition, and save files to it, becuase it is not active? Any advice?

Also, If I install ISOLinux or another bootloader to my USD drive's Master Boot Record, how can I remove it later?


Last edited by Tux; 09-04-2006 at 05:13 PM.
 
Old 09-04-2006, 05:14 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
You should make two partitions - One Ext2/Ext3/Reiser for your Gnu/Linux to run on and one vFat to share files. Most Windows boxes cannot read ext2 or ext3, and although you can add that capability, you would need administrator access.

I should note that you cannot install your Gnu/Linux on a vFat partition. Although Gnu/Linux supports reading these partitions, vFat doesn't support a feature Gnu/Linux needs. (I think the feature is symlinking.)
 
Old 09-04-2006, 05:26 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Since 128MB pendrives can be purchased for under $20, why not use another pen drive if you have another USB port available?
 
Old 09-04-2006, 09:36 PM   #4
Tux
Member
 
Registered: Jan 2006
Distribution: Slackware and Blag
Posts: 36

Original Poster
Rep: Reputation: 15
...

Could I mount the second FAT partiton as my HOME directory? so that I could save files there? or would they just be added to the RAMDISK?
 
Old 09-05-2006, 08:11 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Your home directory is what is listed in the /etc/passwd file, so it could even be a mounted network drive. Fat32 isn't the best choice to use however because it doesn't support linux permissions. Make sure to use the uid= and gid= mounting options so that you are the owner of your home partition.
 
Old 09-05-2006, 08:08 PM   #6
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
I suppose you could probably finagle bootscripts and mount the vFat as your home directory, but it would be much more secure and convenient to just mount it as a folder, say /mnt/vfat. vFat isn't the best filesystem, but it's the only one I know of on which windoze and linux play well together right out of the box. It's a compromise, but it's one you have to make.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format USB Diskette Drive to FAT? sipples Linux - Hardware 12 10-31-2006 09:09 AM
formatting USB to FAT filesystem today53 Linux - Newbie 1 06-21-2006 06:33 AM
win IDE & USB FAT ignored Larion Linux - Hardware 1 02-28-2006 06:56 PM
Mount my USB stick (FAT) hyllplan Linux - Hardware 3 11-05-2004 04:09 AM
Linux supports fat or fat 32? dark_light Linux - General 3 04-25-2002 02:06 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration