LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   HowTo convert Primary Partition to Logical (ie move it inside the Extended Partition) (https://www.linuxquestions.org/questions/linux-software-2/howto-convert-primary-partition-to-logical-ie-move-it-inside-the-extended-partition-847153/)

Tom6 11-29-2010 02:13 AM

HowTo convert Primary Partition to Logical (ie move it inside the Extended Partition)
 
Hi :)

Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing.

I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.

Regards from
Tom :)

alan_ri 11-29-2010 05:33 AM

Hi!

It's been some time since I've used Gparted, but I believe that Gparted still have an option when you edit partition to choose what you want it to be - primary or logical (is what matters to you). If you choose logical, I believe it should be added to extended partition automagically. If not, delete that partition (if that's not a problem?), then create new one (logical) and add it to extended partition manually.

But before you try this post the output of:
Code:

fdisk -l
as root. What is on that primary partition at the moment?

Tom6 11-29-2010 08:46 AM

Hi :)

I don't mind deleting and then undeleting the partition, hopefully making it change to a logical in the process but i can't just delete it. It is the "Recovery Partition" for Windows so it's FAT32 and very flaky.

Regards from
Tom :)

alan_ri 11-29-2010 03:40 PM

Yes, but you didn't post the output.

Did you try to edit partition with GParted and simply change it from primary to logical or move it to extended partition?


All times are GMT -5. The time now is 06:54 AM.