Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How would you partition a 40GB hard drive...

  1. #1
    Join Date
    May 2005
    Location
    Poznan, Poland
    Beans
    284
    Distro
    Dapper Drake Testing/

    How would you partition a 40GB hard drive...

    I bought a laptop to install Ubuntu + XFCE/KDE on it:

    http://rodan.net/eSklep/prod?id=acer+2423nwxmi++053

    + additional 512MB of RAM

    ...and I have to partition the hdd. The /home/ will have a separate partition for sure, I will be using the laptop alone + give it sometimes to my friends (separate guest account with very basic apps). How would YOU use this hard drive?

    PS. I'm praying for a working WiFi (the card seems very basic)
    PS2. The computer will be shipped in two days time. Can't wait to test it with Penguin.
    Switched to ArchLinux (Pacman rox!)
    Linux registered user number 391475.
    War is not about who is right, but who is left.

  2. #2
    Join Date
    Dec 2005
    Location
    Cluj-Napoca, Romania
    Beans
    1,080

    Re: How would you partition a 40GB hard drive...

    I would definitely use LVM. It can resize partitions (or equivalents, cause it uses a different terminology) on the go, especially with reiserfs filesystem.

    So you could just give the home partition and the root partition some comfy values in the beginning, then resize them with the unused space, with just 2 commands, without even unmounting that partiton.

    What I did: I had 15GB on my hdd for Ubuntu. I gave / a 1.5 GB space and /home a 2 GB space in the beginning. Then, when space was getting low for Ubuntu, I would add 500MB more. It is now at 2.5 GB, with quite a lot free, actually. /home evolved faster, and has 9GB. So, I still have some 3 GB to add where needed. The only thing is that /boot cannot be in lvm, so for that I made a 100MB partition. Anyway, the bios sees the whole LVM space as one partition, and only the kernel can read the logical volumes and mount them as if they were partitions.

    Info here

  3. #3
    Join Date
    Apr 2005
    Location
    Under the Jolly Roger
    Beans
    571

    Re: How would you partition a 40GB hard drive...

    I'm not sure I'd recommend using LVM outside of a RAID environment. I've never had any reason to use it on my desktop machines at home, anyway. For a 40GB drive, I'd recommend the following layout:
    Code:
    mount   size    filesystem
    /boot   100MB   ext3
    /       15GB    reiserfs
    swap    512MB   swap
    /home   24GB    reiserfs
    This should give you plenty of room for Ubuntu, as well as a reasonably large /home partition. The swap partition is the same size as your physical RAM, and the /boot partition is separate (and comes first) so that if you're paranoid, you can adjust /etc/fstab so that /boot isn't mounted and thus cannot be altered by mistake. (This is the Gentoo way, and I think it's a good idea. You can always manually mount it if you're going to compile the kernel or install a new one.) I suggest ext3 for /boot instead of reiserfs because I've heard that GRUB doesn't always cope well with reiserfs.
    My sole duty is to my own happiness and well-being. I recognize no other.

  4. #4
    Join Date
    Dec 2005
    Location
    Cluj-Napoca, Romania
    Beans
    1,080

    Re: How would you partition a 40GB hard drive...

    Quote Originally Posted by Stormy Eyes
    I'm not sure I'd recommend using LVM outside of a RAID environment.
    Well, I use it on only one hard drive. I haven't had any problems. I don't think you were suggesting I might, though. Why do you say you wouldn't recommend LVM? I might reconsider....

    I've never had any reason to use it on my desktop machines at home, anyway.
    That may be so, but my experience has been that it offers an extra bit of comfort. I mean, for me it meant relief from struggling to find out the best partitioning scheme in the beginning and just resizing when needed.


    For a 40GB drive, I'd recommend the following layout:
    Code:
    mount   size    filesystem
    /boot   100MB   ext3
    /       15GB    reiserfs
    swap    512MB   swap
    /home   24GB    reiserfs
    This should give you plenty of room for Ubuntu, as well as a reasonably large /home partition. The swap partition is the same size as your physical RAM, and the /boot partition is separate (and comes first) so that if you're paranoid, you can adjust /etc/fstab so that /boot isn't mounted and thus cannot be altered by mistake. (This is the Gentoo way, and I think it's a good idea. You can always manually mount it if you're going to compile the kernel or install a new one.) I suggest ext3 for /boot instead of reiserfs because I've heard that GRUB doesn't always cope well with reiserfs.
    Isn't 15GB for / kind of a lot? I mean, how could Ubuntu, with all the software someone might need, reach that size? It's not Windows!

  5. #5
    Join Date
    Apr 2005
    Location
    Under the Jolly Roger
    Beans
    571

    Re: How would you partition a 40GB hard drive...

    Quote Originally Posted by louis_nichols
    Isn't 15GB for / kind of a lot? I mean, how could Ubuntu, with all the software someone might need, reach that size? It's not Windows!
    There's a difference between "all you need" and "everything you want". I'm always generous when allocating space to /, because I know I'll want to tinker and install more stuff. Also, depending on the laptop's specs, you might want to install a game or two in /opt. Neverwinter Nights, for example has taken up 3GB on my hard drive.
    My sole duty is to my own happiness and well-being. I recognize no other.

  6. #6
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How would you partition a 40GB hard drive...

    IMHO I wouldn't use LVM because it isn't necessary and AFAIK it isn't very easy to do (with that I mean well integrated into the installer).

    / : ext3 6 gb (6 gb is enough for everything you will want to install using apt-get including gnome,kde and xfce but if you want to install big games add more space here as you see fit)

    swap as big as your memory unless you are planning to use applications that use lots of memory such as video editting then you should

    /home ext3 the rest of the harddisk
    Last edited by ubuntu_demon; May 8th, 2006 at 04:33 PM.

  7. #7
    Join Date
    May 2005
    Location
    Poznan, Poland
    Beans
    284
    Distro
    Dapper Drake Testing/

    Re: How would you partition a 40GB hard drive...

    I appreciate your answers guys. Another question btw. Would you use KDE or XFCE on such laptop? I bought additional 512MB (default: 256). I don't use Gnome because I always used KDE and really like it, but maybe XFCE would be a better choice for such specs? I think I'll install both and check the performance etc.
    Switched to ArchLinux (Pacman rox!)
    Linux registered user number 391475.
    War is not about who is right, but who is left.

  8. #8
    Join Date
    Oct 2004
    Beans
    Hidden!
    Distro
    Ubuntu Karmic Koala (testing)

    Re: How would you partition a 40GB hard drive...

    Quote Originally Posted by dolny
    I appreciate your answers guys. Another question btw. Would you use KDE or XFCE on such laptop? I bought additional 512MB (default: 256). I don't use Gnome because I always used KDE and really like it, but maybe XFCE would be a better choice for such specs? I think I'll install both and check the performance etc.
    I hope there is an open slot Not that I've been ripped off... So you'd have 768mb total? Here is what I'd use:

    6.5 gig reiserfs /
    remaining reiserfs /home
    1 gig swap (maybe for suspend to ram etc, it'd be a good call)
    The idea of copyright did not exist in ancient times, when authors frequently copied other authors at length in works of non-fiction. This practice was useful, and is the only way many authors' works have survived even in part. -- Richard Stallman

  9. #9
    Join Date
    May 2005
    Beans
    66
    Distro
    Ubuntu 6.06

    Re: How would you partition a 40GB hard drive...

    You don't need 15GB for ubuntu... at all. That's too much overkill. I use a 6GB partition and that's plenty. When all you have is 40GB why waste all that space? What I do with my 100GB is give 6GB for Ubuntu, 512 or whatever for swap, and give the rest for a storage partition. Easy to reinstall ubuntu without losing anything. (I like completely fresh installs so I don't make my /home seperate.)
    Last edited by Orunitia; May 8th, 2006 at 05:56 PM.

  10. #10
    Join Date
    Feb 2005
    Location
    Beaverton, OR
    Beans
    60
    Distro
    Dapper Drake Testing/

    Re: How would you partition a 40GB hard drive...

    I partitioned my 60G this way -
    100MB boot
    512MB - swap
    10-ish GB - /
    the rest - /home

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •