may i get rid of some of this

Asked by john on 2008-11-07

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e0824

   Device Boot Start End Blocks Id System
/dev/sda1 1 4918 39503803+ 83 Linux
/dev/sda2 9370 9729 2891700 5 Extended
/dev/sda3 * 4919 9369 35752657+ 83 Linux
/dev/sda5 9567 9729 1309266 82 Linux swap / Solaris
/dev/sda6 9370 9566 1582339+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
2008-11-17
Last reply:
2008-11-20
Wyatt Smith (wyatt-smith) said : #1

Having two swap partitions is unnecessary. You can get rid of one of them, I would keep the one that is closest to the beginning of the disk.

After you remove the extra swap file, open a terminal and type

sudo blkid

Then check that swap line UUID from /etc/fstab matches swap UUID, if not change fstab.

Then check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID, if not change resume file.

If you made any changes then

sudo update-initramfs -u
sudo reboot

john (no2498) said : #2

problem is i dont know how to get rid of it

Wyatt Smith (wyatt-smith) said : #3

You can use gparted on the LiveCD. It is found in the menu System-> Administration-> Partition Editor.

When the program opens, go to the menu Partition and select SWAP OFF. Then you can delete one of your swap partitions. After you do this make sure you check the UUIDs as I mentioned in my first post.

Also please tell....

What is on what is on /dev/sda1 and /dev/sda3? Is one a data partition?

Can you help with this problem?

Provide an answer of your own, or ask john for more information if necessary.

To post a message you must log in.