ubuntu:kvm:add_disk_image
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:kvm:add_disk_image [2019/11/30 12:54] – peter | ubuntu:kvm:add_disk_image [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 51: | Line 51: | ||
===== Reboot the Virtual Machine ===== | ===== Reboot the Virtual Machine ===== | ||
+ | |||
+ | Reboot so that the kernel sees the new disk. | ||
Execute this in the virtual machine. | Execute this in the virtual machine. | ||
- | |||
- | Reboot so that the kernel sees the new disk: | ||
<code bash> | <code bash> | ||
Line 60: | Line 60: | ||
</ | </ | ||
+ | ---- | ||
- | ==== Partition the drive ==== | + | ===== Partition the drive ===== |
Partition the drive with **cfdisk**. | Partition the drive with **cfdisk**. | ||
For our example we use filesystem type 82 (linux/ | For our example we use filesystem type 82 (linux/ | ||
+ | |||
+ | Execute this in the virtual machine. | ||
<code bash> | <code bash> | ||
Line 85: | Line 88: | ||
---- | ---- | ||
- | ==== Make the swap active ==== | + | ===== Make the swap active |
<code bash> | <code bash> |
ubuntu/kvm/add_disk_image.1575118448.txt.gz · Last modified: 2020/07/15 09:30 (external edit)