mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-05-02 06:46:11 -04:00
Remove en/ directory (QubesOS/qubes-issues#1333)
This commit is contained in:
parent
b30b7d266b
commit
2e68758b50
161 changed files with 0 additions and 0 deletions
32
configuration/resize-root-disk-image.md
Normal file
32
configuration/resize-root-disk-image.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
layout: doc
|
||||
title: Resize Root Disk Image
|
||||
permalink: /en/doc/resize-root-disk-image/
|
||||
redirect_from:
|
||||
- /doc/ResizeRootDiskImage/
|
||||
- /wiki/ResizeRootDiskImage/
|
||||
---
|
||||
|
||||
Resizing \`root.img\` Size
|
||||
--------------------------
|
||||
|
||||
The safest way to increase the size of \`root.img\` is to do it for a standalone
|
||||
VM (qvm-create --standalone) - which has its own root filesystem
|
||||
(copy of template, instead of smart sharing).
|
||||
But it should also work for a normal template (as long as changes in the
|
||||
template between reboots didn't exceed 10G).
|
||||
|
||||
Replace the size and the path (name) of the template as wished and run your
|
||||
modified command:
|
||||
~~~
|
||||
truncate -s 20G /var/lib/qubes/vm-templates/fedora-21/root.img
|
||||
~~~
|
||||
|
||||
Then start your template or standalone VM and run:
|
||||
~~~
|
||||
sudo resize2fs /dev/mapper/dmroot
|
||||
~~~
|
||||
|
||||
after that shutdown the template.
|
||||
|
||||
Then you should have extended \`root.img\` in your VM/template
|
Loading…
Add table
Add a link
Reference in a new issue