clr-installer icon indicating copy to clipboard operation
clr-installer copied to clipboard

[fail] Mount /dev/nume0n1p8 /tmp/install-425975728 ext4: no such file or directory

Open FossPrime opened this issue 2 years ago • 5 comments

Describe the bug Installer failed to find the newly created ext4 parition. Using Manjaro I was able to see that it existed, but was completely empty. another possibility is that the /tmp/install-425975728 mount point did not exist.

To Reproduce Steps to reproduce the behavior:

  1. Try to install Clear Linux on an Asus UX8402
  2. Use the TUI and get to the Installation media screen
  3. Use the included partition editor to delete a 256GB partition
  4. Select safe installation mode and choose the main NVME drive

Screenshots PXL_20220828_195529500 MP

Environment (please complete the following information):

  • Clear Linux OS Version: Latest 2022-08-29
  • Installer Version Latest 2022-08-29
  • Platform: 12th Gen Intel(R) Core(TM) i7-12700H ASUS UX8402ZA

Additional context It created an EFI partition and an EXT4 partition... but the partition was empty when I looked at it with another distro. This may be a race condition.

Error screen

The Installer will now exit. mount /dev/nume0n1p8 /tmp/install-425975728 ext4: no such file or directory

Error Trace: storage mountFs ( /builddir/build/BUILD/clr-installer-2.7.3/storage/utils.go:34 storage, (BlockDevice).Mount() /builddir/build/BUILD/clr-installer-2.7.3/storage/block_devices_ops.go:283 clrlinux@clr-live"

FossPrime avatar Aug 28 '22 20:08 FossPrime

same issue ls /tmp

there is no install-xxxxxxx folder...thus nothing to mount

hajes avatar Dec 30 '22 11:12 hajes

same here, on 39930. It seems that the /tmp mountpoint was not created.

udif avatar Sep 12 '23 20:09 udif

I have found out that one must not play with partitions, and simply let the installer work automatically.

Custom partitions always resulted in failure in my case.

hajes avatar Sep 12 '23 20:09 hajes

Yes, I found out myself too.

In my case I had a new disk, and I wanted only 500GB allocated, so I had to create another partition and leave an empty space in the desired size. More precisely, I created a 500GB partition on an empty disk, then another partition on the remaining disk space, and then erased the original 500GB partition, to leave an empty 500GB hole at the beginning of the disk.

I also found out that following the advice in https://github.com/clearlinux/clr-installer/issues/789 , calling clr-install or clr-install-gui with the -c flag and a previous configuration did not help (a segmentation fault error), and also caused an existing partition to be erased :-( Since that was an empty disk with empty partitions this was not a problem, but still should not happen.

udif avatar Sep 13 '23 03:09 udif