Results 1 to 7 of 7

Thread: Resizing partitions and reinstalling ?

  1. #1

    Unhappy Resizing partitions and reinstalling ?

    Hi,
    I had a dual boot with Windows7 and Ubuntu. Then decided to install OpenSUSE over Ubuntu, so now the dual boot is Win7 and OpenSUSE. Pretty awesome.
    The problem is that OpenSUSE decided to use whatever partitions I had for Ubuntu and now Yast2 is telling me that I don't have enough space.
    The swap space I have for that is 5.8GB on /dev/sda5... and according to what I read on the Internet... that's not enough.
    So, do I have to resize the partions, give more space and reinstall???
    If I new I needed more, I would have change the size of those Ubuntu partitions from Windows and then install OpenSuse.
    How much do you guys recomemd to assign? I have 198GB in /home, so I'm not lacking space, I'm just lacking a good management of space.
    Any other recomendations before I proceed?
    I don't want to re-install OpenSUSE again for not knowing something else. hahahaha!
    I'm new at OpenSuse, so I didn't know better, oh well.
    Here is a picture of my partitions, and by the way... what's up with all those 2.86GB partitions? Never saw anything like that before.



  2. #2
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    3,240

    Default Re: Resizing partitions and reinstalling ?

    Hi there.

    5.88 GB is too small for 0S 13.1 root partition. I use 20 GB, usually it gets 10 to 15 GB full, but I've never seen more than that.

    You could decrease your /home partition by, say, 14 GB, move it 14GB "to the right" and then increase the / partition to 19.88 GB.

    I did something very similar yesterday, didn't have any problem. You can't do this from oS, you need a liveCD like Parted Magic. Use the partition editor application.

    You may run into trouble if your boot code is written to the partition you move, but that is not your case - it's usually written to the / partition boot sector or to the MBR, AFAIR.

    For reference, I reduced a /home partition from 384GB to 344GB, moved it 40GB to the right, so that an unpartitioned space of 40 GB was created between it and the previous /backup data partition, and then increased the /backup partition size from 60 to 100 GB.

    The swap and / partitions stayed the same, before (or "to the left") the /backup partition.

    The time-consuming task was the move operation, it took approx. 2-1/2 hours to move. The other operations together took 10 or 15 minutes.

  3. #3
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    3,240

    Default Re: Resizing partitions and reinstalling ?

    I understand the tmpfs are temporary file systems, created in memory (or in the root partition, perhaps) at boot and removed when the system is shut down or rebooted. They are not actual partitions on the disk.

  4. #4
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    3,240

    Default Re: Resizing partitions and reinstalling ?

    Below the disk partitions after resize/move, for illustration. click for larger picture.



    The partition I named /backup is actually /home/trabalho

  5. #5
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    4,029

    Default Re: Resizing partitions and reinstalling ?

    Quote Originally Posted by brunomcl View Post
    Hi there.

    5.88 GB is too small for 0S 13.1 root partition. I use 20 GB, usually it gets 10 to 15 GB full, but I've never seen more than that.
    Good catch, Bruno.

    As Bruno says, your problem is not the 5.88-Gb Swap partition (sda7), but instead is the 5.88-Gb root partition (sda5).

    You don't need a lot for Swap, really. If you have less than 16-Gb of RAM, you do not need any more than 4-Gb Swap (although there are a lot of conflicting guides out there).

    If you want to get into Really Serious MultiMedia Production, or into very intensive CAD, you might want to look at more, but 5.88-Gb Swap should be plenty.

    As for Bruno's suggestion about the size of root -- 20-Gb -- I completely agree with what he says, I have continuously seen the same results he reports on multiple machines.
    "Take a Walk on a Sunny Day, Greet everyone along the way, and Make Somebody Smile, Today"
    Gerry Jack Macks"Walk On A Sunny Day" GerryJackMacks.net

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: Resizing partitions and reinstalling ?

    When you instll an OS into a complex (more then on OS) environment. You need to always double check the partitioning scheme. The installer simply can not guess what you want to do you have to take control.

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Resizing partitions and reinstalling ?

    On 2014-02-23 02:16, gabofg wrote:

    > The problem is that OpenSUSE decided to use whatever partitions I had
    > for Ubuntu and now Yast2 is telling me that I don't have enough space.
    > The swap space I have for that is 5.8GB on /dev/sda5... and according to
    > what I read on the Internet... that's not enough.


    Your swap is fine. Your problem is root.

    > So, do I have to resize the partions, give more space and reinstall???


    Considering that you just installed, I would not bother moving, I would
    reinstall, telling the installer to delete sda5, 6 & 7. Do not try to
    reuse ubuntu partitions, let yast create its own proposal.


    Note: about swap space: use as much and as little as you need. Which is
    not saying much, I know. What do you want it for? How much RAM do you
    have? Do you intend to use hibernation to disk?

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

Posting Permissions

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