Commit fab89beb authored by Francesc Guasch's avatar Francesc Guasch
Browse files

doc: shorter prompt

parent 6e3e8ab8
...@@ -4,7 +4,7 @@ How to extend a Ravada Linux guest's disk space ...@@ -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 Extending a Linux disk drive in a virtual machine is a straightforward
process. Follow this guide carefully. 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. then use the command line in the host to resize the partition.
Shutdown Shutdown
...@@ -38,13 +38,12 @@ server console and go to the images directory: ...@@ -38,13 +38,12 @@ server console and go to the images directory:
.. prompt:: bash .. prompt:: bash
sudo bash sudo bash
cd /var/lib/libvirt/images
Connect the disk volume as a device Connect the disk volume as a device
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. prompt:: bash root@telecos:/var/lib/libvirt/images# .. prompt:: bash root@telecos:~#
modprobe nbd modprobe nbd
qemu-nbd -c /dev/nbd1 /var/lib/libvirt/images/linux-user-vda.qcow2 qemu-nbd -c /dev/nbd1 /var/lib/libvirt/images/linux-user-vda.qcow2
...@@ -57,7 +56,7 @@ Remove and create the partition ...@@ -57,7 +56,7 @@ Remove and create the partition
First let's check what are the partitions with *fdisk*: 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 fdisk /dev/nbd1
...@@ -135,6 +134,7 @@ Disconnect the nbd and start the virtual machine. ...@@ -135,6 +134,7 @@ Disconnect the nbd and start the virtual machine.
qemu-nbd -d /dev/nbd1 qemu-nbd -d /dev/nbd1
rmmod nbd rmmod nbd
Start the virtual machine from the Ravada frontend as usual.
Check the new size Check the new size
------------------ ------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment