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.
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.
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.
Below the disk partitions after resize/move, for illustration. click for larger picture.
http://thumbnails111.imagebam.com/30986/75e10e309856603.jpg](http://www.imagebam.com/image/75e10e309856603)
The partition I named /backup is actually /home/trabalho
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.
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.
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))