b8b1973c9f821f7b60baacb926317fc8a19f4bcb
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / build / docs / manual / beyond-buildroot.txt
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
3
4 == Beyond Buildroot
5
6 === Boot the generated images
7
8 ==== NFS boot
9
10 To achieve NFS-boot, enable _tar root filesystem_ in the _Filesystem
11 images_ menu.
12
13 After a complete build, just run the following commands to setup the
14 NFS-root directory:
15
16 -------------------
17 sudo tar -xavf /path/to/output_dir/rootfs.tar -C /path/to/nfs_root_dir
18 -------------------
19
20 Remember to add this path to +/etc/exports+.
21
22 Then, you can execute a NFS-boot from your target.
23
24 === Chroot
25
26 If you want to chroot in a generated image, then there are few thing
27 you should be aware of:
28
29 * you should setup the new root from the _tar root filesystem_ image;
30
31 * either the selected target architecture is compatible with your host
32   machine, or you should use some +qemu-*+ binary and correctly set it
33   within the +binfmt+ properties to be able to run the binaries built
34   for the target on your host machine;
35
36 * Buildroot does not currently provide +host-qemu+ and +binfmt+
37   correctly built and set for that kind of use.