When I bought my laptop 2 years back, I have difficulty in installing Microsoft Windows and Fedora. The problem was, there were 4 hard disk partitions and Windows marked all of them as primary partitions. When I tried to install Fedora I couldn’t properly layout disk partitions. So finally, I found a workaround and installed both Operating Systems.
- Install Windows 7 with only one partition. ie, C
- Install Fedora
- Boot in windows and create extended partitions using Disk Management tool.
Even though this worked, when I checked the partitions in Disk Management, the ext4(LInux) partitions where listed in between Windows partitions. Anyway this worked.
Last month I decided to re-install the laptop, and I want to overcome this behaviour. So I Googled it and found the following method.
- Install Windows 7 with only one partition
- Boot in Windows 7
- Create extended and logical partitions in Windows using DISKPART
- Reboot and install Fedora. Now I was able to create a better disk layout for Fedora
Problemo solved! ..... :) .
Now, I have ext4 partitions listed at the end of the disk.
So the question is how to create extended partition using DISKPART. Let’s check what I have done.
- Open a command prompt with Administrative privilege.
- Type DISKPART press enter
- Type list disk press to show the list of disks . If you have one hard disk it will show Disk 0
- Type select disk 0
- Type create partition extended size=n replace the n with the size in mb . eg: if you need 1GB give 1024
- Type create partition logical size=n replace the n with the size in mb . eg: if you need 1GB give 1024
Note that you can create only one extended partition. You can create any number of logical partition inside a extended partition but the number of accessible partitions is limited by the OS.
That's it . Please let me know your comments.