LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-29-2010, 02:13 AM   #1
Tom6
Member
 
Registered: May 2009
Posts: 114

Rep: Reputation: 16
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

Last edited by Tom6; 11-29-2010 at 02:14 AM. Reason: spelling
 
Old 11-29-2010, 05:33 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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?

Last edited by alan_ri; 11-29-2010 at 05:37 AM.
 
1 members found this post helpful.
Old 11-29-2010, 08:46 AM   #3
Tom6
Member
 
Registered: May 2009
Posts: 114

Original Poster
Rep: Reputation: 16
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
 
Old 11-29-2010, 03:40 PM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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?
 
  


Reply

Tags
drive, linux, partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can I change an extended partition with 3 logical partitions to 3 primary bubuntu Linux - General 18 06-03-2010 07:37 AM
What are Primary,logical and extended partition?? almon General 4 10-30-2007 12:33 PM
[SOLVED] Safety: Primary Partition and Extended (Logical) Partition MBA Whore Linux - Security 11 01-03-2007 02:05 PM
Swap partition...primary or extended|logical? mr.v. Linux - Newbie 1 07-06-2006 03:30 PM
Primary, Logical or Extended partition? mrpc_cambodia Linux - General 3 09-12-2004 11:10 PM


All times are GMT -5. The time now is 09:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration