Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ubuntu 8.04 and ubuntu 10.04 on my laptop, and i want to reclaim all the ubuntu 8 space so that i have just one operating system on my laptop. how can i do it? the output of sudo fdisk -l is as follows:

sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x31a431a3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4959    39833136   83  Linux
/dev/sda2            4960        5233     2200905   82  Linux swap / Solaris
/dev/sda3            5234       12852    61192552   83  Linux
/dev/sda4           12852       19458    53062657    5  Extended
/dev/sda5           12852       19182    50847744   83  Linux
/dev/sda6           19182       19458     2213888   82  Linux swap / Solaris

i dont know which of sda1, ..., sda 6 etc ubuntu 8 is on. how can i find that out?

The actual task is that i think a lot of space is devoted to ubuntu 8, if there is no easy way to get rid of it, then i want to repartition the disk so that about 50 GB of hard disk space is given to ubuntu 10's home folder from the ubuntu 8's home folder. but i hope that there is an easy way to get rid of ubuntu 8 alrogether and just have ubuntu 10 on my system.

share|improve this question

closed as off topic by Tom O'Connor, EightBitTony, mailq, Shane Madden, voretaq7 Jul 27 '12 at 18:18

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Probably belongs on unix.SE or superuser.SE, if you wait long enough, another 3 people will come along and vote and it'll get moved by a mod - don't repost over there. – EightBitTony Jul 3 '12 at 12:24
@umar There is actually an Ubuntu-Specific Stack Exchange site (AskUbuntu -- If you are still looking for an answer to this question let me know and I'll migrate it for you... – voretaq7 Jul 27 '12 at 18:18

Boot each of the system and there issue a mount. This will reveal which partition is currently used in each system.

Do mkfs.(whatever) on the Ubuntu 8 partitions. Then mount them in Ubuntu 10. Remove the Ubuntu 8 boot entry from Grub's menu.lst. Done.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.