You are not logged in.

#1 2009-02-02 23:02:12

greyhat.goon
Member
From: SF Bay Area
Registered: 2008-05-05
Posts: 57

Partitioning a new drive

Hi!  I just got a new 1 TB hard drive. 
Now I need to figure out how to partition it.  I've done basic partitioning before,
but I would like to try something a little more complicated this time (like using Logical partitions, LVMs, encryption, etc).
Here's what I am shooting for.

1.  Expandable (Resizable, growable, etc) partitions
2.  A clean  64bit Arch install with /boot, /home, /var, /tmp as a separate partitions, maybe /home and /var encrypted.
4.  A separate backup/data partition, possibly encrypted.




Any advice or where to find a good howto would be greatly appreciated.


Beware of all enterprises that require new clothes....Thoreau

Offline

#2 2009-02-03 00:20:05

TheBodziO
Member
From: Dukla, Poland
Registered: 2006-07-28
Posts: 230
Website

Re: Partitioning a new drive

http://www.linuxhomenetworking.com is a nice and sane howtos repository though not about block device encryption. You may also check ibm's http://www.ibm.com/developerworks/linux/. I personally value articles found there.

PS. Hey! The same avatar wink. What's your serial number? wink

Last edited by TheBodziO (2009-02-03 00:20:32)


It's not the best thing when they call you a "member" you know… wink

Offline

#3 2009-02-03 19:19:10

greyhat.goon
Member
From: SF Bay Area
Registered: 2008-05-05
Posts: 57

Re: Partitioning a new drive

Thanks for the info!  Bender is my hero!

I did a test run last night using parted magic 3.5 to create the partitions,  but I'm still a little confused
on how to setup LVM.  Here's what I did.

Primary sda1 /boot ext3
    swap
Primary sda2   /     ext4  <--root partition


sda3      Extended 
Inside of sda3:
    Logical sda4 /home   ext4
    Logical sda5 /var    ext4
    Logical sda6 /data   ext4


I then installed Arch by defining the above mount points (installed Grub to sda1), but when
I reboot all I see is a back screen which says GRUB in the upper left corner?   Seems like Grub
can't find anything.  LVM2 was installed and enabled in rc.conf.

1. Do I need to somehow define the LVM structure from the command line before I reboot?
2. Also, in the above senerio, does the root partition need to be a primary partition?


Beware of all enterprises that require new clothes....Thoreau

Offline

#4 2009-02-05 04:40:18

greyhat.goon
Member
From: SF Bay Area
Registered: 2008-05-05
Posts: 57

Re: Partitioning a new drive

Hmm.........I went through and configure lvm and all seemed to be ok, but upon reboot grub
gives an error 15, which means that it can't find something.

Last edited by greyhat.goon (2009-02-06 08:21:06)


Beware of all enterprises that require new clothes....Thoreau

Offline

Board footer

Powered by FluxBB