Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Partition Table Setup

  1. #1

    Question Partition Table Setup

    First I would like to say openSUSE is by far the best distro I have ever tried. I'm having a small problem though I read online about what partitions I should setup so I created 3 partitions...

    / 20gb
    /home 978gb
    /swap 2gb

    I was hoping to setup a system so that if something major happens I wont loose everything. The Problem is I'm noticing everything I setup goes to /usr not /home and my root partition is only 20gb. Can anyone give me a good partition table setup I just don't want to install a bunch of stuff and my root fills up.

    I have a 1TB hard drive and I don't use windows at all.
    Also I'm currently using ext4 on all my partitions.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Partition Table Setup

    It is my suggestion, since you seem to have plenty of room, to give the root "/" partition 50-100 GB instead of just 20 GB. My longest running PC is at 49.5 GB of usage with a separate /home as you while my most recently loaded PC is at 16 GB usage. I install all native desktops and code to compile kernels. If you reinstall openSUSE after each new release, you would need 30 GB and no more, but if you plan on using the same install for a couple of years, I might go for 60 GB. I don't know of an easy way to get to that point without doing a reinstall, but it does not sound like you have wasted much time with this new setup so far.

    /sda - MBR loaded with Generic booting code
    /sda1 - SWAP 2-8 GB (Depends on installed memory and if you will use Hibernate)
    /sda2 - / 50-100 GB Primary Partition Loaded with Grub and marked Active for booting
    /sda3 - /home Rest of Disk - Primary Partition

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Partition Table Setup

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Depends on your other practices I suppose. On my system I have enough
    swap to allow me to hibernate, a /boot partition that is at most 100 MB,
    and then the rest is devoted to the entire filesystem under root (/). I
    do not have /home separate because I don't typically do upgrades without
    completely wiping the box (personal preference) and I also do very regular
    backups to multiple backup destinations so I don't need to be concerned
    about burning my personal data somewhere just for a rebuild of my box.
    Having /home separate makes an upgrade nice since you can just rebuild the
    root filesystem and keep /home as it currently is. In your setup you may
    want to give more space to / beyond the original 20 GB. 20 GB is plenty
    for an install to run for a while depending on your needs but with that
    much space you could probably safely give root (/) 100 GB and have plenty
    for years of software installs.

    Good luck.





    On 06/13/2011 04:06 PM, paulchain wrote:
    >
    > First I would like to say openSUSE is by far the best distro I have ever
    > tried. I'm having a small problem though I read online about what
    > partitions I should setup so I created 3 partitions...
    >
    > / 20gb
    > /home 978gb
    > /swap 2gb
    >
    > I was hoping to setup a system so that if something major happens I
    > wont loose everything. The Problem is I'm noticing everything I setup
    > goes to /usr not /home and my root partition is only 20gb. Can anyone
    > give me a good partition table setup I just don't want to install a
    > bunch of stuff and my root fills up.
    >
    > I have a 1TB hard drive and I don't use windows at all.
    > Also I'm currently using ext4 on all my partitions.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJN9o0tAAoJEF+XTK08PnB54gEP/iCzzBCNVNZvXI/Lo5E7wXQ0
    ki+pqojj/uHb+MktLCpXVp02Lc5zzjoIoYkvYj7bd2DzSgMIfJPfj5thrua2ehPl
    lOwdIlx4ZAd0SJTTcBuYYVVerHuDEjaKpSz3GWx91Pe5D07WsJaEMe9qFYFXpBnH
    RfWUTa431IqtHRvqkW7bBbb5H6FB/qTUgAAg0kS775wDaGIcEyiwKRqkxLcTxfcl
    vOlrcqUeT7SqavdjhRaeA6P5fz/B6SPOoH4VwiiNsjXArxbdELjVYt9DvVmZFNU+
    iS/PEQyJBc1vnqYVDJkB4OfwamCXXWMDAdo2pqR0rbtDdi39QgXBtUz9NTEaR3p1
    ukpKLtKh23DON6T9I/yP0lWIPg1zBOXSmKbNvCxLzvVTQ4bqWBA/ghtXNJIg5i3q
    d+opSEn43sQWZQi2HBamn3JDQ2jv8ECHxlXiNJo20GRJGrtK2oUX/5AhTBJEo69Q
    hjaCxSs9ebBEgb4U8RIHtQQ42xUg6WfzShPngbhYPUDU+g6+DeE7sml1uAE2W6YV
    3CJ7IiUTly33uXQ3ecM79HMKTdZ8ZShxarmOCwQiMXEdJh/DVGnMEp6ZNPF0uTeJ
    DxXCrP7eNizuncDo7CZbfTirzjuywssj/WOtMbhuGmTm0ZcFMxwR2hw4aYuQxwSe
    x1jLhA84layJ4Vd40mTp
    =Dlk1
    -----END PGP SIGNATURE-----

  4. #4

    Exclamation Re: Partition Table Setup

    Ok so I need to give root / more space. I'll give it 100gb. I heard its wise to also add a /boot partition. Since all the programs I download through the file manager like virtualbox, office, etc installs to /usr shouldn't i also make a separate /usr partition? This is what confuses me because /home basicly just seems to hold videos, pictures, some game saves, documents, etc not the actual programs. Those seem to be in the /usr folder of root.

    What I'm hoping to achieve is a setup where if something happens I can fix it easier and people said that by creating separate partitions I can achieve that. I also want a system configuration where if something catastrophic happens to the linux root my programs /usr and files /home are separate and safe so that I can simply just reinstall the os and it automaticly have my programs back without having to do a bunch of redownloading. So is this possible or would it just be better to have the

    /
    /home
    /swap

    setup?

  5. #5
    Join Date
    Oct 2008
    Location
    near Munich
    Posts
    507

    Default Re: Partition Table Setup

    I don't know if this helps:

    You have 3 types of data:
    - Programs/libraries: No problem if any of this gets lost. You can just
    reinstall them

    - Configuration files: Most of them in /etc (system wide configuration, e.g.
    Yast) or /home (personal setting, like desktop settings), if you loose them,
    you have to reconfigure your system ... nothing you want to do very often

    - Personal data: This goes to /home. You don't want to loose this files ;-)
    If you have a database (a local web server, or anything like this) the data
    is probably stored in /var


    This is my setup on a 300 gb hard drive (no windows):

    My root partition is about 50 gb, at the moment about 24 gb are free.
    If you want to use suspend to disk, you should set swap = ram + 2 gb
    The rest of hard drive is used for /home (about 240 gb total)

  6. #6

    Default Re: Partition Table Setup

    Another possibility if you are concerned about where your data is being stored is to create another partition for /usr. That would best be done with a reinstall as well.

    However, that's not what I do; I have a 60GB / directory (overkill, but it made dividing up partitions between my disks easy) as well as a 40GB partition for installing systems to experiment with (like new versions of OpenSUSE when they get near to the RC stage). The rest of my disk space is divided up between /home and another data partition for historical reasons.

    I think that if I were setting up your system, I'd follow jdmcdaniel3's advice; it's a good partition layout.

  7. #7
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Partition Table Setup

    Ok so I need to give root / more space. I'll give it 100gb. I heard its wise to also add a /boot partition. Since all the programs I download through the file manager like virtualbox, office, etc installs to /usr shouldn't i also make a separate /usr partition? This is what confuses me because /home basicly just seems to hold videos, pictures, some game saves, documents, etc not the actual programs. Those seem to be in the /usr folder of root.

    What I'm hoping to achieve is a setup where if something happens I can fix it easier and people said that by creating separate partitions I can achieve that. I also want a system configuration where if something catastrophic happens to the linux root my programs /usr and files /home are separate and safe so that I can simply just reinstall the os and it automaticly have my programs back without having to do a bunch of redownloading. So is this possible or would it just be better to have the

    /
    /home
    /swap

    setup?
    So, if you ask me, unless you are going to load lots of different openSUSE versions or other Linux versions, a separate /boot partition just complicates the situation. I would not recommend you have more than the three partitions with the exception if you must deal with Windows, a NTFS partition may be in order, but if not, stick with three. If you are worried about failure buy a good UPS. If the computer is old, consider a new Power Supply replacement. As for hard drives, I buy a new one every 18 months or so (trying to stay under two years old), but keep your partition setup simple, on yourself.

    Thank You,

    P.S. Really important data must be kept in more than one place.
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  8. #8
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Partition Table Setup

    You don't need /boot unless you have some special circumstances, e.g. old BIOS, RAID, etc.

    Sure you can have a separate /usr if you want, but it's not as cut and dry as you think. Some parts of packages go into /lib or /lib64, or /sbin. I fail to follow your logic that you need a separate /usr. What purpose is this supposed to assist? What kind of accident do you have in mind that might befall / but not /usr?

  9. #9

    Default Re: Partition Table Setup

    ok so I think what i'll do is something like this

    /swap 4gb
    / 200gb <simply because I have the space and I like to install alot of stuff Remember im simi new so I like to test out different software>
    /home <the rest of the drive>

    so does this seem like a good partition system that uses only openSUSE?

  10. #10

    Default Re: Partition Table Setup

    one last thing whats so bad about just having

    /swap
    /

    i hear its not good just to have a / partition but i dont understand why

Page 1 of 3 123 LastLast

Posting Permissions

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