LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   make logical partition primary (https://www.linuxquestions.org/questions/linux-general-1/make-logical-partition-primary-62986/)

SharpyWarpy 06-01-2003 06:56 AM

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?

born4linux 06-01-2003 08:12 AM

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.

MasterC 06-01-2003 08:15 AM

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.

Cool


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