镜像移植报错fsck.ext3:No such file or directory while trying to open /dev/sda1

vmdk转qcow2

导入镜像开机报错

fsck.ext3:No such file or directory while trying to open /dev/sda1镜像移植报错fsck.ext3:No such file or directory while trying to open /dev/sda1_第1张图片

 

msfadmin@metasploitable:~$ sudo passwd root

[sudo] password for msfadmin:            #这里输入msfadmin的密码,也就是msfadmin

Enter new UNIX password:               #这里输两次要更改的root的密码

Retype new UNIX password:

passwd: password updated successfully

使用root权限

fdisk -l

镜像移植报错fsck.ext3:No such file or directory while trying to open /dev/sda1_第2张图片

vim /etc/fstab

镜像移植报错fsck.ext3:No such file or directory while trying to open /dev/sda1_第3张图片

修改/dev/sda1为fdisk -l得到的设备名称。/dev/vda1

Reboot重启设备。即可。

镜像移植报错fsck.ext3:No such file or directory while trying to open /dev/sda1_第4张图片

你可能感兴趣的:(虚拟化)