how to convert logical partition to primary?
hello,
i am using slackware 14.1 and my partition table is given below Code:
sda1 Primary ext4 60003.42 Code:
sda5 NC Logical Linux 120739.34* |
I would say there is no trivial solution. First you need to save all the content (copy onto another drive) of it, delete it and shrink the extended partition and afterwards you will be able to create a new primary partition (and copy the content back).
But first please post the full result of fdisk -l /dev/sda |
Quote:
Code:
bash-4.2# fdisk -l /dev/sda |
so as you can see sda4 is an extended partition. It means it contains other partitions, but no filesystem. sda5 and sda6 can be found inside. The main problem is that this partition table is full, you cannot add a primary partition. You either need to replace one of them or need to find another solutition.
|
Quote:
sda1,sda2,sda3,and sda6 is important partition to me.so how can i make sda5 primary partition and how can i delete sda4 extended please give me valuable suggestion to me.i plan to install windows os on sda5 partition so it is necessary to convert logical to primary.could u please guide me.Thanks in advance. |
You can only have four primary partitions on an MBR type disk.
If you want more you could try converting the partition table to a GPT type but I think Windows will only install in EFI-mode on GPT disks. |
Quote:
thanks for your suggestion but it is time consuming process i have to read that u giving to me website and understand then only i do.could u have any alternative ways.i ready to delete partition but expat sda1,2,3,6 and how to delete the sda4 that is extending i don't know what it means what ever it is i don't want it.please guide me.Thanks in advance. |
Why do you want to move sda5? linux does not care where a partition is located.
What are you trying to accomplish? Since you already have 4 primary partitions you can not create any more. An extended partition allows one to create more than 4 partitions using a legacy MBR drive. It can not be deleted without losing sda6. You can delete sda5 and add the space to other existing partitions. |
Quote:
when i try to install windows os it gives me error.it won't install in logical fs so i think want to change sda5 logical to primary but i belived that linux only support four primary partition.sda1 has my slackware os and sda2 has swap memory and sda3 has LFS/BLFS system.well,now i understood that there is no way i have to delete any one partition correct?so i don't want to delete my LFS/BLFS system so i want to delete slackware os and after that i want to install windows os.please guide me how to format sda1 ext4 to ntfs with primary fs.Thanks in advance. |
you do not need to do anything, during install windows will ask you to specify partition and will format it for you
|
Quote:
no pan64;5318097 during installation it won't install and gives me error i.e it is a unknown file system windows can install only NTFS fs.i tried lot of times but no use. |
yes, because you need to tell that you want to manage your disk and select the partition and format it.
|
Quote:
|
Quote:
|
glad to help you.
If you really want to say thanks just press YES also if your problem is solved please mark the thread as solved. |
All times are GMT -5. The time now is 08:51 PM. |