3

My DELL laptop has a 500 GB hard-disk. I planned to install dual OS in it, so I re-sized the disk using Gparted and my primary OS is Ubuntu 12.10. While resizing my disk, it displays an error only for primary partition can you partition size. Please find the link for screen shot of my partition details.

enter image description here

In additionally one partition with 8GB of Linux swap is already i deleted accidentally so the disk is now possibly to re-sized for creating a sda4 for another OS. Now when i boot my primary OS UBUNTU i am facing a small error that "Uaaa-ssdds-------" is missing wait for mounting automatically or S for Skip or M for manually mounting.

How to solve this problem I i need to recreate a Linux Swap.

graham
  • 10,436
Nachiappan R
  • 55
  • 3
  • 9
  • 1
    How much RAM you have ? Read some answers here that might help you to take a decision. As for the 4 primary partitions problem, the solution is here also. – NickTux Jul 31 '13 at 00:58
  • I am having 4GB RAM. thanks I will try your help... – Nachiappan R Aug 02 '13 at 01:46
  • For those still looking. You can probably install without swap if you have 4Gb unless you want to do something heavy like video editing or gaming. Though more ram is recommended :). If you installed with swap, stress the system a little and check if you are even using swap with swapon --summary – DerpyNerd Feb 26 '17 at 22:04

2 Answers2

5

If you have 4GB or more RAM, I would say you most likely don't really need a SWAP partition. If you have less, I would recommend to have one.

In case you want to add it back: Just use gparted, for example, to figure out the UUID and/or your device letter and add back the line in /etc/fstab to mount it.

In case you just want to remove your warning: You can simply remove the line of the swap partion from /etc/fstab, and it won't show up again.

imbr
  • 164
meskobalazs
  • 2,913
0

In general, your computer does need a memory. But swap partition is special (limited) type of memory. It will help when you run out of physical memory - system will move some blocks of memory to swap partition. But will also slow down system, because

  • hard disk operations are much slower(!) then RAM and
  • system will have to move blocks from hard drive to physical memory when they are needed again

In my case I don't use swap partition at all, on any of my Linux systems.

However it's good idea to install some RAM indicator (ie System Load Indicator). When you run out of memory and there is no swap partition, process asking for memory will get an error and in most cases will close. If it happens - you might want to add more RAM or create swap partition.

So, question should be:

Do I have issues related to not enough memory?

If so - I have to add more of it, so:

Is it possible to add physical memory?

If not - create swap partition.

rsm
  • 191