Can't create ext4 partition for fresh install

So, after many tries, make my drive with all zero and try to format with btrfs, xfs and it always failed at some point of the install i found a solution here : https://superuser.com/questions/1688659/128gb-emmc-drive-on-asus-laptop-unable-to-format-to-ext4
On this page it says " It seems the laptop has eMMC controller with buggy CQE implementation.

Since linux kernel version 5.5 it is possible to make system avoid using CQE by specifying debug_quirks=0x20000 option to sdhci module. (0x20000 is the value for SDHCI_QUIRK_BROKEN_CQE flag in sdhci.h). After properly propagating the option I was able to install and use Ubuntu 20.04 with ext4 rootfs on the eMMC drive of this laptop."

So basically when i was in live cd mode i did this :

sudo modprobe -r sdhci_pci
sudo modprobe -r sdhci
sudo modprobe sdhci debug_quirks=0x20000
sudo modprobe sdhci_pci

After that i try to launch the calamares installer and i left all the default parameter, erase all the disk, make ext4 partition and i just check the swapfile option and everything went right !

The only thing now i’m not sure how to do it is to make a conf file for modprobe, i did try to make a file in /etc/modprobe.d with “options sdhci debug_quirks=0x20000” in it but i don’t know how to make manjaro use it at boot. For now i have succed using my manjaro with adding " sdhci.debug_quirks=0x20000" on grub when i boot and everything work, i just have to increase my swapfile file (why only 512M ? why can’t we choose at the install ?).

If someone can just tell me how to boot with sdhci option so i don’t have to go into the grub menu, and when it’s done i can mark this as solved !

1 Like