You are not logged in.

#1 2009-02-20 14:59:09

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Can I set up my partitions like this?

I'm going to install Arch soon, and I'm wondering if I can install it with two partitions. (/ and /home) I had two partitions before Ubuntu (sda3) which I deleted. I am planning to put the Arch partitions there. (both ext4) Would anything be wrong doing it like this? If I deleted my Ubuntu partition+swap, would I be then able to extend the Arch /home partition to fill the rest of the space?

Here's a current layout from gparted:

1235191081.png

Offline

#2 2009-02-20 15:02:28

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Can I set up my partitions like this?

you will still need a swap space - size depending on how big your RAM is.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-02-20 15:11:28

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Can I set up my partitions like this?

I have 2GB RAM, and its usage on Ubuntu never goes above 600MB. I've also got 'vm.swappiness' at 0, so I'm pretty sure I could easily do without swap space.

Offline

#4 2009-02-20 15:46:17

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: Can I set up my partitions like this?

Why not use LVM to manage your disk partition?

Offline

#5 2009-02-20 16:18:35

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: Can I set up my partitions like this?

You could do that. Hell, I'm using ext4 with just one partition for / and a swap partition. That maybe unwise as I could lose everything if ext4 decides to act up, but I'm not worried about it.

Offline

#6 2009-02-20 16:48:03

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Can I set up my partitions like this?

+1 for lvm and use a separate /boot and /home. You won't regret it. I totally wasted my / the other day messing with ext4, took me 10 mins to re-install arch on /. All my configs in /home where safe and intact.

Offline

#7 2009-02-20 17:11:24

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Can I set up my partitions like this?

linkmaster03 wrote:

I have 2GB RAM, and its usage on Ubuntu never goes above 600MB. I've also got 'vm.swappiness' at 0, so I'm pretty sure I could easily do without swap space.

hmm,
there is fine reading about "swappless" setup mostly by A. Morton (I think at lklm). I don't believe that he thinks well about such configuration. He argues that users running without swap do not understand how memory is used by linux. This has nothing to do with the amount of RAM installed.

Offline

#8 2009-02-20 18:35:04

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Can I set up my partitions like this?

jacko: Why do you suggest separating /boot from /?

Does LVM basically create logical volumes within a single physical partition? The problem is that I need to fit Arch before Ubuntu so I can easily delete Ubuntu and have my partitions lined up neatly at the beginning.

Offline

#9 2009-02-20 18:44:56

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Can I set up my partitions like this?

linkmaster03 wrote:

jacko: Why do you suggest separating /boot from /?

Does LVM basically create logical volumes within a single physical partition? The problem is that I need to fit Arch before Ubuntu so I can easily delete Ubuntu and have my partitions lined up neatly at the beginning.

A separate boot is useful because you can set up a different filesystem. /boot doesn't have many writes to it. Only when a kernel update comes in. So you don't need a journaling filesystem. That's why I have my /boot as ext2. These partitions are also small (mine is 61MB) so the fsck is also fast.

If you are going to get rid of Ubuntu anyway, wouldn't it be better to simply delete Ubuntu and use GParted to simply create the partitions all over. Or am I mis-understanding your take on it?

Last edited by Inxsible (2009-02-20 18:45:09)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2009-02-20 19:19:34

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Can I set up my partitions like this?

I am keeping Ubuntu on there for a bit so I can transfer Firefox stuff, some configs, and personal files over to Arch. Also going to use it as a backup OS in case something doesn't work on install.

Offline

#11 2009-02-21 19:13:21

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Can I set up my partitions like this?

linkmaster03 wrote:

Does LVM basically create logical volumes within a single physical partition? The problem is that I need to fit Arch before Ubuntu so I can easily delete Ubuntu and have my partitions lined up neatly at the beginning.

Or, is there a way to move my current partitions over or something so I can fit 3 before it?

Offline

#12 2009-02-23 23:56:24

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Can I set up my partitions like this?

Anyone? Is there even a way to install Arch with two partitions before Ubuntu?

Offline

#13 2009-02-24 00:00:31

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can I set up my partitions like this?

jacko wrote:

+1 for lvm and use a separate /boot and /home. You won't regret it. I totally wasted my / the other day messing with ext4, took me 10 mins to re-install arch on /. All my configs in /home where safe and intact.

On what grounds will you recommend a separate /boot? Unless you share kernels between installation this will only complicate setup and be useless.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2009-02-24 00:05:12

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: Can I set up my partitions like this?

linkmaster03 wrote:

Anyone? Is there even a way to install Arch with two partitions before Ubuntu?

Yes.  Just make 2 partitions, mount them in the installer, and install Arch.

Offline

#15 2009-02-24 03:48:41

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Can I set up my partitions like this?

B wrote:
jacko wrote:

+1 for lvm and use a separate /boot and /home. You won't regret it. I totally wasted my / the other day messing with ext4, took me 10 mins to re-install arch on /. All my configs in /home where safe and intact.

On what grounds will you recommend a separate /boot? Unless you share kernels between installation this will only complicate setup and be useless.

For flexibility in my installation. Yes, that means added complexity, but I feel the trade off is worth it for me.

I only mention it here because that is also the default arch auto partition scheme. AFAIK

Offline

#16 2009-02-24 03:51:15

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Can I set up my partitions like this?

Does LVM basically create logical volumes within a single physical partition? The problem is that I need to fit Arch before Ubuntu so I can easily delete Ubuntu and have my partitions lined up neatly at the beginning.

LVM would make this easier if you did not want to resize your partitions.

Again, adds some complexity, but is worth it in some circumstances.

Last edited by jacko (2009-02-24 03:53:03)

Offline

#17 2009-02-25 21:00:51

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Can I set up my partitions like this?

SkonesMickLoud wrote:
linkmaster03 wrote:

Anyone? Is there even a way to install Arch with two partitions before Ubuntu?

Yes.  Just make 2 partitions, mount them in the installer, and install Arch.

Thank you!

Offline

#18 2009-02-26 03:21:06

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Can I set up my partitions like this?

I think the amount of partitions is pretty much open when installing arch or most linux distros. Anywhere from one to as many as you'de like. I'm a little old fashioned, always using 3. I like a seperate ext2 boot partition, and always make it's size 100mb. Then a swap partition, and everything els on the 3rd using ext3. I decided against a seperate partition for /home, since I couldn't predict how large it would get over time. For the best considering how much music I have collected over time.


-- archlinux 是一个极好的 linux

Offline

Board footer

Powered by FluxBB