LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   x86_64 14.1 cgdisk recognise ext4 as fat32 (https://www.linuxquestions.org/questions/slackware-14/x86_64-14-1-cgdisk-recognise-ext4-as-fat32-4175483847/)

rxy 11-08-2013 03:38 AM

x86_64 14.1 cgdisk recognise ext4 as fat32
 
My disk has 4 partitions, sda1 fat32, sda2 swap and sda3 sda4 ext4 with gpt. They are made under ubuntu.

There is a ubuntu on sda3 and runs well for weeks. sda4 is /home.

I burned a 14.1 dvd to install slack. At the step to choose a target partition, sda1,3,4 are shown as fat32, and i can not continue.

So i entered command line and run parted and gdisk, the partitions are all normal like i said above, but in cgdisk, they are shown as Microsoft basic data at partition type.

Maybe i can format sda3 and sda4 with ext4 to solve the problem? I didn't do that. If fail, i won't be able to post this thread, and there is important data on sda4 i don't want to lose them.

What should i do, gurus?

phenixia2003 11-08-2013 03:56 AM

Hello,

You can change the typecode of your partitions as below :

Code:

$ sgdisk --typecode=1:8300 --typecode=3:8300 --typecode=4:8300 /dev/sda
--
SeB

rxy 11-08-2013 09:34 AM

Quote:

Originally Posted by phenixia2003 (Post 5060626)
Hello,

You can change the typecode of your partitions as below :

Code:

$ sgdisk --typecode=1:8300 --typecode=3:8300 --typecode=4:8300 /dev/sda
--
SeB

i am in slack now, thx!


All times are GMT -5. The time now is 06:58 PM.