access to NTFS in initramfs
Issue: initramfs cannot access to NTFS filesystems
Hello,
I tried to access my newly built ISO from a NTFS HDD (yes, I know, I'm wrong, but, you know,...).
I've been insulted by initramfs saying "unknown filesystem 'ntfs'".
In the emergency console, I managed to boot using "mount -t ntfs3 ..." so I rewrited hooks/archiso, recompile and everything went right. I think it is related to Since Linux 5.15, ntfs3 provides read and write support for the file system.
So I propose a I-think-it-is-harmless mod for archiso hook in line 110:
if mount -o "${opts}" "${flg}" "${dev}" "${mnt}"; then
msg ":: Device '${dev}' mounted successfully."
else
if mount -t ntfs3 -o "${opts}" "${flg}" "${dev}" "${mnt}"; then
msg ":: Device '${dev}' mounted successfully."
else
echo "ERROR; Failed to mount '${dev}'"
echo " Falling back to interactive prompt"
echo " You can try to fix the problem manually, log out when you are finished"
launch_interactive_shell
fi
fi
(I tried to use code
tags but it looked weird as one-lined)
This is my first git contribution, I hope that will help.
Berbigou.
Edit: fighting with HTML tags