USB Boot olpc.fth

From OLPC
Revision as of 16:10, 21 January 2008 by Freelikegnu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

the following should be placed in /boot/olpc.fth on a bootable USB drive

\ To test pretty boot, press left directional arrow when you power on.
\ Boot script for ext2 USB flash (must have label of OLPCRoot)
" ro root=LABEL=OLPCRoot rootfstype=ext2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file
game-key-mask h# 80 and if
    \ Boot from "backup" os if circle button is pressed
    " disk:\boot-alt\vmlinuz" to boot-device
    " disk:\boot-alt\olpcrd.img" to ramdisk
else
    " disk:\boot\vmlinuz" to boot-device
    " disk:\boot\olpcrd.img" to ramdisk
then
boot