You are not logged in.

#1 2014-12-19 11:52:48

iaw4
Member
Registered: 2014-11-28
Posts: 46

[Solved] fdisk or parted partition type 0C on gpt? (use EF00)

dear arch experts---I am trying to bootstrap myself.  I want to use gpt and two 8GB partitions on a vmdk.  I want the first to be fat32 (vfat) and the second to be ext4.  the first should be marked boot, too.  any UEFI bios should be able to boot from this configuration.

with the new fdisk, I use "g" and then "n".  alas, it does not prompt me for the type.  this used to be 0C.  the "t" type command for fdisk is scrolling by too fast for me to see it all, but 0C only tells me that the partition is unchanged.  other partition types still work.

how is one supposed to change the partition type and make it bootable?

sincerely,

/iaw

Last edited by iaw4 (2014-12-20 09:59:06)

Offline

#2 2014-12-19 12:29:42

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: [Solved] fdisk or parted partition type 0C on gpt? (use EF00)

What about using gdisk or cfdisk, instead?
And don't forget to commit the changes by issuing w before exit the program.


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2014-12-19 12:37:31

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [Solved] fdisk or parted partition type 0C on gpt? (use EF00)

My advice is to ditch (c)fdisk and switch to (c)gdisk. I think that gdisk is a bit more friendly once you learn the commands.

Offline

#4 2014-12-19 13:11:15

iaw4
Member
Registered: 2014-11-28
Posts: 46

Re: [Solved] fdisk or parted partition type 0C on gpt? (use EF00)

ok, gdisk and cgdisk: better.  the partition types do not scroll by.

alas, they now show 2-byte partition id's, and they seem to be completely different from the 1-byte ids I am used to (30 years of history).

what should one use for a fat32 (vfat) boot partition on gpt?

[for system partition, https://wiki.archlinux.org/index.php/Un … _Partition recommends EF00 .  maybe this is it now??]

Last edited by iaw4 (2014-12-19 13:34:09)

Offline

#5 2014-12-19 14:53:52

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: [Solved] fdisk or parted partition type 0C on gpt? (use EF00)

You already read about. The answer is that you wrote. Especially for UEFI.
If your BIOS boots with UEFI option, then you should find many related posts.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB