Filesystem strategy (Ext HDD & SD card).

Associate
Joined
10 Nov 2004
Posts
2,237
Location
Expat in Singapore
Hi,

I can boot from my 8GB SD Card on my laptop without modifying the laptop hard drive.

Most things I would imagine will be fine with the 8GB card. I intend to store my media on an external HDD.

I am now playing with Wine and I can see windows programs starting to fill up a large amount of space so I am looking for a way to use only the HDD for Windows programs.

Do I need to create seperate partitions for the media and for the Windows programs (media to be mounted on /media/disk/) ?

Can I do this for wine by just mounting the second partition to ~home/.wine ?

Are there any other areas worth mounting some HDD space on bearing in mind the system has to be able to run happily without the HDD attached (without the Windows programs or HDD media of course).

Cheers
RB
 
It's not uncommon for /home to have it's own partition.

Sounds reasonible but is it easy to have the system to assign /home to the HDD if connected but if not to assign to an area on the SD card ?

I do not see me connecting the external HDD all the time.

Cheers
RB
 
You'll need an entry in /etc/fstab similar to:
Code:
/dev/sdd1 /home reiserfs auto 0 0
and if that device is not plugged in, and "/" is on the SDD then everything will just use the content of /home on the SDD.
 
Why do you need a different partition for wine? it doesnt require an NTFS/FAT filesystem unless you are installing windows on it first and using that? wine can be configured to use any directory for its root..
 
Instead of mounting /home on the HDD I think it might be better if just /home/.wine was on the HDD. Otherwise when you boot without the HDD attached you'll have a completely different desktop profile. All your user data will be missing, not just the stuff in ~/.wine that's taking up all the space.
 
Instead of mounting /home on the HDD I think it might be better if just /home/.wine was on the HDD. Otherwise when you boot without the HDD attached you'll have a completely different desktop profile. All your user data will be missing, not just the stuff in ~/.wine that's taking up all the space.

That's what i was suggesting, he doesn't need a different partition, just pointing wines root to a directory on the other HDD...
 
That's what i was suggesting, he doesn't need a different partition, just pointing wines root to a directory on the other HDD...

It has to be a parition.. you can't mount a disk without there being a parition on it, even if it's just one big one.
 
It has to be a parition.. you can't mount a disk without there being a parition on it, even if it's just one big one.

There will be a partition, it's going to be mounted on /media/disk according to the OP.

I was curious why you would need a seperate partition for Wine...
 
There will be a partition, it's going to be mounted on /media/disk according to the OP.

I was curious why you would need a seperate partition for Wine...

Ok I think I understand what you are getting at.

You are suggesting more a case of linking to a directory on the /media/disk mount for the Wine directory so only one partition is required.

If this is the case then how best to handle when the disk is not attached and / or if the disk is not attached initially and then attached later after boot ?.

As I understand it, if I have it as a seperate partition then this will be handled automatically.

RB
 
You'll need an entry in /etc/fstab similar to:
Code:
/dev/sdd1 /home reiserfs auto 0 0
and if that device is not plugged in, and "/" is on the SDD then everything will just use the content of /home on the SDD.

Thanks DJ.

I will have a look at fstab.

Regards
RB
 
Back
Top Bottom