EFI problem installing Debian 12 in an ASUS laptop (The attempt to mount a file system ... at /boot/efi failed)

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
davidss
Posts: 17
Joined: 2013-11-03 14:21

EFI problem installing Debian 12 in an ASUS laptop (The attempt to mount a file system ... at /boot/efi failed)

#1 Post by davidss »

Hi,

I'm trying to install Debian 12.7 by USB in an ASUS M1502YA (https://www.asus.com/laptops/for-home/v ... /techspec/) and I'm finding what seems to be not an uncommon problem: "The attempt to mount a file system with type vfat in XXX at /boot/efi failed.". I've seen a couple of posts that could be related but I haven't made sense of my BIOS settings, if that's where the solution lies: I've tried with Secure Boot Control enabled/disabled, also SVM mode; I don't see any options about legacy mode. I haven't had to install Debian in several years so I'm not familiar with these kinds of issues. Any suggestions? I imagine I can run some diagnostics from the Live USB if needed. Would switching to Debian 12.1 or similar be a worthwile attempt?

Thanks a lot
Last edited by davidss on 2024-11-03 22:50, edited 1 time in total.

rolf3945
Posts: 11
Joined: 2009-06-11 19:29

Re: EFI problem installing Debian 12 in an ASUS laptop

#2 Post by rolf3945 »

Well, that laptop is brand new hardware and possibly requires backports or even testing to make it work. Anyhow, installing 12.7 is worth a try, maybe it fails.

And one thing is for sure: forget about legacy install. I am pretty sure you won't find a CSM setting any more in the bios. On brand new hardware this is no more present. You have to go through an efi installation. I own an Acer laptop built 4 years ago, no more CSM support in the bios. Its gone forever.

My suggestion: disable Secure Boot, makes things easier. And forget about SVM, that is a setting required to be able to run Virtual Machines like in VBox, kvm/qemu. Not relevant for the installation.

Make sure you boot your installation device in efi mode. That means it must have a prefix EFI.

Good luck

Aki
Global Moderator
Global Moderator
Posts: 3949
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: EFI problem installing Debian 12 in an ASUS laptop

#3 Post by Aki »

Hello,
davidss wrote: 2024-11-03 20:01 "The attempt to mount a file system with type vfat in XXX at /boot/efi failed."
[..]
This error is reported by the partman program (used to partition disks by the debian installer):

Code: Select all

template: partman-target/mount_failed
Type: boolean
Default: true
# :sl2:
_Description: Do you want to resume partitioning?
 The attempt to mount a file system with type ${TYPE} in ${DEVICE} at
 ${MOUNTPOINT} failed.
 .
 You may resume partitioning from the partitioning menu.
This means that the partman program cannot mount the /boot/efi partition of the $DEVICE disck you are installing Debian on.

You may have done something wrong when partitioning the disk you are installing Debian on.

There was also this earlier post on the same subject: Hope this helps.

--
note: please report the error in the subject of the first post; i.e.:
EFI problem installing Debian 12 in an ASUS laptop (The attempt to mount a file system with type vfat in XXX at /boot/efi failed)
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply