You are not logged in.
Pages: 1
I think it should be a simple job, but there are some strange problems occurred.
Step to reproduce:
$dd if=/dev/zero of=test.img bs=1M count=3
$mkfs.ext4 test.img
$mount test.img /mnt
mount: /mnt: mount failed: No such file or directory.I tested the above commands in ubuntu in a virtual machine, it works as expected.
I did "sudo pacman -Syu" and reboot my computer, and the problem still exist.
Here is some info that maybe useful:
$uname -a
Linux vmhost 6.1.58-1-lts #1 SMP PREEMPT_DYNAMIC Sun, 15 Oct 2023 18:38:43 +0000 x86_64 GNU/Linux
$pacman -Qi linux-lts
Name : linux-lts
Version : 6.1.58-1
...
$ls /
bin boot dev etc home lib lib64 lost+found mnt opt proc root run sbin srv sys tmp usr var
$ ls -l /
total 52
...
drwxr-xr-x 2 root root 4096 Feb 1 2023 mnt
...Last edited by tara23 (2023-10-19 08:40:12)
Offline
I try to mount with sudo:
$ sudo mount test.img /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
$ sudo dmesg
...
[ 61.466746] loop0: detected capacity change from 0 to 6144
[ 61.470564] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[ 61.471151] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[ 61.471213] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[ 61.471359] FAT-fs (loop0): bogus number of reserved sectors
[ 61.471365] FAT-fs (loop0): Can't find a valid FAT filesystem
...I googled and found this:
https://superuser.com/questions/1518165 … superblock
After "pacman -S multipath-tools" and rebooting, problem still exists. ![]()
Is there any idea?
Last edited by tara23 (2023-10-19 08:26:17)
Offline
cat test.img | curl -F 'file=@-' 0x0.stOffline
Pages: 1