[pbs-devel] [PATCH] kernel: enable codepage 437 for vfat support

Stoiko Ivanov s.ivanov at proxmox.com
Tue Nov 26 13:03:57 CET 2024


ran into an issue when clicking on the ESP of a VM while trying
single-file restore.

the added config-config options are taken from config-6.5.13-6-pve
(the restore-image is still based on kernel 6.5) - and I tried copying
a small set around the needed options.

with the patch the ESP contents are shown successfully

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 src/config-base | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/config-base b/src/config-base
index 1581b09..238d93c 100644
--- a/src/config-base
+++ b/src/config-base
@@ -144,6 +144,11 @@ CONFIG_ISO9660_FS=y
 CONFIG_NTFS3_FS=y
 CONFIG_MSDOS_FS=y
 CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="utf8"
+CONFIG_NLS_CODEPAGE_437=y
 
 # memory hotplug
 CONFIG_MEMORY_HOTPLUG=y
-- 
2.39.5





More information about the pbs-devel mailing list