convert a logical partition to a primary partition

Posted by ant2009 on Super User See other posts from Super User or by ant2009
Published on 2010-12-30T17:08:32Z Indexed on 2010/12/30 20:56 UTC
Read the original article Hit count: 284

Filed under:
|
|

Hello,

Fedora 14 xfce

I have the following partition setup. I would like to know how can I convert the logical partition sda6 to a primary partition.

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1707a8a5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     1026047      512000   83  Linux
/dev/sda2         1026048   205844479   102409216   83  Linux
/dev/sda3       205844480   214228991     4192256   82  Linux swap / Solaris
/dev/sda4       214228992   625141759   205456384    5  Extended
/dev/sda5       214231040   573562879   179665920   83  Linux
/dev/sda6       573564928   625141759    25788416    7  HPFS/NTFS

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              97G  5.0G   91G   6% /
tmpfs                 494M  176K  494M   1% /dev/shm
/dev/sda1             485M   68M  392M  15% /boot
/dev/sda5             169G   26G  135G  16% /home

# partition table of /dev/sda
unit: sectors
/dev/sda1 : start=     2048, size=  1024000, Id=83
/dev/sda2 : start=  1026048, size=204818432, Id=83
/dev/sda3 : start=205844480, size=  8384512, Id=82
/dev/sda4 : start=214228992, size=410912768, Id= 5
/dev/sda5 : start=214231040, size=359331840, Id=83
/dev/sda6 : start=573564928, size= 51576832, Id= 7

I would like to convert sda6 to a primary partition, the reason for this it to install windows 7 starter.

Many thanks for any suggestions,

© Super User or respective owner

Related posts about linux

Related posts about partition