
CHAPTER 4. LIVERAM DISKS 4.4. HARD VERSIONS
#!/bin/sh
# Run this to build the boot bundle
# L. 01-Nov-09
dt="‘date +%d%m%y-%H%M%S‘"
./make-bootbundle.py -o bootbundle-${dt}.exe haret-0.5.2.exe
zImage-2.6.21-hh20 initramfs.cpio.gz startup.txt.bootimage
What it actually does is use the predefined files, and give a date-related name to the boot bundle
file (i.e. the .exe that you will execute from the WM File Explorer).
You can evidently modify it as you want.
4.4.3 Summary
You will find here a summary of all these files. I suggest you to download them at the place of
copying the code of this booklet, as, for Python scripts, indentation is important, and it could be
broken by the output of this document.
File Role Download at
Python script Produce the bootbundle http://www.student.montefiore.ulg.ac.be/
~
merciadri/angstrom/files/make-bootbundle.py
Outfile The bootbundle http://www.student.montefiore.ulg.ac.be/
~
merciadri/angstrom/files/console-zImage-2.6.21-hh20-hx4700.exe
HaRET The bootloader http://handhelds.org/
~
koconnor/haret/haret-0.5.2.exe
or http://www.student.montefiore.ulg.ac.be/
~
merciadri/angstrom/files/haret-0.5.2.exe
zImage The kernel http://www.student.montefiore.ulg.ac.be/
~
merciadri/angstrom/files/zImage-2.6.21-hh20
initrd The initrd http://www.student.montefiore.ulg.ac.be/
~
merciadri/angstrom/files/initramfs.cpio.gz
Startup script The startup script http://www.student.montefiore.ulg.ac.be/
~
merciadri/angstrom/files/startup.txt.bootimage
Table 4.1: The different files for the “Hard version.”
If you use such a LiveRam Disk, Linux should boot in something like 10 seconds.
14
Komentarze do niniejszej Instrukcji