added extlinux static binary
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
* copy DOC/* to Live Kit created
|
* copy DOC/* to Live Kit created
|
||||||
* describe meaning of special files in bundles
|
* describe meaning of special files in bundles
|
||||||
* bootinst.sh for linux (using extlinux preferably)
|
|
||||||
- maybe find a way to boot from ANY filesystem using extlinux if that is possible (loop ext2)
|
* bootinst.sh - if extlinux is not found, echo error msg.
|
||||||
@@ -13,7 +13,7 @@ PART="$(df . | tail -n 1 | tr -s " " | cut -d " " -f 1)"
|
|||||||
DEV="$(echo "$PART" | sed -r "s:[0-9]+\$::" | sed -r "s:([0-9])[a-z]+\$:\\1:i")" #"
|
DEV="$(echo "$PART" | sed -r "s:[0-9]+\$::" | sed -r "s:([0-9])[a-z]+\$:\\1:i")" #"
|
||||||
|
|
||||||
# install syslinux bootloader
|
# install syslinux bootloader
|
||||||
extlinux --install $BOOT
|
./extlinux --install $BOOT
|
||||||
|
|
||||||
if [ "$DEV" != "$PART" ]; then
|
if [ "$DEV" != "$PART" ]; then
|
||||||
# Setup MBR on the first block
|
# Setup MBR on the first block
|
||||||
|
|||||||
Reference in New Issue
Block a user