Topic: In need of partitioning suggestions

Hey #! forums.

I have this new 2TB hard drive in my system and thought I would try out other distros (other than Linux Mint / Ubuntu). To start with I burned LiveCDs for Mint 9, Mint 12, #! 10 and openSUSE 12.1. I am wide open to suggestions for other distros to try, but those are where I'm going to start.
On to the partitioning!

What would be the best way to set up my partitions? I've done it a couple of times now and I'm leaning towards something like:

/boot 0.5gb
swap 2gb
/ - lm9 24gb
/ - lm12 24gb
/ - #! 10 24gb
/ - oS 12.1 24gb
/ - empty 24gb
/ - empty 24gb
/ - empty 24gb
/ - empty 24gb
etc, etc.
/data (the rest; about 1.5tb)

The empty partitions are supposed to be like placeholders for more distros that I haven't chosen yet.

Is there a better way to do this?

Also, when I did the partitioning with LM12, Disk Utility told me that the partitions were off by some number of bytes and that this may result in poor performance, so I'm doing the partitioning with LM9. Was Disk Utility telling me the truth?

Re: In need of partitioning suggestions

You  probably don't need 24 Gb for a distro-hop, especially if you use a shared swap partition. I've installed several distros on a 12 Gb hard drive with room to spare (right now #!  /root is only 3.64 Gb after installing a bunch of other apps, and /home is 580 Mb). I'd say 10 Gb tops is plenty. You also don't need to partition the empty space until you actually install something -- just leave it "unalloacated" for now. Then always choose the "manual install" option in the distro you're adding, and do the partitioning yourself.

You might find this thread useful to prevent conflicts as you add new stuff...

But then you have 2Tb to play with (OMG -- I remember when a 20 Mb HD was big, that's how old I am...)

Last edited by 2ManyDogs (2012-01-27 19:38:18)

Re: In need of partitioning suggestions

FWIW, I distro-hop with VMWare Player.  If it's "good enough" I install it for real.
This gives me
/
swap
/home

partitions, where / is about 10 gb, swap is 8 gb (since I run vms). and /home is the rest.

When I install it for real, I don't format /home
-H

"When any government, or church for that matter, undertakes to say to it's subjects, this you may not read, this you must not see, this you are forbidden to know the end result is tyranny and oppression, no matter how holy the motive."
-Robert A. Heinlein

Re: In need of partitioning suggestions

^ If everyone followed hinto's advice, the world becomes a better place...

The only difference I have is not using all of what remains for /home and use some to setup multiple partitions for testing purposes

Re: In need of partitioning suggestions

Lmao ... 2ManyDogs, I know ... right ? lol


Who needs a 2tb hdd ?!?!? Sighs, guess someone could always download a good chunk of da net if they wanna. Don't have much time to throw 2 cents in on this atm. Seems like partitioning schemes are in a big way a personal preference deal. May be as many schemes as there are gnu/nix users in the world. While also goes w/o saying some make more sense than others. Though you are free to find the one that pleases you the most.


Might look over ... this Something about using LVM and /boot location and that. Looked close enough to me, though am far from a guru.


Mainly agree with 2ManyDogs come to think of it. You can make things as crazy or not as ya like for sure. That's ALOT of drive space. Tend myself to slap everything on one partition per OS, #!'s got more than 10gbs, most other don't and still have plenty of room on those partitions atm. A shared partition, a shared ntfs partition too ... blahblahblah. Now for some odd babbling, like 2Many already noted anyway. Not tough to make a small partition for ea gnu/nix OS, guessing 8-10gbs should be plenty, then set up a shared partition they can all use. Should share the same swap w/o problems.

Would avoid formatting the swap everytime ya install summin new. Formatting the swap can change that partitions uuid and cause ya headaches, you'd have to correct in whichever OS's fstab to clear up. So tell x distro's installer NOT to format the swap during install kinda thing.

Additional babbling 2 include, sharing /home between distro's. Outright sharing a /home from what I understand is a BAD idea, config files will get mixed up. But it's no doubt poss from what I've seen ... More along the lines of using a shared partition for it. Google knows all, if we but ask it the right questions. Mainly just posting to perhaps help ya avoid the musical swap uuid problem mentioned above and fixing it in fstab if it does befall. Have installed many mucho gnu/nix OS's, even let the installer format the swap with no issue. But it has happened a time or two too.


Ya more than likely already know how to find the uuid's of partitions, if not ....

sudo blkid

Should do it for you/folks. Also don't doubt if everyone followed hinto's advice thing, but alas the world is not perfect and there will be borkage, oh yes ! ... There will be continued borkage. Part of the fun of gnu/nix. wink




vll ! and (CB). big_smile

Last edited by CBizgreat! (2012-01-27 20:24:35)

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Re: In need of partitioning suggestions

^ on most installs, the formatting of swap is an absolute where you do not have the choice, it is made for you.

I have never seen a format of  swap affect the uuid's, if you are using the same swap for all builds.

Re: In need of partitioning suggestions

Have had it happen, mentioned for the most part whenever installing x distro. I've just let it format the swap, with no resulting uuid problems in other installs. Fact may be the best idea, am definitely not a guru. If ya do run into probs with swap uuid. It's apparently not all that hard to sort out. Think it was #!, reinstalled #! on another partition while I was moving it around on this old beastie PC. When the new install formatted swap, it borked the swap in the other #! install. Wasn't worried at the time about fixing it. Cause the whole pt of the exercise was moving #! and deleting that older install anyway.


Standard CBizgreat! disclaimer: I am not a gnu/nix guru. Anything/everything I opine may be totally wrong. But thought some of that in the post above might be of interest to somebody ... 2tb hdd !?!?!? PC hardware has gotten crazy, in a really short period of time. big_smile



In any case tc folks and happy computing.  Viva la #! ! too, as usual. wink

Last edited by CBizgreat! (2012-01-27 22:09:49)

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Re: In need of partitioning suggestions

Also had it happen several times, where I let the new distro format swap, then the old ones report "no swap" because the UUID changed -- but it was another learning opportunity, and a minor edit to /etc/fstab later everyone was playing nicely again...

But then again, with the amount of memory we usually have these days, I hardly ever see swap get touched, so I don't really worry about it...

Last edited by 2ManyDogs (2012-01-27 20:40:44)

Re: In need of partitioning suggestions

^ Agree w that too ...


This is kinda going a bit off topic I guess. Butcha know how I like to babble. Speaking of swap, a quick intro to the wonder of swappiness. People with gigs n gigs of RAM imo should never see the swap in use or are doing something wrong. Have all of a mighty 512mbs ddr2 on this old box ... *RAWR ! big_smile

Pressed for time, so can't type it all out. So will paste an earlier post I'd made on this mystical swappiness thing.


Last thing I like to do, is change swappiness. Most distro's come with it set at default to 60. That's wayyyyy too high for personal computers, being used for personal computing eh. You have to edit this file to lower swappiness.

/etc/sysctl.conf

How to: For those who may be even greener than I am with linux. Editing the /etc/sysctl.conf file.

Open terminal> type gksudo the-text-editor-you-want-to-use  /etc/sysctl.conf

I like leafpad for some reason and installed it from synaptic to #!. But any text editor you want to use will work. Put it where it says thetexteditoryouwanttouse, lol. ie: For me using leafpad I type this.

gksudo leafpad /etc/sysctl.conf

It opens the sysctl.conf file as root. I scroll down  and add the following to the bottom of the file.

# Reduce swap to a more reasonable level
vm.swappiness=10

Then I save it ( the way you save any text file), close it and the next time I reboot my swappiness is set to 10, instead of 60. Minimizing the use of swap for all us folks with low RAM hardware is definitely a good thing imo. Also will give a general performance boost. Really slows things down when the OS is writing to disk, pulling things off of it and has to add to the CPU load. No reason to use swap until RAM is used up or close to being used up anyway.

Adjusting swappiness, is a big reason this old beastie runs better and hardly uses the swap partition. Ok now for real gotta get busy, peace folks n happy computing !

Last edited by CBizgreat! (2012-01-27 21:09:36)

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Re: In need of partitioning suggestions

Formatting swap doesn't give you a new UUID, repartitioning does.
-H

"When any government, or church for that matter, undertakes to say to it's subjects, this you may not read, this you must not see, this you are forbidden to know the end result is tyranny and oppression, no matter how holy the motive."
-Robert A. Heinlein

Re: In need of partitioning suggestions

Hmmmm ... well I've seen different.

The swap is (on sda5) and has always been shared between a couple dozen gnu/nix distro's and allowing an installer to format swap has caused issues. Not that it's the end of the world either way. Obviously both 2ManyDogs and I have encountered the issue. Guess could have summin to do with many things. Does the distro use summin like this in fstab ... /dev/sda5 ( where sda5 of course would be the swap partition) or does it use uuid, as I think some newer ones do ? Quick check of /etc/fstab seems to look like #! uses uuid to identify the swap. As follows ...

# swap was on /dev/sda5 during installation
UUID=681XXXXXXXXXXXXXetcXXXXXXX  none            swap    sw              0       0


So atm, just going to consider it one of the many gnu/nix mysteries. Not like it's all that big a deal either way. Or at least far as am concerned.

Last edited by CBizgreat! (2012-01-27 21:56:19)

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Re: In need of partitioning suggestions

Unfortunately my box only has 1GB of RAM. I need to upgrade that next for sure.
The point being that I may actually end up using swap space and I'm not sure if the machine is cut out for Virtualizations really.

Oh, and I had no plan of sharing /home on any of the distros. I would share the /data folder and in each distro my /home/squiggs/(music, videos, documents, downloads) folders would all be symlinks to similar folders in the shared /data.

Last edited by NoOutlet (2012-01-27 21:44:19)

Re: In need of partitioning suggestions

Yeppers, it'll help NoOutlet ... I mean the swappiness deal does for sure. Been doing that for a longgggg time, with many a distro too. Never caused problems, sometimes the place ya have to adjust swappiness can be different for diff distro's. But for #!, pretty sure LM and buntu. It's the file above.

Regardless ... hope these babblings and the stuff others had to offer helps you NO ( or others). Cause otherwise, just sank a buncha time into da thread for nuttin, dang it !!! D:


tc n happy computing folks. big_smile

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Re: In need of partitioning suggestions

@NoOutlet.  You don' t really "share" your /home with other distros.  You'd do something like

mv /home/hinto /home/hinto.bak
Install the new distro (and let it create a new user hinto and /home/hinto)
then move only what you want from /home/hinto.bak to /home/hinto.

Usually the only thing I bring back is music, documents, downloads, .mozilla (thunderbird and firefox settings) and .jedit.

-Hinto

Last edited by hinto (2012-01-27 21:54:54)

"When any government, or church for that matter, undertakes to say to it's subjects, this you may not read, this you must not see, this you are forbidden to know the end result is tyranny and oppression, no matter how holy the motive."
-Robert A. Heinlein

Re: In need of partitioning suggestions

@CBizgreat! mkfs doesn't have a create a UUID option.  It can use one instead of a device name.
Unless you used something different (like a GUI) then the format didn't give a new UUID.
-H

"When any government, or church for that matter, undertakes to say to it's subjects, this you may not read, this you must not see, this you are forbidden to know the end result is tyranny and oppression, no matter how holy the motive."
-Robert A. Heinlein

Re: In need of partitioning suggestions

Again ... not that matters, @ this pt regretting having mentioned it anyway.

As it seems to have sparked a back and forth debate about summin, that probably wouldn'tve mattered to the OP and is apparently easily fixed it if did. Have seen it happen, another user here has, have seen people over in the LM forums have it happen too. If I remember right, set up the new partition for this #! install with PartedMagic, had no reason to mess with the swap partition. Used the same installer to install this, as did the other older install. Same swap that's always been there, only thing that happened to swap during the process, is I let the installer format it.

The idea was to do a fresh install and then copy over the files I wanted from the old install. So wouldn't have to retweak everything, reboot older install .... Swap listed as NO SWAP, shrugs. Didn't need swap to work there as it was soon to be deleted anyway.

Stuff like this. Seems to think there's something to the uuid switcharoo. Also oddly seems to suggest everybody is correct, lol. Not sure how, as no partitioning was even done with the installer tho. PartedMagic has become my go to partitioning tool. Usually pre-partition now. Either way not the end of the world and doubt really matters.

Ha ! Everybody is right. so is a win/win. wink

Last edited by CBizgreat! (2012-01-27 23:29:23)

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Re: In need of partitioning suggestions

What I suggest is that you keep a large partition with your music, documents, downloads folders, etc. Then symlink those folders to the home directory in your various distros. That way you keep all your config files and stuff separate.

Re: In need of partitioning suggestions

@CBizgreat!

Good points to the threads at the Debian forums.  I am surprised by this and maybe a debian installer guru (ivanovnegro) can speak to his experiences.

I am in no way trying to argue with you and I believe this thread is an important one in sharing information that everyone can benefit from

I am going to shut this test computer down now and boot to first a #! livecd and format the swap drive as a test.

I am then going to boot to a debian livecd and do the same thing to see if it is different.

I have done hundreds of installs and have never once seen what you are describing and what others have seen, and I am speaking of using the same /swap partition, not creating a new one.

The only times I have had to deal with a uuid issue is when I use DD or and create a new instance of a root install.  Then you must recreate the uuids , if on the same machine as fstab would see two instances.

Anyway, I will report back the results.

Re: In need of partitioning suggestions

hinto wrote:

Formatting swap doesn't give you a new UUID, repartitioning does.
-H

Deleted crap, as I borked the whole response.

As for this kind of multi distro partitioning, I'd give each distro 10 of 15 GB for root and home, make a huge data partition for all of them, and just symlink the hell out of it.

Last edited by el_koraco (2012-01-27 23:51:56)

Re: In need of partitioning suggestions

Definitely not taking it personal or arguing either VastOne ...

Mentioned have seen it happen a couple times. Think the other was LM10, probably why I was looking around the net for a fix. If I remember, correcting the uuid was the fix. Guess it's just that NoOutlet mentioned a couple of the distro's that were involved like that, which brought the weirdness to mind. Only seen it twice, I must be lucky when it comes to weird borkage.  Have distro hopped through a bunch, mostly let whatever installer format the swap too and most the time ... no prob. The last time, with #!, had no reason to try n fix it. Just copying some config files over, before overwriting that partition and turning into a shared.

Lately been thinking of putting the new #! release there. Might one of these dys, still too happy with Corenominal's last release to bother with it, shrugs. Mentioned and hope folks know from seeing my posts around the forum. Was not intended to insult or agitate anyone here.



vll !

Last edited by CBizgreat! (2012-01-28 06:34:37)

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue