search for: imglocation

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

Did you mean: imagelocation
2012 Apr 02
3
booting a dos floppy from a disk image over pxe
Hello, I'm trying to boot a dos floppy stored on a disk image which is initially loaded over pxe using memdisk. I've created the disk image as follows: dd if=/dev/zero of=$IMGLOCATION/$IMGNAME bs=$(( 1024 * 1024 )) count=20 LOOPDEV=$(losetup --show -f $IMGLOCATION/$IMGNAME) MAJOR_MINOR=$(ls -l $LOOPDEV|awk '{print $5$6}'|sed 's/,/:/') DMSIZE=$(( $(ls -l $IMGLOCATION/$IMGNAME|awk '{print $5}') / 512 )) echo 0 $DMSIZE linear $MAJOR_MINOR 0|dmsetup create hd...