当前位置:网站首页>VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
2022-07-29 05:12:00 【V__ KING__】
virtualbox by ubuntu Add virtual hard disk
The general steps are as follows :
- stay virtualbox Register a virtual hard disk
- Use fdisk Partition the hard disk
- mkfs.ext4 Format the hard disk
- modify uuid: VBoxManage internalcommands sethduuid “Z:\extdisk1.vdi”
- modify /etc/fstab
# sudo blkid /dev/sdb1
UUID=xxx /mnt/extdisk1 ext4 defaults,rw 0 2
For details, please refer to :https://blog.csdn.net/V__KING__/article/details/95513244
Expand the existing hard disk
requirement
- Ensure that the original data in the virtual hard disk remains unchanged
Over time , There is more and more data in the hard disk of the virtual machine , Virtual hard disk space cannot meet the demand , Have to expand capacity ./dev/sdb For the virtual hard disk that needs to be expanded .
sudo fdisk -l
sudo umount /dev/sdb
sudo e2fsck -f /dev/sdb
sudo resize2fs /dev/sdb
sudo umount /mnt/extdisk3
# here /mnt/extdisk3 The data in is still
边栏推荐
- Reply from the Secretary of jindawei: the company is optimistic about the market prospect of NMN products and has launched a series of products
- Huawei ilearning AI mathematics foundation course notes
- 传奇如何一台服务器配置多个版本微端更新
- 关于thymeleaf的配置与使用
- scikit-learn——机器学习应用开发的步骤和理解
- Network Security Learning - Intranet Security 1
- Cache penetration, cache breakdown, cache avalanche and Solutions
- JS daily question (11)
- 传奇服务端如何添加地图
- Raspberry pie 4B + Intel neural computing stick (stick2) +yolov5 feasibility study report
猜你喜欢

后置通知的流程分析与功能实现有哪些内容你还记得吗?

Five correlation analysis, one of the most important skills of data analysts

Google gtest事件机制

使用Jstack、Jconsole和jvisualvm进行死锁分析

Learn the first program of database

开源汇智创未来 | 2022开放原子全球开源峰会 openEuler 分论坛圆满召开

js(forEach)出现return无法结束函数的解决方法

Big silent event Google browser has no title

Traffic flow prediction pit climbing record (I): traffic flow data set, original data

TCP three handshakes and four waves
随机推荐
How to solve the problem of configuring the progress every time Office2010 is opened?
Office提示系统配置无法运行怎么办?
Opencv learning 1 (environment configuration)
js(forEach)出现return无法结束函数的解决方法
DataSourceClosedException: dataSource already closed at Mon Oct 25 16:55:48 CST 2021
How to install Office2010 installation package? How to install Office2010 installation package on computer
Young freshmen yearn for more open source | here comes the escape guide from open source to employment!
开源汇智创未来 | 2022开放原子全球开源峰会 openEuler 分论坛圆满召开
WPS insert hyperlink cannot be opened. What should I do if I prompt "unable to open the specified file"!
What if the computer cannot open excel? The solution of Excel not opening
【config】配置数组参数
Diagram of odoo development tutorial
TCP三次握手四次挥手
SparkSql批量插入或更新,保存数据到Mysql中
office2010每次打开都要配置进度怎么解决?
AttributeError: ‘module‘ object has no attribute ‘create_ connection‘
[config] configure array parameters
IDEA中使用注解Test
2021-11-02
[untitled]