Partitioning Advice

I’ve been running OpenSuse on a dualboot system for sometime. I seem to be able to do everything I need in OpenSuse and a virtualmachine so I want to do a full OpenSuse setup.

My current hardrives are a 60 gig ssd and a 370 gig hdd. I am planning on giving 100 gigs to my windows 7 virtual machine (I think it takes that from the /home partition?). I want to have my main linux system and a few programs (such as gimp) on the ssd, while everything else will go on the hardrive.

My question is, how should I partition my setup? I know that linux usually installs programs to the /root directory, but I want to have the freedom to either install on the ssd or the hdd depending on the program.

Thanks for your help

I don’t have an SSD, so I suppose that I shouldn’t offer advice.

The root file system is likely to be small enough and busy enough, that it should all go on the SSD.

My suggestion:

Put the root file system on the SSD. Put “/home” and swap on the hard drive.

Once up and running, you can create some additional directories on the SSD, and move stuff (preferably whole directories) there from “/home” and leave a symlink on “/home” pointing to the SSD directory. That should give you a lot of flexibility in rearranging things.

Hmm really should make little difference where you install the programs they general load when you ask so there is no on going disk access just for the program . Most programs allow setting the location you want the data, so you can put it where it makes sense.

Splitting the locations will be a huge pain for little or no gain. Now where the data is located will make a large difference. You can put the VM’s where you want them but for Vbox they default to your home. I always make an additional partition an mount it as /vm for my VM containers.

How you work or plan to work also makes a difference to where you want the data to go . SSDs ware out so things that do a lot of writing and rewriting should be on hard disk while relatively static data can go to the SSD. Things like logs/cache should go to the hard drive to minimize ware on the SSD

There is no one right way you need to adjust thing based on your needs and usage patterns

Your mileage may vary

Thanks for the advice. How should I partition my setup for the first install? I guess I can more around files after I installed OpenSuse, so does it even matter?

What I would do assuming normal desktop usage

Put root on the ssd mayb 30 gig
home swap and two additional on HD, make 2 small partitions 1-2 gig each on HD and mount them as /tmp and /var/cache to hold often written data

You may later want to add additional partitions to the SSD which you can link to from home or where ever it makes sense to

Thanks, also would it make sense to but a /boot partition on the ssd to made linux boot faster? Or does it not work that way.

On 2013-08-09 22:36, 8ofspades wrote:
>
> Thanks, also would it make sense to but a /boot partition on the ssd to
> made linux boot faster? Or does it not work that way.

Once “/” is on the ssd it is irrelevant if you also create a different
partition for “/boot” in the ssd.

On 2013-08-09 21:26, 8ofspades wrote:

> My current hardrives are a 60 gig ssd and a 370 gig hdd. I am planning
> on giving 100 gigs to my windows 7 virtual machine (I think it takes
> that from the /home partition?).

Wherever you want.

> I want to have my main linux system and
> a few programs (such as gimp) on the ssd, while everything else will go
> on the hardrive.

You can not separate where different programs install. They all go to
/usr. Some programs have a separate directory which could be symlinked
elsewhere - a lot of work.

> My question is, how should I partition my setup? I know that linux
> usually installs programs to the /root directory,

It installs to “/”, also called “root”. “/root” is a different place.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Since I should obviously put the /usr on my hdd, does that mean I shouldn’t install my / partition on the SSD? Can I move my /usr folder from / or do I need to keep it there?

Thanks

no leave usr on root on SSD programs will load faster

On 2013-08-10 03:06, 8ofspades wrote:
>
> Since I should obviously put the /usr on my hdd, does that mean I
> shouldn’t install my / partition on the SSD? Can I move my /usr
> folder from / or do I need to keep it there?

I don’t see it obvious.

You have 60 GB of SSD, that can fit the entire system. You are not
pressed for space to need put /usr elsewhere.

As almost the entire system is nowdays in /usr, you would have almost
nothing in SSD and lose the advantage of a fast disk.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Alright, Thanks for the advice.