Skip to content

Commit

Permalink
docs: Alphabetize headings in guestfs-recipes(1).
Browse files Browse the repository at this point in the history
No change, just reorder a section so they are in alphabetical order.
  • Loading branch information
rwmjones committed Feb 10, 2016
1 parent 92ea4ed commit 3a96438
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/guestfs-recipes.pod
Expand Up @@ -285,6 +285,23 @@ Although it sounds tempting, this is usually not a reliable way to get
a backup from a running guest. See the entry in the FAQ:
L<http://libguestfs.org/FAQ.html#backup>

=head1 Export external kernel and initramfs (initrd)

If a Linux guest doesn't have a boot loader or it is broken, then you
can usually boot it using an external kernel and initramfs. In this
configuration, the hypervisor acts like a bootloader, loading the
kernel from the host disk into guest memory and jumping straight into
the kernel.

However you may wonder how to get the right kernel corresponding to
the disk image you have. Since libguestfs E<ge> 1.24
L<virt-builder(1)> can get the latest kernel and corresponding
initramfs for you:

mkdir outputdir
virt-builder --get-kernel disk.img -o outputdir
ls -lh outputdir

=head1 Find out which user is using the most space

This simple script examines a Linux guest to find out which user is
Expand All @@ -307,23 +324,6 @@ using the most space in their home directory:

guestfish --remote exit

=head1 Export external kernel and initramfs (initrd)

If a Linux guest doesn't have a boot loader or it is broken, then you
can usually boot it using an external kernel and initramfs. In this
configuration, the hypervisor acts like a bootloader, loading the
kernel from the host disk into guest memory and jumping straight into
the kernel.

However you may wonder how to get the right kernel corresponding to
the disk image you have. Since libguestfs E<ge> 1.24
L<virt-builder(1)> can get the latest kernel and corresponding
initramfs for you:

mkdir outputdir
virt-builder --get-kernel disk.img -o outputdir
ls -lh outputdir

=head1 Get DHCP address from a VM

The link below explains the many different possible techniques for
Expand Down

0 comments on commit 3a96438

Please sign in to comment.