I do not know how to turn a logical partition into a primary partition in Windows. Google is replete with instructions to do the
reverse, i.e., primary into logical, but I ignore any instance of the reverse.
If you are willing to embrace Linux for about an hour, there is an instrument to do so in Linux, called
fixparts. Its manpage states, among other things:
fixparts - MBR partition table repair utility
FixParts (aka fixparts) is a text-mode menu-driven program for repairing certain types of problems with Master Boot
Record (MBR) partition tables. The program has three design goals, although a few additional features are sup‐
ported, as well:
* You can change primary partitions into logical partitions or vice-versa, within constraints imposed by the MBR data structures.
The last sentence (
within constraints imposed by the MBR data structures) means that, if you already have three primary partitions you cannot do it, because all disks with an MS-DOS-type partition table can only host 3 primary and one extended partitions (the latter to be sliced into logical partitions).
You can thus proceed as follows:
- Back up all of your data on the disk. If you do not own an external disk, invest some money and effort into this, you will find this to be an excellent investment.
- Go to the Ubuntu Web site, download an installation image, and burn it onto a USB stick by means of the free utility Unetbootin.
- Now boot your system from the USB stick (you may have to alter your BIOS settings, to make this possible), and when a screen appears asking you to choose between
Install Ubuntu and
Try Ubuntu without installing, pick the latter.
- Open a terminal (Ctrl+Alt+T) and issue these command:
sudo apt-get install gparted gdisk
- Now open gparted (sudo gparted) and erase the partition containing Windows 7. First of all, make sure you are looking at the disk, not at the USB stick: this should be reasonably clear from the partitions size. Also, be careful to choose the right partition, you can identify it from its size,
65.4 GB. Leave the space thus vacated empty,
i.e., do not create a new partition in its stead. Execute this operation, close gparted.
- Now, from the terminal, issue this command:
sudo fixparts /dev/sda
which will make a text-only menu appear. You will have to choose the partition with Windows 8 (again, its size it quite distinctive), and convert it into a primary partition by means of the command r. When you are done, implement the changes which so far you have only decribed to the program by means of the command w, which writes them out to disk, and closes the program fixparts.
For any doubt, Linux has manpages for these programs accessible with the simple commands