From 538f9d6aaec36378fb8eee8b35cab07a6ab390c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bi=C8=99oc=20George?= Date: Fri, 19 Oct 2018 20:07:44 +0200 Subject: [PATCH] [USETUP] When choosing BTRFS for the partition, don't think of it as Ext2 but just a Linux partition Most of Linux filesystems have the MBR ID assigned as 0x83 and when the user chooses BTRFS upon partitions page wizard, we're thinking of the partition as having Ext2 filesystem which is wrong and misleading. --- base/setup/usetup/usetup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/setup/usetup/usetup.c b/base/setup/usetup/usetup.c index 975c45f5ea6..ae5b86be94e 100644 --- a/base/setup/usetup/usetup.c +++ b/base/setup/usetup/usetup.c @@ -3886,10 +3886,10 @@ BootLoaderPage(PINPUT_RECORD Ir) DPRINT("Found OS/2 boot manager partition\n"); InstallOnFloppy = TRUE; } - else if (PartitionType == PARTITION_EXT2) + else if (PartitionType == PARTITION_LINUX) { - /* Linux EXT2 partition */ - DPRINT("Found Linux EXT2 partition\n"); + /* Linux partition */ + DPRINT("Found Linux native partition (ext2/ext3/ReiserFS/BTRFS/etc)\n"); InstallOnFloppy = FALSE; } else if (PartitionType == PARTITION_IFS) -- 2.17.1