From 43397b0e180d12adcbb91b257143d21715dfd981 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 26 Feb 2022 23:17:34 +0800 Subject: [PATCH] grub efi cfg: update fdisk instruction for latest util-linux In util-linux-2.37, fdisk uses partition type name instead of hex code. --- postlfs/filesystems/uefi-bootloaders/grub-setup.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/postlfs/filesystems/uefi-bootloaders/grub-setup.xml b/postlfs/filesystems/uefi-bootloaders/grub-setup.xml index 355a5cf935..f78bc6f6d4 100644 --- a/postlfs/filesystems/uefi-bootloaders/grub-setup.xml +++ b/postlfs/filesystems/uefi-bootloaders/grub-setup.xml @@ -61,15 +61,15 @@ fdisk /dev/sdx -Welcome to fdisk (util-linux 2.36.2). +Welcome to fdisk (util-linux 2.37.4). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): t -Selected partition 1 -Hex code or alias (type L to list all): ef -Changed type of partition 'Linux' to 'EFI (FAT-12/16/32)'. +Partition number (1-9, default 9): 1 +Partition type or alias (type L to list all): uefi +Changed type of partition 'Linux filesystem' to 'EFI System'. Command (m for help): w The partition table has been altered.