Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My installation is Fedora 18 and Windows 8, and I need room for another system.

I have a very delicate task: I need to move my primary /boot partition inside an extended partition which contains all other system's partitions (home, root and swap). Layout is as follows:

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      718847      358400    7  HPFS/NTFS/exFAT
/dev/sda2          718848    84604927    41943040    7  HPFS/NTFS/exFAT
/dev/sda3        84604928    85628927      512000   83  Linux
/dev/sda4        85628928   883879935   399125504    5  Estendida
/dev/sda5        85630976    92938239     3653632   82  Linux swap / Solaris
/dev/sda6        92940288   197797887    52428800   83  Linux
/dev/sda7       197799936   883879935   343040000   83  Linux

If an image is preferred (it is in portuguese): GParted print screen

I have much more empty space than used space, if needed, as seen in the screenshot, and I also have an external drive with more than 250G free. I want to have boot partition inside the extended, if possible. Fedora by default uses the most possible primary partition quantity, and I want to free one up to install another OS. Another very wanted solution would be to move Windows' partitions inside an exclusive extended partition, as I think Windows' boot partition is not used (I use GRUB as bootloader).

share|improve this question
    
Use bootstar boot manager star-tools.com/english/index.htm or alternative. Use virtual hdd partition marker in boot sector. Make 15 primary partition. –  STTR Jul 11 '13 at 4:07
    
@STTR I wouldn't like to lose the ability to use partition managers because I use GParted a lot. And isn't this software Windows-only? It seems shady –  ranisalt Jul 11 '13 at 4:17
    
Bootloader does not need an operating system. Usually bootloader is limited interruptions and functions available in the BIOS. No there is yet operating system). –  STTR Jul 11 '13 at 4:32
    
GPT + UEFI as variant? –  STTR Jul 11 '13 at 4:43
    
I don't have access to the BIOS. Using GPT wouldn't mess with Windows or something? I don't want to lose data. –  ranisalt Jul 11 '13 at 4:46
show 2 more comments

1 Answer

Linux can boot from a logical partition just fine. There are a handful of partitioning programs that can convert primary partitions to logical partitions and vice-versa, but there are often (perhaps always) limits. The program I'm most familiar with for this task is my own FixParts. I recommend you read its Web page to learn how to use it.

In your case, the major problem is that there's no free space between your /dev/sda2 and /dev/sda3. Thus, you'll need to shrink one of these partitions to create some free space -- just one sector is plenty, but you'll probably have to shrink it by 1MiB. GParted can do this job, but there is a caveat: Windows can be pretty fussy about its boot partition. If you're booting from /dev/sda2, it could be rendered unbootable by shrinking that partition in GParted. Thus, it might be better to do this from Windows. Once there's unallocated space just before /dev/sda3, FixParts should have no problems converting it to a logical partition inside your extended partition.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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