LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-03-2004, 08:48 AM   #1
khtse
Member
 
Registered: Sep 2003
Location: Hong Kong
Distribution: Slackware 9.1
Posts: 43

Rep: Reputation: 15
Question home directory on FAT32


Dear all,
I am currently dual-booting between windows 2000 and slackware 9.1. I have a lot of files that I want to access in both environments and it is very inconvenient to copy files to removable storage. What I want is to have a FAT32 partition to store the data, so that it may be read/write by windows and linux.

What would be even better would be if I could store my /home/user directory on this FAT32 partition. Is this even possible? If it is, how do I go about achieving this, or where can I find more information?

Admittedly, this isn't a life-or-death issue, but it would definitely smooth my eventual transition to 100% linux. Therefore, any help would be greatly appreciated. =]

Thanks,

Karhoo~!
 
Old 05-03-2004, 10:56 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
hhmmm, good question, very good!!
I have a spare slack 9.0 setup I use for .......experiments.
I will post back here with my results.........I dont think I can
fubar it too much if I do this as a regular user, and CD# 2 of slack 9 CD set is a rescue disk so........
if need be I can re-set /etc/fstab if things go.........wrong. but will
try it and let you know......he he
 
Old 05-03-2004, 12:05 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Putting your home dir on a FAT partition will probably be unfeasible, as Windows filesystems don't support Linux permissions. All your files will have to have the same permissions (set in the fstab), how will one decide whether a file is executable or not? If you don't have space anywhere else, I suggest putting a loopback file on the FAT partition, formatting it, and using it as yout home dir.
 
Old 05-03-2004, 03:21 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
aaa is right...........
it won't work, there is a KDE-socket issue and the DCOPServer cant access
fat32 at all...........KDE just would not start........I tried tho.....
interesting concept........perhaps in the "near" future we will
be able to do this, it would make Bill G. very irked if we could......LOL
 
Old 05-03-2004, 09:33 PM   #5
khtse
Member
 
Registered: Sep 2003
Location: Hong Kong
Distribution: Slackware 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks for the replies, guys... Well, I guess that's that then. I was thinking of reformatting my windows partition to FAT32, coz right now, it is NTFS, which linux can't write to properly yet...

BTW, what is a loopback file on the FAT partition that aaa is talking about?
 
Old 05-04-2004, 06:56 AM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You might want to look at umsdos, which adds linux features to dos filesystems. You just mount a FAT32 partition as umsdos, and it will work in Linux (there are several disadvantages though).

A loopback file is a file that acts like a hd or partition. You make a big file, format it, then mount it with the '-o loop' option. You can nest a Linux filesystem in a another filesystem this way.

makes a 1 gig file
dd if=/dev/zero of=/bigfile.img bs=1k count=1000000
formats it. it will ask for confirmation
mke2fs /bigfile.img
mounts the file. assumes that '/mnt/loop' exists
mount /bigfile.img /mnt/loop -o loop
 
  


Reply



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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
c++ home directory bendeco13 Programming 2 11-04-2005 05:27 PM
/home + fat32 alaios Linux - General 3 10-03-2004 09:10 PM
/home/ on fat32 fs - a good idea? mandrakemikael Linux - Newbie 4 09-03-2004 06:14 PM
Can't get in home directory--Help dtsfanatic Linux - General 1 08-10-2002 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:53 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
Open Source Consulting | Domain Registration