Can't create ext4 partition for fresh install

Hello, i’m trying to install manjaro via a live usb on a asus vivobook t3300k wich has apparently an eMMC SSD and it fails to create my root partition with the default “erase all disk” so an ext4 partition.
This is the message i have :


Create a new partition (116,19 GiB, ext4) on ‘/dev/mmcblk1’


Job: Create new partition on device ‘/dev/mmcblk1’


Command: sfdisk --force --append /dev/mmcblk1


Command: sfdisk --list --output Device,UUID /dev/mmcblk1


Job: Set the label on partition ‘/dev/mmcblk1p2’ to "root"


Command: sfdisk --part-label /dev/mmcblk1 2 root


Job: Create file system ‘ext4’ on partition ‘/dev/mmcblk1p2’


Command: mkfs.ext4 -qF /dev/mmcblk1p2


I’ve testing a lot of things, including recreate a gpt table, try to do the ext4 partition with gparted, i’ve tried to do a btrfs partition (which sometimes work and sometime it won’t create) and install with manual partition, but it stuck at some point.

I don’t know why creating ext4 or btrfs partition is so hard with my ssd, the fat 32 300m for the efi is here and no problem creating this, if you can help me that would be very great. I don’t know what you need to see the problem, i will provide you any result of every test you need :smile:

What’s the error?

Whether you used Calamares to “erase disk” with a fresh install, or manually with paretd/Gparted, what error messages do you get?

If the desktop or edition you are trying to install is Plasma it may be Plasma have mounted the device which makes it impossible for the installer to change it.

System Settings → Removable Storage → Removable Devices

Since the device used by the installer is mmc - the issue may stem from using an SD adapter to hold a microSD which then can be write protected on the side of the adapter.

Make sure the block device is correctly identified - emmc vs mmc

with calamares the error is what i posted with just a message “install failed, can’t create partition on disk ‘mmcblk1’”

For gparted this is the message " mkfs.ext4: Input/output error while writing out and closing file system" and before this message it says it has done allocation group tables, writing inode tables and creating journal (131072 blocks)

It’s gnome, and it seems that’s nothing is mounted other than the live usb (well not mounted but visible in files).
I have my live usb on an adapter for connecting to my usb-C port on my laptop, but i want to install on the internal storage of my laptop.

Maybe it’s a failing MMC? They’re cheap quality, after all.

What if you try to write nothing but zeros to it? Does it yield I/O errors?

(Be careful with using the dd command.)

Well it’s a brand new laptop, the MMC is built in and i had windows on it and working, slow but nothings fail when writing on the drive.
I don’t know what you mean by writing zeros on it, how could it solve partitioning ? For being careful that’s ok, i did save everything that was on the drive and after all my attempts to create partitions i think there is nothing left on it !

secure boot needs to be disabled in bios
fast boot disabled in bios - you may not have this option
AHCI enabled in bios
disable Optane Memory and Rapid Storage Technology (RST) - you may not have these options
and try running the installer via command:
sudo calamares -d

Hello,
Secure boot and fast boot was already disabled, and there is no option for AHCI or optane memory nor rapid storage technology.

I made an install with the debug option and this is what happened :

10:06:46 [6]: virtual void Calamares::JobThread::run()
    Starting job "Gérer les paramètres de montage automatique" ( 1 / 35 ) 
10:06:46 [6]: virtual Calamares::JobResult AutoMountManagementJob::exec()
    Set automount to disable 
10:06:46 [6]: void CalamaresUtils::Partition::querySolidAutoMount(QDBusConnection&, AutoMountInfo&)
    Solid not available: "Not connected to D-Bus server" 
10:06:46 [6]: virtual void Calamares::JobThread::run()
    Starting job "Supprimer les montages temporaires." ( 2 / 35 ) 
10:06:46 [6]: virtual void Calamares::JobThread::run()
    Starting job "Retirer les montages pour les opérations de partitionnement sur /dev/mmcblk1" ( 3 / 35 ) 
10:06:48 [6]: QStringList getPartitionsForDevice(const QString&)
    Reading from "/proc/partitions" looking for "mmcblk1" 
10:06:48 [6]: virtual Calamares::JobResult ClearMountsJob::exec()
    ClearMountsJob finished. Here's what was done: 
    .. Running ("udevadm", "settle") 
    .. Running ("sync") 
10:06:48 [6]: virtual void Calamares::JobThread::run()
    Starting job "Créer une nouvelle table de partition gpt sur /dev/mmcblk1." ( 4 / 35 ) 
