跳至內容
Common Tech Share
使用者工具
登入
網站工具
搜尋
工具
顯示頁面
舊版
反向連結
最近更新
多媒體管理器
網站地圖
登入
>
最近更新
多媒體管理器
網站地圖
足跡:
掛載_vdi_disk
本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。
====== Answer to "Mount a VirtualBox drive image (vdi)?" ====== https://askubuntu.com/questions/19430/mount-a-virtualbox-drive-image-vdi/50290#50290 -by [[https://askubuntu.com/users/7567/maxime-r|Maxime R.]] Use qemu-nbd, the process is explained on serverfault and in this blog. Basically, you'll have to install qemu if needed: sudo apt-get install qemu Then you'll need to load the network block device module: sudo rmmod nbd sudo modprobe nbd max_part=16 Attach the .vdi image to one of the nbd you just created: sudo qemu-nbd -c /dev/nbd0 drive.vdi Now you will get a /dev/nbd0 block device, along with several /dev/nbd0p* partition device nodes. sudo mount /dev/nbd0p1 /mnt Once you are done, unmount everything and disconnect the device: sudo qemu-nbd -d /dev/nbd0
掛載_vdi_disk.txt
· 上一次變更: 2021/06/04 10:31 由
fire
頁面工具
顯示頁面
舊版
反向連結
回到頁頂