User Tools

Site Tools


virtualisation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
virtualisation [2017/03/24 13:15]
hkoller [Convert qcow2 to VMWare]
virtualisation [2017/07/27 12:56]
hkoller [Resizing a (system) disk]
Line 134: Line 134:
 sudo qemu-img resize image.qcow2 +10G sudo qemu-img resize image.qcow2 +10G
 </​code>​ </​code>​
 +
 +Make sure virt-manager knows about the changed disk size: go to "​Storage"​ and Refresh (not sure if really necessary, but cant hurt..)
  
 Next boot the VM,  log in and increase the size of the partition. This is done by deleting the old partition and re-creating it with the same start, but a larger size:  Next boot the VM,  log in and increase the size of the partition. This is done by deleting the old partition and re-creating it with the same start, but a larger size: 
Line 153: Line 155:
  
 <code bash > <code bash >
-sudo resise2fs ​/​dev/​vda1 ​+sudo resize2fs ​/​dev/​vda1 ​
 </​code>​ </​code>​
  
virtualisation.txt ยท Last modified: 2020/02/13 11:47 by mantis