LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-23-2005, 03:42 AM   #1
W0bbles
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware 10
Posts: 27

Rep: Reputation: 15
Shared Filesystem w/ 2 hard drives


I am trying to get a shared filesystem working using Windows XP and Linux (Slack 10.2) with two seperate hard drives.

The first hard drive would have a dual boot of Linux and Windows. The second would be the filesystem that I would want shared. The drive already has data on it as well in FAT32 format, do I run a risk of having it wiped clean? I know that XP will just see the drive automatically. I was curious to whether during installation of Linux when I add the hard drive, if I could mount the drive to /home/me or just /home? Do I have to edit /etc/fstab? What if I want to add this hard drive after Linux has already been installed (now I know I have to edit /etc/fstab if I want it to boot on startup), can I still mount it to a specific dir?
 
Old 12-23-2005, 09:43 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by W0bbles
I am trying to get a shared filesystem working using Windows XP and Linux (Slack 10.2) with two seperate hard drives.

The first hard drive would have a dual boot of Linux and Windows.
Do you mean that you intend to repartition the XP hard drive and install Linux on it, too? This will work if you have enough free space on the XP drive, but you'll need to be careful contracting the NTFS file system on the XP drive. I strongly recommend a complete backup of the XP drive before proceeding. In fact, once you have a good backup (including the registry), the easy way to repartition the XP drive would be to use the XP installation tools to do the repartition, leaving the Linux space free and unformatted, and then restore the XP system from the backup to the (now smaller) partition.

Quote:
The second would be the filesystem that I would want shared. The drive already has data on it as well in FAT32 format, do I run a risk of having it wiped clean?
No, not unless you want to install your Linux system on the FAT32 drive.

Quote:
I know that XP will just see the drive automatically. I was curious to whether during installation of Linux when I add the hard drive, if I could mount the drive to /home/me or just /home?
You might be able do either, but /home/me is cleaner. Note, however, that making it /home/anything will tell the istallation to create the home strucure there, which does run the risk that data on the drive will be lost. In other words, if you tell the install to use /dev/hdb for anything, you have told it to, at a minimum, create a Linux file system on that device, and, perhaps, to reformat it.

Quote:
Do I have to edit /etc/fstab?
No, but it makes things easier.

Quote:
What if I want to add this hard drive after Linux has already been installed (now I know I have to edit /etc/fstab if I want it to boot on startup), can I still mount it to a specific dir?
Sure, just issue the mount command for the device as root. Note that this scenario presupposes that you have a valid /home file system on your boot device, /dev/hda3 if you repartitioned as suggested above. (/boot would be on dev/hda2)

Last edited by PTrenholme; 12-23-2005 at 10:06 AM.
 
Old 12-23-2005, 10:37 AM   #3
ilaiy
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Rep: Reputation: 15
You would need NTFS support to mount the partition of XP in the kernel.

You can add it to fstab and it makes things much easier for it to automount during boot.

./thanks
ilaiy
 
  


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
Shared filesystem between Linux & Windows W0bbles Linux - Hardware 5 07-04-2005 09:22 AM
Shared Filesystem over SCSI porzer Linux - Hardware 1 04-13-2005 05:49 PM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 06:12 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM
Which filesystem should I use for drives shared by Samba? Pcghost Linux - General 4 10-13-2003 08:38 PM

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

All times are GMT -5. The time now is 04:48 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