search for: bscopylen

Displaying 1 result from an estimated 1 matches for "bscopylen".

Did you mean: bscodelen
2002 Jun 23
1
Using MTOOLS in place of loopback mounting
...$IMAGE # ### Create fresh image $MCOPY ldlinux.sys $LETTER: # values from syslinux.c (calculated and converted to base 10); # these are the offset and length of the portion of the boot sector # which stays the same and is not to be altered by copying in the # SYSLINUX boot sector. BSCOPYSTART=11 BSCOPYLEN=51 # xpread(dev_fd, sectbuf, 512, offset); # memcpy(bootsect+bsCopyStart, sectbuf+bsCopyStart, bsCopyLen); # xpwrite(dev_fd, bootsect, 512, offset); $DD if=$IMAGE of=$TEMP bs=512 count=1 $DD conv=notrunc if=ldlinux.bss of=$IMAGE bs=512 count=1 $DD conv=notrunc if=$TEMP of=$IMAGE bs=1 seek=$BSCOPYS...