Dear all,
I have decided to completely remove Windows 8 from my dualboot laptop. I also would like to remove the partition for the recovery since the occupy quite a lot of space.

Ideally I would like to end up with a system as if I installed Ubuntu (12.04 64 bit, don't know if it is important) using the
"use the whole disk" option during the installation.

Of course in principle I could do this, but I would prefer to avoid since I have a lot of files that need to work with and installed quite a lot of software and customized a lot of applications.

In order to make the system dual bootable I used the "Boot Repair" tool that resulted in the partition table listed below:
(as shown by)
Code:
sudo parted -l
Code:
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  525MB   524MB   ntfs            Basic data partition          hidden, diag
 2      525MB   840MB   315MB   fat32           EFI system partition          boot
 3      840MB   974MB   134MB                   Microsoft reserved partition  msftres
 4      974MB   487GB   486GB   ntfs            Basic data partition
 7      487GB   487GB   1049kB                                                bios_grub
 8      487GB   966GB   480GB   ext4
 9      966GB   975GB   8476MB  linux-swap(v1)
 5      975GB   999GB   24.2GB  ntfs            Basic data partition          hidden, diag
 6      999GB   1000GB  1074MB  fat32           Basic data partition          hidden, diag
How do I remove the partitions that do not belong to Ubuntu?
How can they be renamed so that the / is /dev/sda1 rather than sda8?
Also, since I have 8gb of RAM, shouldnt the swap partition be of a size of at least 16gb? If so how can I resize that as well?
Let me know if you need further information.
Thanks in advance,
Luca