admin 发表于 2024-12-20 11:28:09

libguestfs: error: mount_options: mount exited with status 32: mount: wrong fs t

libguestfs: error: mount_options: mount exited with status 32: mount: wrong fs type, bad option, bad superblock on /dev/mapper/openeuler-root,
       missing codepage or helper program, or other error




# guestmount -a OpenEuler-24-09_x86_64-lvm.raw   -m /dev/openeuler/root -m /dev/sda2:/boot --rw /mnt/
libguestfs: error: mount_options: mount exited with status 32: mount: wrong fs type, bad option, bad superblock on /dev/mapper/openeuler-root,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
guestmount: ‘/dev/openeuler/root’ could not be mounted.
guestmount: Did you mean to mount one of these filesystems?
guestmount:         /dev/sda1 (unknown)
guestmount:         /dev/sda2 (ext4)
guestmount:         /dev/openeuler/root (xfs)





admin 发表于 2024-12-20 11:29:30

# yum install sshfs -y
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
epel/x86_64/metalink                                                                                                            | 5.1 kB00:00:00   
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
* base: mirrors.tuna.tsinghua.edu.cn
* epel: repo.jing.rocks
* extras: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
base                                                                                                                            | 3.6 kB00:00:00   
extras                                                                                                                        | 2.9 kB00:00:00   
updates                                                                                                                         | 2.9 kB00:00:00   
Resolving Dependencies
--> Running transaction check
---> Package fuse-sshfs.x86_64 0:2.10-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================
Package                               Arch                              Version                                 Repository                     Size
=======================================================================================================================================================
Installing:
fuse-sshfs                            x86_64                            2.10-1.el7                              epel                           50 k

Transaction Summary
=======================================================================================================================================================
Install1 Package

Total download size: 50 k
Installed size: 103 k
Downloading packages:
fuse-sshfs-2.10-1.el7.x86_64.rpm                                                                                                |50 kB00:00:00   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : fuse-sshfs-2.10-1.el7.x86_64                                                                                                      1/1
Verifying: fuse-sshfs-2.10-1.el7.x86_64                                                                                                      1/1

Installed:
fuse-sshfs.x86_64 0:2.10-1.el7                                                                                                                     

Complete!

admin 发表于 2024-12-20 12:45:54

因挂载不上采用这种方式进行调整系统:单用户模式 借鉴此文档 https://www.bbs168x.cn/forum.php?mod=viewthread&tid=2961&highlight=openEuler
页: [1]
查看完整版本: libguestfs: error: mount_options: mount exited with status 32: mount: wrong fs t