debug mounting second partition
[rrq/tiniest.git] / README.adoc
1 = Project "tiniest"
2
3 This project is an experiment of building a tiny linux boot system
4 with a single, common syslinux boot configuration used for both legacy
5 bios and UEFI bios.
6
7 The script +mkit.sh+ prepares such a +bootimage.raw+ and the script
8 +vm.sh+ runs a Qemu VM for testing it.
9
10 .Program used by mkit.sh and vm.sh
11 ----
12 ar awk bash cat chmod cp dd depmod dpkg fakechroot fakeroot find ln
13 mcopy mkdir mke2fs mkfs.fat mmd rm sed sfdisk syslinux tar wget xzcat
14 qemu-system-x86_64
15 ----
16
17 * Kernel version +$VERSION+ is obtained from the linux-image-amd64
18   dependency.
19
20 .Downloaded packages
21 ----
22 busybox-static linux-image-$VERION
23 syslinux syslinux-common syslinux-efi syslinux-utils
24 ----
25
26 .How to build
27 ----
28 $ ./mkit.sh
29 ----
30 Note that building will use +http_proxy+ if it's set.
31
32 .How to test legacy bios boot
33 ----
34 $ ./vm.sh
35 ----
36
37 .How to test UEFI bios boot
38 ----
39 $ EFI=yes ./vm.sh
40 ----