Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
fab89beb
Commit
fab89beb
authored
Sep 17, 2021
by
Francesc Guasch
Browse files
doc: shorter prompt
parent
6e3e8ab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/docs/resize_hard_drive_linux_machine.rst
View file @
fab89beb
...
...
@@ -4,7 +4,7 @@ How to extend a Ravada Linux guest's disk space
Extending a Linux disk drive in a virtual machine is a straightforward
process. Follow this guide carefully.
The process requires
execute a hardware
change in the Ravada frontend and
The process requires
a
change in the Ravada frontend and
then use the command line in the host to resize the partition.
Shutdown
...
...
@@ -38,13 +38,12 @@ server console and go to the images directory:
.. prompt:: bash
sudo bash
cd /var/lib/libvirt/images
Connect the disk volume as a device
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. prompt:: bash root@telecos:
/var/lib/libvirt/images
#
.. prompt:: bash root@telecos:
~
#
modprobe nbd
qemu-nbd -c /dev/nbd1 /var/lib/libvirt/images/linux-user-vda.qcow2
...
...
@@ -57,7 +56,7 @@ Remove and create the partition
First let's check what are the partitions with *fdisk*:
.. prompt:: bash root@telecos:
/var/lib/libvirt/images
#
.. prompt:: bash root@telecos:
~
#
fdisk /dev/nbd1
...
...
@@ -135,6 +134,7 @@ Disconnect the nbd and start the virtual machine.
qemu-nbd -d /dev/nbd1
rmmod nbd
Start the virtual machine from the Ravada frontend as usual.
Check the new size
------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment