

在archlinux上挂载virtualbox磁盘镜像文件
source link: https://www.lujun9972.win/blog/2017/02/10/%E5%9C%A8archlinux%E4%B8%8A%E6%8C%82%E8%BD%BDvirtualbox%E7%A3%81%E7%9B%98%E9%95%9C%E5%83%8F%E6%96%87%E4%BB%B6/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

在archlinux上挂载virtualbox磁盘镜像文件
安装QEMU
pacman -S --noconfirm qemu
安装nbd(network block device)
pacman -S --noconfirm nbd
加载nbd module
modprobe nbd
使用qemu-nbd将virtualbox磁盘镜像文件模拟成block磁盘
qemu-nbd -c /dev/nbd0 vdi-file
像正常挂载分区一样操作
mount /dev/nbd0p1 /mnt
umount分区
umount /mnt
关闭nbd服务
qemu-nbd -d /dev/nbd0
Recommend
-
91
yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh &nbs...
-
114
磁盘格式化磁盘在格式化时会预先规定好每个块的大小,然后再把所有空间分割成一个一个的小块(指定块大小:1024B、2048B、4096B)Centos7支持的文件系统有?命令:#cat/etc/filesystems可以查看centos7在我们装系统时默认的文件系统就是xfs怎么查看一个分区的文件...
-
86
有了分区以后,我们还要格式化,如果不格式化,那么磁盘就无法使用,这个windows是一样的。windows支持NTFS格式和fat格式,那么linu支持什么样的分区格式呢?我们输入如下命令[root@localhost~]#cat/etc/filesystemsxfsext4ext3ext2nodevprocnodevdevptsiso9660vfa...
-
7
archlinux使用virtualbox的几个要点 - 暗无天日 archlinux使用virtualbox的几个要点 根据archwiki 的说法,操作系统是linux内核的话,使用 virtualbox-host-modul...
-
4
19 March 2021 / vmware #VMWare #ESXi 遇到挂载的磁盘格式不正确怎么办? 在VMWare ESXi虚拟机上安装openwrt系统时,通常是用直接挂载openwrt磁...
-
8
Linux /dev/mapper/ubuntu-vg-ubuntu-lv 磁盘没有全部挂载导致空间不足的问题 最近公司需要搭建一个服务器,同事帮忙安装了ubuntu的服务器版本系统,安装好之后,通过
-
11
解决在opensuse下virtualbox无法挂载主机USB设备的问题 0 Comments 因为要用virtualbox中的Windows...
-
11
磁盘文件系统管理及挂载管理 原创 一起学IT 2022-03-16 13:32:53...
-
7
CentOS 7 挂载NTFS磁盘 原创 yzz_128 2022-03-17 10:24:56 博主文...
-
9
35、磁盘分区及挂载 精选 原创 磁盘想要在系统中使用,必须需要先创建分区,然后将分区进行格式化文件系统,然后在挂载在目录上,...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK