DebianThis forum is for the discussion of Debian Linux.
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.
I am starting with a blank 20 GB harddrive and I want to have 5 GB for WIN2000, 5 GB for Debian testing and 10 GB for my home directory formated as fat32 so I can store all my info. I want to be able to share these files between both OS's. Is there a place that tells how to setup the home directory on the fat32 partition?
You can't run Debian inside a FAT32 partition. Put your /home partition on the 5G partition for Debian testing, and setup the FAT32 to mount and be accessible from Debian, so that you can read and write to it from both Windoze and Debian. Windoze can't read the Linux native filesystems, and you have many files under your /home directory that can't be FAT32. You can make that 10G partition the one where you save files that you create on both systems, though.
I'm still trying to figure out why linux would have problems running off of a FAT partition. It can read and write to FAT the same as ext3 or reiserfs. The main shortcoming of FAT is it's lack of permissions. Which is a major shortcoming, yet I can't see why you could not have a fat partition as your home partition. Linux is going to be able to read all of those files just fine Chinaman.
I forgot about all the files that need to run in the home directory. I just wanted to be able to share data and files between the two OS, because I have some programs that I need to use for my business that I don't think will run on Linux at this point, i.e. FedEx ship manager, DVD copier and Singer Embroidery software. I just wanted to be able to check e-mails and surf the net in either OS and also share photos and movie files (we raise horses).
So if I understand this, I need to add a line in the fstab to mount the FAT32 partition and then make a link in the home directory ( like I did for mounting my floppy and cdrom) that will get me access to that partition and then I should be able to use it read and write to it from both OS's.
For my Windoze dual boot, I have three separate partitions. One for the OS, one for the programs, and one for data. The first two are NTFS because it's journalized, similar to ext3 and ReiserFS in *nix. The data is FAT32 so that it can be read and written to by Slackware and Windoze.
In my example, only the user that mounted a filesystem can unmount it again. If any user should be able to unmount, then use users instead of user in the fstab line. There are many options, and some guys will disagree with the way mine is setup.
Read "man fstab" and "man mount" for the options available.
Originally posted by Oh Cisco Another question, do I use windoze to setup the shared fat32 partition, since it gets installed first or do I use Linux to setup the shared partition?
My opinion is to use Windoze tools for Windoze; and Linux tools for Linux.
I would insert the W2K disc and create that 5G partition for the OS, and the 10G shared. Install W2K and format the W2K OS as NTFS, since it's journalized. Once you have W2K installed you can format the 10G partition as FAT32 and name it from My Computer.
Then install Debian, and use either LiLO or GrUB to boot both OSes.
Thanks for the help, I won't be able to do the installs, I'm leaving on a business trip tonight, until I get back in 2 weeks. I will find this thread and let everyone know how well it went. Again thanks.
I installed windows 2000, created a fat32 partition (with windows) and then installed debian on the remaining space left. I am able to boot into both OS's without a problem, so I added the line,
/dev/hda2 /media/dual vfat users,umask=000 0 0
to my /etc/fstab file. I rebooted and the fat32 partition was automatically mounted. I have not tried to do anything with the dual partition yet, but I do have a question. Do I need to add "rw" to the users, umask=000 line so that I can read and write to that partition?