Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-01-2003, 06:56 AM   #1
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
make logical partition primary

I want to be able to boot a dos partition. How can I make a logical partition primary?

hda1 swap
hda5 linux, primary
hda6 vfat, logical (this is the partition I want to put dos on and make bootable)
hda7 vfat, logical

I've searched the forum and haven't been able to find a way to do it, is it possible without reinstalling Linux?
Old 06-01-2003, 08:12 AM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
nope. not to my knowledge. u need to re-install to make a logical partition a primary one. logical partitions are defined within an 'extended' partition and i can't think of any tool/program that can do what u need.
Old 06-01-2003, 08:15 AM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, you wouldn't necessarily have to re-install, but you would have to back it up to a second partition that will not be affected, or an exterior medium, then fdisk the partition(s), delete the existing extended partition, allocate the new space to a primary partition, edit /etc/fstab to change to the new partition, mount your / partition back up at that point, chroot and bam! You might also need to edit your boot loader to change the partition it's showing for your root 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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Primary or Logical partition ? infernal Linux - Software 7 10-28-2015 09:50 AM
logical partition to a primary one britcoms9 Linux - Newbie 4 01-20-2008 06:46 PM
Make Debian and SUSE bootable from on logical partition lixy Linux - Newbie 3 03-28-2005 02:39 PM
Primary, Logical or Extended partition? mrpc_cambodia Linux - General 3 09-12-2004 11:10 PM
logical or primary partition Socrates Linux - Software 1 02-25-2001 03:50 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:25 AM.

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