answersLogoWhite

0


Best Answer

All modern operating systems implement what is called "virtual memory", where unused parts of an application are swapped out and placed on the hard drive. Windows does this by creating a swapfile on bootup and then resizing it as needed. The problem with this is that resizing it constantly will cause the file system to become fragmented.

Linux typically uses a dedicated partition for swapping instead of a swapfile.While the partition is a fixed size and may take up more space than the Windows swapfile at any given moment, it helps prevent the file system from becoming fragmented and is usually faster.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

A swap partition is used as memory overflow. When the memory required is greater than the physical memory available, a portion of the hard drive (ie the swap partition) is used instead. It acts in a similar manner to a windows pagefile

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does the swap partition do on Ubuntu?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you install Ubuntu Linux on a separate partition?

Click the install as partition when installing Ubuntu.


What type of partition does Linux use when it does not have enough memory?

A swap partiton because it is a dedicated partition and not a file


How do you install ubuntu 6.10 on a second partition?

When you boot from the install CD, indicate which partition you want Ubuntu installed on.


How do you shrink Windows XP partition and increase Ubuntu partition?

Use your Ubuntu CD. Find a program called "GParted" or "Gnome Partition Editor". Click on your XP partition and click "Resize" and make it smaller. Then, do the same with your Ubuntu partition, and drag it until it fills the space left by XP.


How do you uninstall windows and replace with ubuntu with both os's already installed?

Insert of your Ubuntu CD, then using GParted, delete your Windows partition and resize your Ubuntu partition until it fills the space left by the deleted partition.


How do you delete Ubuntu from your hard drive without deleting Vista. I need to delete the partition that Ubuntu sits on and uninstall Ubuntu so I can reinstall it and set it up right this time.?

You can remove the partition safely using a tool such as a gparted live cd. You need to burn the image to a CD-rom, boot from that, and remove the partition Ubuntu is installed to. Note: If you installed GRUB to the Master Boot Record of your hard disk, removing the Ubuntu partition could cause booting complications. These should be fixed upon reinstallation of Ubuntu.


How do you remove various partitions of ubuntu from harddrive?

Partitions should be removed using a partition manager. If you have a Ubuntu live CD, then you can run partition editor from there. If you don't, then you should install a partition editor in your main operating system.


Do a swap partition contain a filesystem?

No


What type would you set on a partition to make it a swap partition in Linux?

82


How do you triple-boot Windows XP Ubuntu and Fedora?

This is very similar to dual-booting Windows with either Ubuntu or Fedora, as both Fedora's and Ubuntu's installers are able to cope with each other well. The basic process is like this: 1. Install Windows XP 2. Resize the Windows XP partition to make enough space for both Ubuntu and Fedora. A basic setup should have: A. An NTFS partition (for Windows XP) B. A swap partition. Since Ubuntu and Fedora can use the same swap partition, you only need to make one. C. Two ext4 partitions 3. Choose one distro to install first (it doesn't really matter) and select one of the ext4 partitions. 4. After installing, install the other one to the remaining partition. All three systems should appear in the boot menu if done properly. You can select the one you want use when you start the computer. Remember that the distro you install last will be the default selection, and if you want to change the priority, you have to edit the menu.lst / grub.cfg on that system.


In Ubuntu do swap partition removes your data?

A swap file is used as virtual memory, which is extra space on the hard drive that is used like memory when you run out of space on your memory modules, but it is much slower than actual memory. It would not remove any data, unless you had to erase over something to create the swap file.


Can you install Winodws without removing Ubuntu?

yes, if ubuntu is on a different physical drive or on a different partition if you are stuck with one physical drive. No if it on the same partition as windows The soloution, create a new fresh partition just for windows and make it about , a minimum 40GB