Bug#1060346: live-boot-initramfs-tools: Debian Live ISO not bootable on exfat partition (loopback)

2024-01-17 Thread Mexit Dev
I am sending the corrected patch (manpages):

diff --git a/backend/initramfs-tools/live.hook
b/backend/initramfs-tools/live.hook
index 
ff8f4210690e21961dd5e8c3f1d7b3a5b14d4167..7c476ea6159c0664e47497f82145b6da8391
100755
--- a/backend/initramfs-tools/live.hook
+++ b/backend/initramfs-tools/live.hook
@@ -133,6 +133,12 @@ then
  manual_add_modules vfat
 fi

+# Filesystem: exfat
+if [ "${DISABLE_EXFAT:-}" != "true" ] && [ "${DISABLE_EXFAT:-}" != "yes" ]
+then
+ manual_add_modules exfat
+fi
+
 # Filesystem: ntfs
 if [ "${DISABLE_NTFS:-}" != "true" ] && [ "${DISABLE_NTFS:-}" != "yes" ]
 then
diff --git a/manpages/en/live-boot.7 b/manpages/en/live-boot.7
index 
02b355da2f124208a951ffa428874b9148665f55..5a7ec9824bfb05794108c44f75b7174b1f40ea5e
100644
--- a/manpages/en/live-boot.7
+++ b/manpages/en/live-boot.7
@@ -38,6 +38,10 @@ Disable support for dm-verity. If set to true
\fItrue\fR' mkinitramfs will build
 \fBDISABLE_FAT\fR=[\fItrue\fR|\fIfalse\fR]
 Disable support for booting from FAT file systems.  If set to
'\fItrue\fR' mkinitramfs will build an initramfs without the kernel
module vfat and some nls_* modules.

+.TP
+\fBDISABLE_EXFAT\fR=[\fItrue\fR|\fIfalse\fR]
+Disable support for booting from exFAT file systems.  If set to
'\fItrue\fR' mkinitramfs will build an initramfs without the kernel
module exfat.
+
 .TP
 \fBDISABLE_FUSE\fR=[\fItrue\fR|\fIfalse\fR]
 Disable support for booting from FUSE-based file systems.  If set to
'\fItrue\fR' mkinitramfs will build an initramfs without the kernel
module fuse and file systems that depend on it (like curlftpfs and
httpfs2).
diff --git a/manpages/po/es/live-boot.7.po b/manpages/po/es/live-boot.7.po
index 
28f916cedbe59b89a986f5f1eb72878383bc4219..edc3da10e3a2f7775515211785053853767c8827
100644
--- a/manpages/po/es/live-boot.7.po
+++ b/manpages/po/es/live-boot.7.po
@@ -194,6 +194,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:43
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap
diff --git a/manpages/po/fr/live-boot.7.po b/manpages/po/fr/live-boot.7.po
index 
2f51f42e7ff3c61d434c2038dbd3a9a5c6453dcf..de52868c31bca54e93bcba8f5929874ec7724197
100644
--- a/manpages/po/fr/live-boot.7.po
+++ b/manpages/po/fr/live-boot.7.po
@@ -192,6 +192,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:43
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap
diff --git a/manpages/po/ja/live-boot.7.po b/manpages/po/ja/live-boot.7.po
index 
8a3224748f80845c5c45731d15c0b52e6749f59d..398de013c4c6749a4e5d2d174102a8e0aa719ae2
100644
--- a/manpages/po/ja/live-boot.7.po
+++ b/manpages/po/ja/live-boot.7.po
@@ -189,6 +189,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:43
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap
diff --git a/manpages/pot/live-boot.7.pot b/manpages/pot/live-boot.7.pot
index 
dee33bb55cf9ad13f53c04edc8d2dc1ed08a2030..b37a0361ff16dca067684a92c09fb2609de947ca
100644
--- a/manpages/pot/live-boot.7.pot
+++ b/manpages/pot/live-boot.7.pot
@@ -165,6 +165,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:43
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap



Bug#1060346: live-boot-initramfs-tools: Debian Live ISO not bootable on exfat partition (loopback)

2024-01-16 Thread Mexit Dev
Hi,

I am sending the proposed patch to add the exfat module to initrd:

diff --git a/backend/initramfs-tools/live.hook
b/backend/initramfs-tools/live.hook
index 
ff8f4210690e21961dd5e8c3f1d7b3a5b14d4167..7c476ea6159c0664e47497f82145b6da8391
100755
--- a/backend/initramfs-tools/live.hook
+++ b/backend/initramfs-tools/live.hook
@@ -133,6 +133,12 @@ then
manual_add_modules vfat
 fi

