LinuxQuestions.org
Help answer threads with 0 replies.
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-31-2005, 11:24 PM   #1
Rawr101
LQ Newbie
 
Registered: Sep 2004
Posts: 18

Rep: Reputation: 0
Adding a shared filesystem to a dual boot


I made my dual boot between XP and Slack 10.2. I wanted to add a filesystem between the two either with my left over disk space or an extra hard drive. My question is whether I can still mount the fs to my /home directory or if I have to mount it as a seperate drive?
 
Old 12-31-2005, 11:34 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Two things. First, the new filesystem should be FAT32, as that is the only format readily available to both OS's with read/write capability. Second, I have been installing dual boot systems all weekend (my son's teenage friends), and I found it easier to just have it mounted in /data (or something similar), and make a link in ~/home. Seems to be working fine for them. I'm always open for sugestions, though.
 
Old 01-01-2006, 12:35 AM   #3
Rawr101
LQ Newbie
 
Registered: Sep 2004
Posts: 18

Original Poster
Rep: Reputation: 0
I'm curious on how to mount the new filesystem to a directory (as I want to with /home) after Linux has been installed. I've tried doing it before in the past but messed something up to the point that I had to reinstall everything.
 
Old 01-01-2006, 01:59 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
When you mount a partition somewhere (a directory), the previous contents of the directory are hidden.

It sounds like you mounted over the /home directory, which concealed the contents of the user's home directories.
You could either a) mount the partition to a subdirectory of your home directory, or b) use the options uid= and gid= in your fstab line, which together with the fmask and umask options can give a particular user exclusive access to the partition.
 
Old 01-01-2006, 02:00 AM   #5
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
shared filesystem

Have only dabbled in Slack. I think default desktop is KDE. Not sure if Slack has a GUI control center or killer drive partition utility like Mandrake, but:

Yes, make sure the partition is FAT32 so as to be "seen" by both OSs.

If you repartition your main (hda) drive with Wxp on it, be sure to defrag first and be careful and Backup!
If you use a second (clean) drive (hdb), be careful and backup!

Either way if slack does not have a utility that automatically detects a new drive and its partitions, you will want to add to your /etc/fstab something that looks similar to this using a simple text editor: ( You may also have to run this as root and change permissions of the fstab file).

/dev/hda#_/mnt/name_vfat_umask=0,user_0_0

where: # is the number that your FAT partition has been assigned by you or the partition utility
name is any name you choose for your FAT partition
_ are spaces

If you use a second HD use /dev/hdb#
Then, so that your system knows where to mount this new device, cd to /mnt directory and create a new sub directory with:

[localhost mnt]# mkdir_name

Now exit the /mnt directory with cd .. and you should be able to mount the device with:

[localhost /]# mount_/dev/hda#_/mnt/name

From here I think from within your home folder window, KDE gives you a way to right click -> create a new device ->hard disk dev -> select the FAT32 part you created. Then you will have an icon(link) to the partition. You may or may not have to play with some permissions to read and write.

good luck
 
Old 01-01-2006, 09:17 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
A bit more refinement on this:

I would put Linux, Windows, and "data" on three separate physical drives--this minimizes the hassle if you have a "hard crash". Almost as good is two drives: One for the OSes, and one for data.

Depending on your configuration, you can use extra space on the OS drive(s) for backup. The best for regular backup is an external USB or Firewire drive---less ways for a computer failure to take out the backup drive with it.
 
  


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
Dual-Boot: Shared Drive Access Problem TotalNoob Linux - General 3 01-18-2007 01:11 PM
Create a dual boot with shared vfat Oh Cisco Debian 15 02-09-2006 08:07 PM
Dual Boot w/ Shared partition Rawr101 Linux - General 5 01-01-2006 10:54 PM
shared Internet access, same box, dual boot, win xp and rh9 provri Red Hat 2 06-21-2005 12:36 AM
filesystem debate with dual boot afrodocter Linux - Software 3 01-25-2005 04:22 PM

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

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