You are not logged in.

#1 2010-10-25 20:40:05

Gatesgamer33
Member
Registered: 2009-09-07
Posts: 10

Help with partitioning with cfdisk

I was wanting to have the following partitioning scheme on my 250 GB drive

/boot 100 mb ext2
/ 30 Gb ext4
/var 10 Gb reiserfs
/tmp ? Gb reiserfs
/home The remaining space ext4

How can I do this is cfdisk? I can't seem to be able to figure out the filesystem codes for the correct filesystem.

Also, does anyone have any recomendations? Would having /usr as a compressed btrfs filesystem be a good idea for speed? My main focus on partitioning is for desktop speed/responsiveness.

Offline

#2 2010-10-25 22:26:10

Halcyon22
Member
Registered: 2010-07-30
Posts: 33

Re: Help with partitioning with cfdisk

All cfdisk does is creates the partitions it does not create the filesystems. You will need to use mkfs.reiser4,mkfs.ext4, etc. command for filsystems.

Last edited by Halcyon22 (2010-10-25 22:28:06)

Offline

#3 2010-10-26 06:54:01

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: Help with partitioning with cfdisk

Use noatime option in /etc/fstab so a read will not result in a write.

Make /tmp between 1-4GB depending on the size of your RAM and if how often you compile software.  I have /tmp mounted in RAM as tmpfs which defaults to using half your RAM.  I'm also using an SSD so I have logging set to tmpfs too.
---
/dev/sda1 / ext3 defaults,noatime 0 1
/dev/sda2 /home ext3 defaults,noatime 0 1
tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /tmp tmpfs defaults,noatime,size=1536M,mode=1777 0 0

Offline

#4 2010-10-26 07:07:59

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Help with partitioning with cfdisk

For me, it's one / plus one /boot, that's all tongue

I recommend using a graphical partition tool, i.e. gparted for this sort of task, much more intuitive, pleasant.


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB