summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5f1adca)
This reverts commit
aac340b028d5fa45a5e34d07fbd792858607b791.
The switch broke usb keys on some BIOS versions, causing freezes
while detecting the usb stick (without the option to even enter
the BIOS setup). 2010.12 used to work fine and when reverting it
via:
(dd if=foo.iso bs=1 count=48 skip=462; dd if=foo.iso bs=1 count=16 skip=446) >x;
dd of=foo.iso bs=1 conv=notrunc count=64 seek=446 if=x
it's working again. So revert to previous state.
Thanks to ryx for reporting and testing and Thorsten Glaser
for his valuable comments.
einfo "Creating hybrid ISO file with manifold method"
if [ "$HYBRID_METHOD" = "grub2" ] ; then
# 512 bytes: MBR, partition table, load GRUB 2
einfo "Creating hybrid ISO file with manifold method"
if [ "$HYBRID_METHOD" = "grub2" ] ; then
# 512 bytes: MBR, partition table, load GRUB 2
- echo 4 63 | mksh /usr/share/grml-live/scripts/bootgrub.mksh -A -M 1:0x96 -g $cyls:16:32
+ echo 4 63 | mksh /usr/share/grml-live/scripts/bootgrub.mksh -A -M 4:0x96 -g $cyls:16:32
else
# read only one but 2048-byte sized (scale: << 2) sector
echo $bootoff $bootoff | \
else
# read only one but 2048-byte sized (scale: << 2) sector
echo $bootoff $bootoff | \
- mksh /usr/share/grml-live/scripts/bootilnx.mksh -A -M 1:0x96 -g $cyls:16:32 -S 2
+ mksh /usr/share/grml-live/scripts/bootilnx.mksh -A -M 4:0x96 -g $cyls:16:32 -S 2
fi | dd of="${ISO_OUTPUT}/${ISO_NAME}" conv=notrunc 2>/dev/null
eend $?
fi
fi | dd of="${ISO_OUTPUT}/${ISO_NAME}" conv=notrunc 2>/dev/null
eend $?
fi