2 # Copyright (C) 2006 OpenWrt.org
6 cp bin
/openwrt-x86-2.4
-ext2.img bin
/boot.img
7 gzip -9 < bin
/openwrt-x86-2.4
-ext2.img
> initrd.gz
8 sudo losetup
$LOOPDEV bin
/boot.img
9 sudo mount
$LOOPDEV mount
10 sudo
cp build_i386
/linux
/arch
/i386
/boot
/bzImage mount
/vmlinuz
11 sudo
cp initrd.gz mount
/initrd.gz
13 sudo build_i386
/lilo-22.7
.2/lilo
-C package
/lilo
/bdlilo.conf
15 echo releasing
$LOOPDEV
16 sudo losetup
-d $LOOPDEV