+# Filesystem: exfat
+if [ "${DISABLE_EXFAT:-}" != "true" ] && [ "${DISABLE_EXFAT:-}" != "yes" ]
+then
+   manual_add_modules exfat
+fi
+
 # Filesystem: ntfs
 if [ "${DISABLE_NTFS:-}" != "true" ] && [ "${DISABLE_NTFS:-}" != "yes" ]
 then
diff --git a/manpages/en/live-boot.7 b/manpages/en/live-boot.7
index 
02b355da2f124208a951ffa428874b9148665f55..a0f7292e53c535ac63afee3b78d48cd4b359748d
100644
--- a/manpages/en/live-boot.7
+++ b/manpages/en/live-boot.7
@@ -38,6 +38,10 @@ Disable support for dm-verity. If set to true
\fItrue\fR' mkinitramfs will build
 \fBDISABLE_FAT\fR=[\fItrue\fR|\fIfalse\fR]
 Disable support for booting from FAT file systems.  If set to
'\fItrue\fR' mkinitramfs will build an initramfs without the kernel
module vfat and some nls_* modules.

+.TP
+\fBDISABLE_FAT\fR=[\fItrue\fR|\fIfalse\fR]
+Disable support for booting from FAT file systems.  If set to
'\fItrue\fR' mkinitramfs will build an initramfs without the kernel
module exfat.
+
 .TP
 \fBDISABLE_FUSE\fR=[\fItrue\fR|\fIfalse\fR]
 Disable support for booting from FUSE-based file systems.  If set to
'\fItrue\fR' mkinitramfs will build an initramfs without the kernel
module fuse and file systems that depend on it (like curlftpfs and
httpfs2).
diff --git a/manpages/po/es/live-boot.7.po b/manpages/po/es/live-boot.7.po
index 
28f916cedbe59b89a986f5f1eb72878383bc4219..6838418f2a4990a668679d461197b6f488c590dc
100644
--- a/manpages/po/es/live-boot.7.po
+++ b/manpages/po/es/live-boot.7.po
@@ -194,6 +194,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:44
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap
diff --git a/manpages/po/fr/live-boot.7.po b/manpages/po/fr/live-boot.7.po
index 
2f51f42e7ff3c61d434c2038dbd3a9a5c6453dcf..163b437e60240296bcb58dde3e33d78debc9827f
100644
--- a/manpages/po/fr/live-boot.7.po
+++ b/manpages/po/fr/live-boot.7.po
@@ -192,6 +192,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:44
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap
diff --git a/manpages/po/ja/live-boot.7.po b/manpages/po/ja/live-boot.7.po
index 
8a3224748f80845c5c45731d15c0b52e6749f59d..9ccf31216a5ad14a648b66a3bcab42abb48bb371
100644
--- a/manpages/po/ja/live-boot.7.po
+++ b/manpages/po/ja/live-boot.7.po
@@ -189,6 +189,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:44
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap
diff --git a/manpages/pot/live-boot.7.pot b/manpages/pot/live-boot.7.pot
index 
dee33bb55cf9ad13f53c04edc8d2dc1ed08a2030..5d798b579f89747275a6343123cdda55397e4767
100644
--- a/manpages/pot/live-boot.7.pot
+++ b/manpages/pot/live-boot.7.pot
@@ -165,6 +165,19 @@ msgid ""
 "nls_* modules."
 msgstr ""

+#. type: TP
+#: en/live-boot.7:41
+#, no-wrap
+msgid "B=[I|I]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:44
+msgid ""
+"Disable support for booting from exFAT file systems.  If set to 'I' "
+"mkinitramfs will build an initramfs without the kernel module exfat."
+msgstr ""
+
 #. type: TP
 #: en/live-boot.7:37
 #, no-wrap


Bug#1060346: live-boot-initramfs-tools: Debian Live ISO not bootable on exfat partition (loopback)

2024-01-09 Thread MexIT
Package: live-boot-initramfs-tools
Version: 1:20230131
Severity: normal
X-Debbugs-Cc: mexit@gmail.com

Dear Maintainer,

Debian Live ISO images on a fat32 partition boot correctly using the loopback 
function in Grub.
As ISO images are getting larger, there may be a problem writing such images to 
fat32 in the near future.

The solution is to save and boot such images from exfat-formatted partitions.
The exfat module, however, is not available in initrd which makes it impossible 
to run all Debian distributions and derivatives from this filesystem.

Please consider adding the exfat module to the 
`/usr/share/initramfs-tools/hooks/live` file.


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)