Posts: 1,228
secipolla
Joined: 15 Jun 2008
#1
Hi, anti. I think this one may be for you. I've installed antiX in a 8.5 GB hd.

Code: Select all

~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             5.9G  1.5G  4.2G  26% /
tmpfs                 379M     0  379M   0% /lib/init/rw
udev                   10M  104K  9.9M   2% /dev
tmpfs                 379M  4.0K  379M   1% /dev/shm
/dev/sdb3             1.5G  1.3G  129M  91% /home
As you can see, it defaulted to a 6 GB '/' , 1.5 GB 'home' and .5 GB 'swap'. Also, although I've already installed one or two things, I've got a lot of free space at the root partition and I'm becoming struggled at the 'home'. I thought that may be a matter of tweaking Gparted configuration upon antiX's installation.
Maybe I'm wrong, but if not that's an important issue since I think antiX is quite often installed in 'old time' hd's.
Regards.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#2
with 8.5 gigs, you may just want to go with .5 gig swap and rest is root.

john
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
OU812 wrote:with 8.5 gigs, you may just want to go with .5 gig swap and rest is root.

john
Hi, John. But then I have to be 'root' to write on it, right? Or is there something I'm missing (like I usually don't do everything by the command line)?

EDIT - I think I understand now...then the home file wont have a limit to grow.

EDIT2 - please don't take me wrong, but anyway it seems to me that the Installer configuration should be tweaked for antiX. I mean there's no reason to give the root partition 6 GB, right?

Regards.

S.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#4
Two things you can do. First I think the default is as you say 6gb but you can do a custom install and give root only 2gb then, keeping in mind the amount if ram you have make your swap smaller. The rest for /home.

The second would be as John suggested, keep /home in /. The will share the available space and you will still have normal permissions.

You could also use gparted to shrink / and give it to /home. This may be tricky depending on your partition layout. Post"fdisk -l" so we can take a look.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#5
Erie. There's no problem for me, I think (I may try to resize the root partition from ubuntu, that's on another hd - also suffering from lack of space).
I'm just suggesting that antiX installer should be reconfigured maybe to default to a '/'+'swap' partitioning and maybe also give as a 'tip' the minimum recommended size for the root partition in antiX. (it seems it's still with the SimplyMEPIS settings)
That would save people of doing what I'm having to do.
Regards.

EDIT - Maybe you can help me:

Code: Select all

# fdisk -l

Disk /dev/sda: 40.0 GB, 40059321856 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4c314c31

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         302     2425783+   7  HPFS/NTFS
/dev/sda2             303        4870    36692460    5  Extended
/dev/sda5            1149        4390    26041365   83  Linux
/dev/sda6            4712        4870     1277136   82  Linux swap / Solaris
/dev/sda7             304        1148     6787431   83  Linux
/dev/sda8            4391        4711     2578401   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x37e7ea6c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         770     6185024+  83  Linux
/dev/sdb2             771         836      530145   82  Linux swap / Solaris
/dev/sdb3             837        1027     1534207+  83  Linux
Is there a way to transfer the home directory to the root partition, so I wouldn't need to resize it (then I would keep the current home partition as a data one)? Could I do it from inside antiX? Or from another o.s.? If it's too troublesome or risky I may go with the resizing.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#6
With the set up you have now I would just resize /, move the /swap to the end and expand /home. There is a way to move a /home, search mepislovers, there is a few post about it.

Up until recently the Mepis tools, including the installer were closed source so changing it was impossible. Warren recently opened it up and a few people have been working on different aspects of the tools but I don't know how it's progressing. The one issue with the Mepis installer is that it won't allow you to put /home on a different drive, so it must be moved.

I normally install /home in / and then have a separate /data partition/drive. This keeps the OS away from my data. I mount the partition in /home/me/data. This makes it easy to run multiple OS's or reinstall without affecting my data. All the OS stuff is easily had, personal data, not so much.

Edit: I forgot to answer one of your questions. I would use Gparted from the live cd to do and partition changes.
Posts: 215
macondo
Joined: 14 Sep 2007
#7
eriefisher wrote:The one issue with the Mepis installer is that it won't allow you to put /home on a different drive, so it must be moved.
Nor will offer you the options of XFS or JFS __{{emoticon}}__
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#8
- Maybe default the"Auto-Install" option to a '/' (root)+'swap' partition arrangement (or an even more adequate, if anyone knows one).

- Include (if it's not yet there) in the info/tips panel:
-"The"Auto-Install" option creates a '/' (root) + a swap partitions. This is adequate in any/most case/s [if you don't know how or don't want to arrange the partitions yourself]".
-"The"Custom Install" option enables you to install the '/home' directory in a separate partition. [Please run Gparted to create/arrange them beforehand]. The minimum recommended size for the root partition in antiX is"" MB/GB. All partitions must be in the same physical disk".
Last edited by secipolla on 19 May 2009, 10:24, edited 1 time in total.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#9
double post