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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-31-2005, 11:24 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Posts: 18
Rep:
|
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?
|
|
|
12-31-2005, 11:34 PM
|
#2
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
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.
|
|
|
01-01-2006, 12:35 AM
|
#3
|
LQ Newbie
Registered: Sep 2004
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
01-01-2006, 01:59 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
01-01-2006, 02:00 AM
|
#5
|
Member
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315
Rep:
|
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
|
|
|
01-01-2006, 09:17 AM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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.
|
|
|
All times are GMT -5. The time now is 08:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|