Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Scary Paritioning - Need Help
Date: Fri, 20 Oct 2006 09:03:47
Message-Id: 200610200956.48471.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Scary Paritioning - Need Help by Dirk Heinrichs
1 On Friday 20 October 2006 07:07, Dirk Heinrichs wrote:
2 > Am Freitag, 20. Oktober 2006 07:47 schrieb ext Daniel Barkalow:
3 > > You can't really do this in any straightforward way.
4 >
5 > Yes, he can. You know there are partitioning tools out there.
6 >
7 > > The main issue is that ext3 doesn't support resizing.
8 >
9 > Plain wrong.
10 >
11 > > What I'd do is create a new /dev/sda2 and put home directories there.
12 >
13 > Without knowing the size?
14
15 The cleanest way to do this is to boot any LiveCD and tar your fs in each
16 partition/directory into another machine/server/DVD (delete as appropriate).
17 Then use fdisk and create the partitions you need afresh. I'd set sda4 as an
18 extended partition and create as many logical partitions in there as you
19 need.
20
21 Alternatively, assuming you have enough space delete sda2 & sda3. Create a
22 new sda2 as your swap, so as to leave enough space for a new sda3 to untar
23 the SUSE fs in there. Once done boot into your new SUSE partition (sda3) to
24 check that things are working as they should, before you delete sda4. Create
25 a new sda4 to the end of the disk as an extended partition and as many
26 logical partitions as you need in there. You can play tunes with this
27 scenario depending on relative partition sizes.
28
29 Easiest & quickest way to add available space to your SUSE fs (but not
30 strictly speaking the partition) is to use EVM, LVM to create all sort of
31 schemes for your needs. Check the Gentoo docs & Wiki.
32
33 HTH.
34 --
35 Regards,
36 Mick