X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=93bcbbf586baa9cb1e2620df0aaaa894d23ffd63;hp=2a91c2b3a1ba30946f6b5f563fbf580e82ce88b7;hb=e781fc540f6654d5249813f85ff7fb49de73396f;hpb=d08be121f23b053c24fffb233f4c557c22bad66a diff --git a/grml-debootstrap b/grml-debootstrap index 2a91c2b..93bcbbf 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1036,7 +1036,7 @@ prepare_vm() { einfo "Adjusting disk signature to a fixed (non-random) value" MBRTMPFILE=$(mktemp) dd if="${TARGET}" of="${MBRTMPFILE}" bs=512 count=1 - echo -en "\x41\x41\x41\x41\x41" | dd of="${MBRTMPFILE}" conv=notrunc seek=440 bs=1 + echo -en "\x41\x41\x41\x41" | dd of="${MBRTMPFILE}" conv=notrunc seek=440 bs=1 dd if="${MBRTMPFILE}" of="${TARGET}" conv=notrunc eend $? fi