10:06:48 [6]: virtual Calamares::JobResult CreatePartitionTableJob::exec()
    Creating new partition table of type "gpt" , uncommitted partitions: 
    .. "unallocated" 
    .. "New Partition" 
    .. "New Partition" 
    .. Running ("lsblk") 
    .. Finished. Exit code: 0 output:
 NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0          7:0    0 128.7M  1 loop /run/miso/sfs/livefs
loop1          7:1    0 809.6M  1 loop /run/miso/sfs/mhwdfs
loop2          7:2    0   1.7G  1 loop /run/miso/sfs/desktopfs
loop3          7:3    0 645.3M  1 loop /run/miso/sfs/rootfs
sda            8:0    1  58.6G  0 disk /run/miso/bootmnt
|-sda1         8:1    1   3.3G  0 part 
`-sda2         8:2    1     4M  0 part 
sdb            8:16   1     0B  0 disk 
sdc            8:32   1     0B  0 disk 
mmcblk1      179:0    0 116.5G  0 disk 
|-mmcblk1p1  179:1    0   300M  0 part 
`-mmcblk1p2  179:2    0 116.2G  0 part 
mmcblk1boot0 179:8    0     4M  1 disk 
mmcblk1boot1 179:16   0     4M  1 disk
    .. lsblk output:
 NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0          7:0    0 128.7M  1 loop /run/miso/sfs/livefs
loop1          7:1    0 809.6M  1 loop /run/miso/sfs/mhwdfs
loop2          7:2    0   1.7G  1 loop /run/miso/sfs/desktopfs
loop3          7:3    0 645.3M  1 loop /run/miso/sfs/rootfs
sda            8:0    1  58.6G  0 disk /run/miso/bootmnt
|-sda1         8:1    1   3.3G  0 part 
`-sda2         8:2    1     4M  0 part 
sdb            8:16   1     0B  0 disk 
sdc            8:32   1     0B  0 disk 
mmcblk1      179:0    0 116.5G  0 disk 
|-mmcblk1p1  179:1    0   300M  0 part 
`-mmcblk1p2  179:2    0 116.2G  0 part 
mmcblk1boot0 179:8    0     4M  1 disk 
mmcblk1boot1 179:16   0     4M  1 disk
    .. Running ("mount") 
    .. Finished. Exit code: 0 output:
 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1850888k,nr_inodes=462722,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda on /run/miso/bootmnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
