mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
added a page ResizeRootDiskImage.md and removed the external link
This commit is contained in:
parent
5f483fa685
commit
e352164673
29
ResizeRootDiskImage.md
Normal file
29
ResizeRootDiskImage.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
layout: doc
|
||||||
|
title: ResizeRootDiskImage
|
||||||
|
permalink: /doc/ResizeRootDiskImage/
|
||||||
|
redirect_from: /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
|
@ -57,8 +57,7 @@ Qubes User Documentation
|
|||||||
3. [Upgrading the Fedora 20 Template](/doc/FedoraTemplateUpgrade20/)
|
3. [Upgrading the Fedora 20 Template](/doc/FedoraTemplateUpgrade20/)
|
||||||
4. [Templates: Fedora - minimal](/doc/Templates/FedoraMinimal/)
|
4. [Templates: Fedora - minimal](/doc/Templates/FedoraMinimal/)
|
||||||
5. [Templates: Debian](/doc/Templates/Debian/)
|
5. [Templates: Debian](/doc/Templates/Debian/)
|
||||||
6. External Links
|
6. [Extending \`root.img\` Size](/doc/ResizeRootDiskImage/)
|
||||||
1. [Extending \`root.img\` Size](https://groups.google.com/group/qubes-devel/msg/9d1ac581236ca9b4)
|
|
||||||
|
|
||||||
6. **DispVMs**
|
6. **DispVMs**
|
||||||
1. [Disposable VMs](/doc/DisposableVms/)
|
1. [Disposable VMs](/doc/DisposableVms/)
|
||||||
@ -102,5 +101,3 @@ Qubes User Documentation
|
|||||||
1. [Installing on system with new AMD GPU (missing firmware problem)](https://groups.google.com/group/qubes-devel/browse_thread/thread/e27a57b0eda62f76)
|
1. [Installing on system with new AMD GPU (missing firmware problem)](https://groups.google.com/group/qubes-devel/browse_thread/thread/e27a57b0eda62f76)
|
||||||
2. [Solving problems with Macbook Air 2012](https://groups.google.com/group/qubes-devel/browse_thread/thread/b8b0d819d2a4fc39/d50a72449107ab21#8a9268c09d105e69)
|
2. [Solving problems with Macbook Air 2012](https://groups.google.com/group/qubes-devel/browse_thread/thread/b8b0d819d2a4fc39/d50a72449107ab21#8a9268c09d105e69)
|
||||||
3. [Booting with GRUB2 and GPT](https://groups.google.com/group/qubes-devel/browse_thread/thread/e4ac093cabd37d2b/d5090c20d92c4128#d5090c20d92c4128)
|
3. [Booting with GRUB2 and GPT](https://groups.google.com/group/qubes-devel/browse_thread/thread/e4ac093cabd37d2b/d5090c20d92c4128#d5090c20d92c4128)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user