Re: Best Hard Drive Set Up For A New Linux Box?



On Sun, 20 May 2012 05:57:02 -0700 (PDT)
Steve <tinker123@xxxxxxxxx> wrote:

I'm thinking of having a new PC custom built and then having Kubuntu
12.04 installed on the hard drive.

Shopping around, it seems like 1 TB hard drives are the norm.

I would also like to install a virtual machine on this new PC to run
Windows for the occasional use where I just can't get something on
Linux ( for example, streaming Netflix ). I would also like to be
able to experiment with the occasional "new" linux distro, without
jeopardizing my main Kubuntu install or VM set up.

I know I should ask the PC builder to give me a swap partition ( how
much on a TB hard drive? ).

Any other advice on how to lay the partitions out?

A friend at work suggested multiple hard drives, he said they could be
set up so that I wouldn't have to dual boot. Is there any values in
this?

Thanks much in advance for any tips

Steve


I tend to give myself three "OS" partitions, one swap partition, and one
big data partition. That way, I can have one partition that is my stable
OS, one partition for upgrading to a new release (if I am inclined to
upgrade), and one partition for experimenting with any other OS. A 1TB
drive will be plenty of space to do that (FWIW, 2TB seem like the best
price-per-size value, here).

In the past, I've given myself about 10G per OS partition, and whatever
size swap brought my total RAM quantity up to about 2G, then make the rest
a data partition. But with a 1TB drive, you could go with much more than
10G, and still not lose a significant portion of your data partition.

Rather than divide the fundamental directories across various partitions
(in traditional UNIX fashion), I have subscribed to the "one big partition
for the whole installation" school for many years because, by and large, my
installations are just used as workstations, and if they crash for some
reason, it isn't a big deal to start over. I have learned the hard way to
keep my precious data (images, media, etc) separated from the main
partition. I use the ext4 filesystem for anything linux and haven't had an
OS-based corruption in a long time, but I still think it is good practice
to keep that data separate from your high-usage "OS" partition.

So, having gone through all that, for your circumstance, I'd likely
partition a 1TB drive like this:
Primary 1 = 20G
Primary 2 = 100G
Primary 3 = 20G
Primary 4 = 859G
Logical 1 = ~1G remaining for swap

Install Kubuntu on Primary2, and there is plenty of space left for your
virtual Windows install within that partition. Primary1 & 3 are available
for experimenting without damaging your stable partition. Primary4 is your
data partition. Take care to format that partition with a filesystem
compatible with VMware - the last time I used qemu, I had to build my
virtual drives on top of the ext2 filesytem. I don't know if such
limitations exist with VMware.

I am only vaguely familiar with qemu for virtualizing, and in order for a
virt Win to access other partitions under qemu, the data partitions have to
be served via samba, rather than have direct access to the partition. So,
in that case, that big data partition could be formatted with any
filesystem you wanted. The same may be true for VMware, but I can't
personally say.

OTOH, if you think you might install Windows on either P1 or 3, then you
likely want your data partition formatted using Windows' NTFS filesystem.
I'd say using this fs is generally frowned upon by the *NIX crowd, and I
personally wouldn't use it if the partition is not going to be directly
accessed by a Win OS, but ntfs-3g has been stable for me, allows me to use
USB drives across numerous workstations running various OSs.

Logical1, for your swap, is sized to taste. I run 3G of RAM on this system
(and I run it pretty hard at times), but it is rare for me to hit my swap
partition. I generally add a swap partition just because I've always had
one, and I *think* the kernel will offload low-priority processes to swap
space (someone knowledgeable would have to confirm that), but RAM is so
cheap these days, that I don't waste too much space on swap with new
systems. I'm assuming you'll be running a 64-bit OS, so RAM can be sized
way up without lightening your wallet significantly. The most RAM I run is
8G in a fileserver, none of my workstations exceed 4G, system memory has
never been an issue for me.

That's all I have to say about that.

--
Slackware 13.1, 2.6.33.4-smp, Core i7 920
GeForce GT520, RLU #272755
.



Relevant Pages

  • Re: Loaded SP2 now Im in a boot loop...Things to try.
    ... and missed that it would load XP on the highlighted partition. ... had windows install the driver off of the creative ... Windows only cares about windows getting on my drive.. ... then I will swap the drives.. ...
    (microsoft.public.windowsxp.general)
  • Re: Boot Problems
    ... partition on the 1st drive to E: Data partition on the 2nd drive. ... course having to download all the Windows Updates including SP2. ... The way I would install Windows XP is as follows: ... for backing up and recovering files, drives, system etc ...
    (microsoft.public.windowsxp.general)
  • Re: wrong letter system drive
    ... partition, not to overwrite the other existent HD. ... and trying to install into another ... Drives are detected in "hardware order". ... other products that key off the drive letter details. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Between a rock and hard place
    ... This laptop does not have a floppy drive. ... If I were to take this a new HD and hang it on my own PC and I put the XPhome CD into my CD drive, is there a way to install the OS from the original restore disk to a this proposed new HD which shows up on My Computer as a local HD with its own drive letter. ... made the first partition 78GB and FAT32. ... and it is too bad that slim laptop drives haven't ...
    (microsoft.public.windowsxp.general)
  • Re: re-write is this booting info correct?
    ... This program allocated two types of partitions “primary dos partition” and “extended dos partition”. ... partition"; I'm not very familiar with their english names, ... The correct word as displayed in the fdisk program is 'logical dos drives' just the way i have it. ... There are MBR boot menu programs in the FreeBSD ports collection that you can load into the MBR on the first physical cabled hard drive to scan for other bootable primary-partitions/slices on this hard drive and any other hard drives cabled to the PC. ...
    (freebsd-questions)