Can I use my home partition for data in windows also
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can I use my home partition for data in windows also
I am awaiting delivery of a new laptop with a large hdd. I plan to dual boot win xp home.
My question is once windows is installed and I install Slackware11, creating the respective partitions, can I share the /home partition in Slack with Windows, namely use the same partition for data in both os's, or will I have to create seperate data partitions for each.
If so which file system will I need to use. My win os partition will be ntfs.
Hope this makes sense
the safest bet is with a vfat partition just for share your data.
reiserfs is for your linux, and ntfs is for your windowsXP system, they both can read the vfat file system. linux need the vfat module although.
You will need separate partitions. Linux can access fat32 partitions, but it can't be installed to one. Linux can read from NTFS partitions, but writing to NTFS is problematic at best. If you want to be able to read and write data from both OSes, you will need 3 partitions at least (4 including swap): an NTFS partition to install Windows, an ext3/reiserfs/other partition to install Linux, and a FAT32 partition.
The best solution IMO would look like this:
ntfs - windows base partition
fat32 - partition to exchange data between OS
reiserfs or ext3 - base partition for Slack
swap - swap partition for Slack
I would recommend also creating separate partition for Your /home dir. It really makes Your life simpler Don't use fat32 for Your home directory. Imagine when You have virus on Windoze which will destroy data on fat32 partition. You will loose Windoze and Your home on Slack
@Gethyn
No, Linux CAN be installed on fat32 partition but it's not recommended
The best solution IMO would look like this:
ntfs - windows base partition
fat32 - partition to exchange data between OS
reiserfs or ext3 - base partition for Slack
swap - swap partition for Slack
I would recommend also creating separate partition for Your /home dir. It really makes Your life simpler Don't use fat32 for Your home directory. Imagine when You have virus on Windoze which will destroy data on fat32 partition. You will loose Windoze and Your home on Slack
@Gethyn
No, Linux CAN be installed on fat32 partition but it's not recommended
Ummmm! Good point about virus.
So if I create a fat32 partition for windows data and a /home partition for linux (a linux fs) I will still be able to move data from /home to the windows data partition, but not other way round??? Is that right?
shaman66: Are you *sure* that Linux can be installed to fat32? It's the first I've heard of it. Since fat32 doesn't support ugw permissions on files, or symlinks, or case-sensitive filenames, I would be very surprised if it worked. On top of that, pretty much all distros ship with vfat as a kernel module, rather than directly built into the kernel. This means that the root partition couldn't be a fat32 partition in practice, without using a different kernel. While it *might* theoretically be possible to install Linux on a fat32 partition, I don't know of any distro that would allow this.
captain_chaos, here's an attempt to clarify: in Windows, you can write to the Windows drive, and to the fat32 partition. If you use a program such as explore2fs or yareg you can READ from Linux partitions, but you won't be able to write to them*. In Linux, you will be able to write to any Linux partitions, and the fat32 partition. You will be able to READ from NTFS partitions, but not write (it is actually possible to write to them to in some sense, but I strongly advise against this unless you like data loss).
*the ext2 drivers mentioned by randomsel would allow you to write, but I'd avoid them personally.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
I want the linux partitions to be read only in windows, so that a windows virus is not able to harm the linux partitions. is that possible with the fs-driver?
You can't use a FAT for $HOME, unless you are using umsdos file system(see zipslack). However, support for umsdos is not available in kernel 2.6 so setting up that way is not very forward-looking.
I'd just keep separate partitions and put a link to the FAT inside your $HOME or whatever.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.