Skip to content

Commit

Permalink
partitions: enable EFI/GPT support by default
Browse files Browse the repository at this point in the history
The Kconfig currently enables MSDOS partitions by default because they
are assumed to be essential, but it's necessary to enable "advanced
partition selection" in order to get GPT support. IMO GPT partitions
are becoming common enought to deserve the same treatment MSDOS
partitions get.

(Side note: I got bit by a disk that had MSDOS and GPT partition
tables, but for some reason the MSDOS table was different from the
GPT one. I was stupid enought to disable "advanced partition
selection" in my .config, which disabled GPT partitioning and made
my btrfs pool unbootable because it couldn't find the partitions)

Signed-off-by: Diego Calleja <diegocg@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
dcghub authored and axboe committed Dec 6, 2012
1 parent 80729be commit 5f6f38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/partitions/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ config KARMA_PARTITION
uses a proprietary partition table.

config EFI_PARTITION
bool "EFI GUID Partition support"
depends on PARTITION_ADVANCED
bool "EFI GUID Partition support" if PARTITION_ADVANCED
default y
select CRC32
help
Say Y here if you would like to use hard disks under Linux which
Expand Down

0 comments on commit 5f6f38d

Please sign in to comment.