cowspace on /run/miso/cowspace type tmpfs (rw,relatime,size=262144k,mode=755,inode64)
overlay_root on /run/miso/overlay_root type tmpfs (rw,relatime,size=2817300k,mode=755,inode64)
/dev/loop0 on /run/miso/sfs/livefs type squashfs (ro,relatime,errors=continue)
/dev/loop1 on /run/miso/sfs/mhwdfs type squashfs (ro,relatime,errors=continue)
/dev/loop2 on /run/miso/sfs/desktopfs type squashfs (ro,relatime,errors=continue)
/dev/loop3 on /run/miso/sfs/rootfs type squashfs (ro,relatime,errors=continue)
overlay on / type overlay (rw,relatime,lowerdir=/run/miso/sfs/livefs:/run/miso/sfs/mhwdfs:/run/miso/sfs/desktopfs:/run/miso/sfs/rootfs,upperdir=/run/miso/overlay_root/upper,workdir=/run/miso/overlay_root/work,index=off,xino=off)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14079)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=1878200k,nr_inodes=1048576,inode64)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /etc/pacman.d/gnupg type tmpfs (rw,relatime,mode=755,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=375636k,nr_inodes=93909,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
    .. mount output:
 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1850888k,nr_inodes=462722,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda on /run/miso/bootmnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
cowspace on /run/miso/cowspace type tmpfs (rw,relatime,size=262144k,mode=755,inode64)
overlay_root on /run/miso/overlay_root type tmpfs (rw,relatime,size=2817300k,mode=755,inode64)
/dev/loop0 on /run/miso/sfs/livefs type squashfs (ro,relatime,errors=continue)
/dev/loop1 on /run/miso/sfs/mhwdfs type squashfs (ro,relatime,errors=continue)
/dev/loop2 on /run/miso/sfs/desktopfs type squashfs (ro,relatime,errors=continue)
/dev/loop3 on /run/miso/sfs/rootfs type squashfs (ro,relatime,errors=continue)
overlay on / type overlay (rw,relatime,lowerdir=/run/miso/sfs/livefs:/run/miso/sfs/mhwdfs:/run/miso/sfs/desktopfs:/run/miso/sfs/rootfs,upperdir=/run/miso/overlay_root/upper,workdir=/run/miso/overlay_root/work,index=off,xino=off)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14079)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=1878200k,nr_inodes=1048576,inode64)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /etc/pacman.d/gnupg type tmpfs (rw,relatime,mode=755,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=375636k,nr_inodes=93909,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
10:06:49 [6]: virtual void Calamares::JobThread::run()
    Starting job "Créer une nouvelle partition 300 Mio sur /dev/mmcblk1 (mmcblk1)." ( 5 / 35 ) 
10:07:00 [6]: virtual void Calamares::JobThread::run()
    Starting job "Configurer les drapeaux sur la partition /dev/mmcblk1p1." ( 6 / 35 ) 
10:07:00 [6]: virtual Calamares::JobResult SetPartFlagsJob::exec()
    Setting flags on "/dev/mmcblk1" partition "/dev/mmcblk1p1" 
     "boot" 
10:07:04 [6]: virtual void Calamares::JobThread::run()
    Starting job "Créer une nouvelle partition 118977 Mio sur /dev/mmcblk1 (mmcblk1) avec les entrées root." ( 7 / 35 ) 
10:07:31 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Configurer les informations de la partition" 
    ..  Skipping non-emergency job "Gérer les paramètres de montage automatique" 
    ..  Skipping non-emergency job "mount" 
    ..  Skipping non-emergency job "unpackfs" 
    ..  Skipping non-emergency job "networkcfg" 
    ..  Skipping non-emergency job "Générer un identifiant machine." 
    ..  Skipping non-emergency job "fstab" 
    ..  Skipping non-emergency job "Configurer le fuseau-horaire à Europe/Paris" 
    ..  Skipping non-emergency job "Configurer le modèle de clavier à pc105, la disposition des touches à fr-" 
    ..  Skipping non-emergency job "localecfg" 
    ..  Skipping non-emergency job "Configuration du swap chiffrée." 
    ..  Skipping non-emergency job "Configuration de la clé de fichier LUKS." 
    ..  Skipping non-emergency job "initcpiocfg" 
    ..  Skipping non-emergency job "Création de l'initramfs avec mkinitcpio." 
    ..  Skipping non-emergency job "Configurer les utilisateurs <pre>sudo</pre>. " 
    ..  Skipping non-emergency job "Préparation des groupes." 
    ..  Skipping non-emergency job "Créer l'utilisateur brasserie_production" 
    ..  Skipping non-emergency job "Définir le mot de passe pour l'utilisateur brasserie_production" 
    ..  Skipping non-emergency job "Définir le mot de passe pour l'utilisateur root" 
    ..  Skipping non-emergency job "Définir le nom d'hôte brasserie_production" 
    ..  Skipping non-emergency job "displaymanager" 
    ..  Skipping non-emergency job "mhwdcfg" 
    ..  Skipping non-emergency job "hwclock" 
    ..  Skipping non-emergency job "services" 
    ..  Skipping non-emergency job "grubcfg" 
    ..  Skipping non-emergency job "bootloader" 
    ..  Skipping non-emergency job "postcfg" 
    ..  Skipping non-emergency job "Démonter les systèmes de fichiers" 
10:07:31 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR: Installation failed: "Le programme d'installation n'a pas pu créer la partition sur le disque 'mmcblk1'." 
    .. - message: "Le programme d'installation n'a pas pu créer la partition sur le disque 'mmcblk1'." 
    .. - details: 
Create a new partition (116,19 GiB, ext4) on ‘/dev/mmcblk1’


Job: Create new partition on device ‘/dev/mmcblk1’


Command: sfdisk --force --append /dev/mmcblk1


Command: sfdisk --list --output Device,UUID /dev/mmcblk1


Job: Set the label on partition ‘/dev/mmcblk1p2’ to "root"


Command: sfdisk --part-label /dev/mmcblk1 2 root


Job: Create file system ‘ext4’ on partition ‘/dev/mmcblk1p2’


Command: mkfs.ext4 -qF /dev/mmcblk1p2


10:07:31 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    Calamares will quit when the dialog closes. 
10:07:31 [6]: void Config::doNotify(bool, bool)
    Notification not sent; completion: failed 



since you have secure boot option in bios, its not very likely you dont have AHCI option, so check again, and go trough each setting in bios and look for SATA and RAID options there

Well, i did check and there is no option for SATA or RAID, in advanced mode or “EZ mode”, in the eMMC configuration tab i just have information :

Bus:0 Dev:1A Func:0                              Micron G1J39E
eMC Size                                         128GB

In the secure boot section i have “Secure Boot Not Active” and “Secure Boot Control Disabled”

probably not there since you are using mmc disk…
try different file system, since you were somewhat succesfull with btrfs, you can try xfs

Are you willing to write all zeros to the MMC?

If dd yields I/O errors with a simple pass of zeros, then the storage device is failing.

In a live session:

sudo dd if=/dev/zero bs=64K status=progress of=/dev/mmcblk1

Keep in mind that dd is a destructive program that will NOT prompt you if you are sure you want to continue. So make sure you double-check the command.


You can always issue CTRL + C to cancel dd when it is in progress.

Well, creating xfs partition work well, no probleme at all but then i try to install on it and this what i’ve got

virtual Calamares::JobResult Calamares::PythonJob::exec()
    Job file "/usr/lib/calamares/modules/unpackfs/main.py" 
[PYTHON JOB]: Found gettext "fr_FR" in "/usr/share/locale/fr_FR" 
    .. Job description from pretty_name "unpackfs" = "Remplir les systèmes de fichiers." 
    .. Running ("mount", "-t", "squashfs", "-o", "loop", "/run/miso/bootmnt/manjaro/x86_64/rootfs.sfs", "/tmp/tmpc_tm939e/rootfs") 
    .. Finished. Exit code: 0 output:
 mount: /tmp/tmpc_tm939e/rootfs: WARNING: source write-protected, mounted read-only.
    .. Running ("udevadm", "settle") 
    .. Running ("sync") 
    .. Running ("unsquashfs", "-l", "/run/miso/bootmnt/manjaro/x86_64/rootfs.sfs") 
    .. Running ("rsync", "-aHAXr", "--filter=-x trusted.overlay.*", "--exclude", "/proc/", "--exclude", "/sys/", "--exclude", "/dev/", "--exclude", "/run/", "--exclude", "/run/udev/", "--exclude", "/sys/firmware/efi/efivars/", "--progress", "/tmp/tmpc_tm939e/rootfs/", "/tmp/calamares-root-uvkqy6ow") 
    .. Target cmd: ("rsync", "-aHAXr", "--filter=-x trusted.overlay.*", "--exclude", "/proc/", "--exclude", "/sys/", "--exclude", "/dev/", "--exclude", "/run/", "--exclude", "/run/udev/", "--exclude", "/sys/firmware/efi/efivars/", "--progress", "/tmp/tmpc_tm939e/rootfs/", "/tmp/calamares-root-uvkqy6ow") Exit code: 23 (no output) 
    .. Running ("mount", "-t", "squashfs", "-o", "loop", "/run/miso/bootmnt/manjaro/x86_64/desktopfs.sfs", "/tmp/tmpc_tm939e/desktopfs") 
    .. Finished. Exit code: 0 output:
 mount: /tmp/tmpc_tm939e/desktopfs: WARNING: source write-protected, mounted read-only.
    .. Running ("udevadm", "settle") 
    .. Running ("sync") 
    .. Running ("unsquashfs", "-l", "/run/miso/bootmnt/manjaro/x86_64/desktopfs.sfs") 
    .. Running ("rsync", "-aHAXr", "--filter=-x trusted.overlay.*", "--exclude", "/proc/", "--exclude", "/sys/", "--exclude", "/dev/", "--exclude", "/run/", "--exclude", "/run/udev/", "--exclude", "/sys/firmware/efi/efivars/", "--progress", "/tmp/tmpc_tm939e/desktopfs/", "/tmp/calamares-root-uvkqy6ow") 
    .. Target cmd: ("rsync", "-aHAXr", "--filter=-x trusted.overlay.*", "--exclude", "/proc/", "--exclude", "/sys/", "--exclude", "/dev/", "--exclude", "/run/", "--exclude", "/run/udev/", "--exclude", "/sys/firmware/efi/efivars/", "--progress", "/tmp/tmpc_tm939e/desktopfs/", "/tmp/calamares-root-uvkqy6ow") Exit code: 3 (no output) 
WARNING: [PYTHON JOB]: "rsync failed with error code 3." 
Python Error:
 <class 'OSError'> 
 [Errno 5] Input/output error: '/tmp/calamares-root-uvkqy6ow' 
 File "/usr/lib/calamares/modules/unpackfs/main.py", line 500, in run
    repair_root_permissions(root_mount_point)

  File "/usr/lib/calamares/modules/unpackfs/main.py", line 395, in repair_root_permissions
    existing_root_mode = os.stat(root_mount_point).st_mode & 0o777 
 
17:43:57 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "networkcfg" 
    ..  Skipping non-emergency job "Générer un identifiant machine." 
    ..  Skipping non-emergency job "fstab" 
    ..  Skipping non-emergency job "Configurer le fuseau-horaire à Europe/Paris" 
    ..  Skipping non-emergency job "Configurer le modèle de clavier à pc105, la disposition des touches à fr-" 
    ..  Skipping non-emergency job "localecfg" 
    ..  Skipping non-emergency job "Configuration du swap chiffrée." 
    ..  Skipping non-emergency job "Configuration de la clé de fichier LUKS." 
    ..  Skipping non-emergency job "initcpiocfg" 
    ..  Skipping non-emergency job "Création de l'initramfs avec mkinitcpio." 
    ..  Skipping non-emergency job "Configurer les utilisateurs <pre>sudo</pre>. " 
    ..  Skipping non-emergency job "Préparation des groupes." 
    ..  Skipping non-emergency job "Créer l'utilisateur brasserie_production" 
    ..  Skipping non-emergency job "Définir le mot de passe pour l'utilisateur brasserie_production" 
    ..  Skipping non-emergency job "Définir le mot de passe pour l'utilisateur root" 
    ..  Skipping non-emergency job "Définir le nom d'hôte brasserie_production" 
    ..  Skipping non-emergency job "displaymanager" 
    ..  Skipping non-emergency job "mhwdcfg" 
    ..  Skipping non-emergency job "hwclock" 
    ..  Skipping non-emergency job "services" 
    ..  Skipping non-emergency job "grubcfg" 
    ..  Skipping non-emergency job "bootloader" 
    ..  Skipping non-emergency job "postcfg" 
    ..  Skipping non-emergency job "Démonter les systèmes de fichiers" 
17:43:57 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR: Installation failed: "Erreur Boost.Python pour le job \"unpackfs\"." 
    .. - message: "Erreur Boost.Python pour le job \"unpackfs\"." 
    .. - details: <div><strong>&lt;class 'OSError'&gt;</strong></div><div>[Errno 5] Input/output error: '/tmp/calamares-root-uvkqy6ow'</div><div><br/>Traceback:</div><div><pre>File &quot;/usr/lib/calamares/modules/unpackfs/main.py&quot;, line 500, in run
    repair_root_permissions(root_mount_point)

  File &quot;/usr/lib/calamares/modules/unpackfs/main.py&quot;, line 395, in repair_root_permissions
    existing_root_mode = os.stat(root_mount_point).st_mode &amp; 0o777</pre></div>
17:43:57 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    Calamares will quit when the dialog closes. 
17:43:57 [6]: void Config::doNotify(bool, bool)
    Notification not sent; completion: failed 
17:44:06 [6]: void Config::doRestart(bool)
    mode= "never"  user wants restart? false force restart? false 
Shutting down Calamares... 
Finished shutdown. 

@winnie All zero just means erase all, the only risk i have is to lose my data not having a stone instead of my hard drive ? The bs option is for “segmenting” the part ? i found that my drive have 512k part

so this I/O errors could be related to a corrupted hard disk…
try running a repair from gparted for example

1 Like

In your case, it means literally forcing every memory cell to change to a “0”. This should hopefully clue you in on whether your MMC is failing with I/O errors. Yes, it means the entire drive will be “wiped”.

You can change bs (the “block size”) to whatever value you want. However, for low-powered systems, I found the best performance of around 64K. For higher-end systems, the sweet spot seems to be 512K or even 1M. In your case, 64K seems suitable. (It doesn’t matter what the drive’s reported sector size is when it comes to doing this “all zeros” dd pass.)

This is why my original hunch was that their MMC (which is cheap and low quality) is failing, and that this isn’t an issue with Calamares, nor Ext4, nor XFS, nor anything software-related.


If the drive is failing, not even GParted can do much good. Basically, they cannot use their MMC to install Manjaro, let alone any distro or OS, let alone save important data to it. It’s a dead-end and cannot be used anymore. :pensive:

cant the corrupted part/parts be ‘quarantined’?

They “could” use badblocks to achieve that (and then feed the badblocks info into mkfs.ext4). But it’s not worth it. They’re playing with fire if their drive is failing. It’s much safer to use a new/working storage device to install an OS and store your data.

MMC are not very reliable nor performant. SATA SSDs, SATA HDDs, NVMe, etc, are leagues superior.

1 Like
sudo dd if=/dev/zero bs=64K status=progress of=/dev/mmcblk1      ✔ 
125070475264 bytes (125 GB, 116 GiB) copied, 1657 s, 75,5 MB/s
dd: error writing '/dev/mmcblk1': No space left on device
1908481+0 records in
1908480+0 records out
125074145280 bytes (125 GB, 116 GiB) copied, 1660,22 s, 75,3 MB/s

So it doesn’t seems to have a problem ? I did try to do an install after that and same things happens, can’t create ext4 and with xfs the same problem with rsync.