[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in7.4.0 flash-knoppix script.



I think I found a bug in the v7.4.0 flash-knoppix script that it doesn't set the "boot" flag in the MBR partition table, so the card never boots.

I believe:
MAKE_BOOTABLE="true"

is not set when you select:
n No Overlay (read-only like CD/DVD)

so:
# Finally mark partition 1 as bootable, if not already done.
# this may cause another udev run, which we can ignore here
if [ -n "$MAKE_BOOTABLE" ]; then
 sfdisk -A1 "${FLASH}" 2>"$TMP.err" || { ERROR="$(<$TMP.err)"; bailout 2; }
 blockdev --flushbufs "${FLASH}"
fi
is never called

Screenshots of steps at:
https://www.flickr.com/photos/126934570@N05/sets/72157647506682635/

This has happen to me twice on 2 different cards. 

Eric

Reply to: