DuetPkg: Resolve white-space issues for post-build scripts & ReadMe

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
Hao Wu 2016-11-11 16:08:35 +08:00
parent b17d5507cf
commit 24476311ed
5 changed files with 204 additions and 204 deletions

View File

@ -34,9 +34,9 @@ if [ \
"$*" = "--help" \ "$*" = "--help" \
] ]
then then
echo "Usage: CreateBootDisk [usb|floppy|ide|file] MediaPath DevicePath [FAT12|FAT16|FAT32] [IA32|X64] [GCC44|UNIXGCC]" echo "Usage: CreateBootDisk [usb|floppy|ide|file] MediaPath DevicePath [FAT12|FAT16|FAT32] [IA32|X64] [GCC44|UNIXGCC]"
echo "e.g. : CreateBootDisk floppy /media/floppy0 /dev/fd0 FAT12 IA32" echo "e.g. : CreateBootDisk floppy /media/floppy0 /dev/fd0 FAT12 IA32"
PROCESS_MARK=FALSE PROCESS_MARK=FALSE
fi fi
case "$5" in case "$5" in
@ -66,153 +66,153 @@ export EFI_BOOT_DEVICE=$3
if [ "$PROCESS_MARK" = TRUE ] if [ "$PROCESS_MARK" = TRUE ]
then then
case "$1" in case "$1" in
floppy) floppy)
if [ "$4" = FAT12 ] if [ "$4" = FAT12 ]
then then
echo Start to create floppy boot disk ... echo Start to create floppy boot disk ...
echo Format $EFI_BOOT_MEDIA ... echo Format $EFI_BOOT_MEDIA ...
## Format floppy disk ## Format floppy disk
umount $EFI_BOOT_MEDIA umount $EFI_BOOT_MEDIA
mkfs.msdos $EFI_BOOT_DEVICE mkfs.msdos $EFI_BOOT_DEVICE
mount $EFI_BOOT_DEVICE $EFI_BOOT_MEDIA mount $EFI_BOOT_DEVICE $EFI_BOOT_MEDIA
echo Create boot sector ... echo Create boot sector ...
## Linux version of GenBootSector has not pass build yet. ## Linux version of GenBootSector has not pass build yet.
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o FDBs.com $BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o FDBs.com
cp $BOOTSECTOR_BIN_DIR/bootsect.com FDBs-1.com cp $BOOTSECTOR_BIN_DIR/bootsect.com FDBs-1.com
$BASETOOLS_DIR/BootSectImage -g FDBs.com FDBs-1.com -f $BASETOOLS_DIR/BootSectImage -g FDBs.com FDBs-1.com -f
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i FDBs-1.com $BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i FDBs-1.com
rm FDBs-1.com rm FDBs-1.com
cp $BUILD_DIR/FV/Efildr $EFI_BOOT_MEDIA cp $BUILD_DIR/FV/Efildr $EFI_BOOT_MEDIA
mkdir -p $EFI_BOOT_MEDIA/efi mkdir -p $EFI_BOOT_MEDIA/efi
mkdir -p $EFI_BOOT_MEDIA/efi/boot mkdir -p $EFI_BOOT_MEDIA/efi/boot
if [ "$5" = IA32 ] if [ "$5" = IA32 ]
then then
cp $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi cp $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi
else else
if [ "$5" = X64 ] if [ "$5" = X64 ]
then then
cp $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi cp $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi
else else
echo Wrong Arch! echo Wrong Arch!
fi fi
fi fi
echo Done. echo Done.
else else
echo "Wrong FAT type $4 for floppy!" echo "Wrong FAT type $4 for floppy!"
fi fi
;; ;;
file) # CreateFile file) # CreateFile
if [ "$4" = FAT12 ] if [ "$4" = FAT12 ]
then then
echo "Start to create file boot disk ..." echo "Start to create file boot disk ..."
dd bs=512 count=2880 if=/dev/zero of=$EFI_BOOT_MEDIA dd bs=512 count=2880 if=/dev/zero of=$EFI_BOOT_MEDIA
mkfs.msdos -F 12 $EFI_BOOT_MEDIA mkfs.msdos -F 12 $EFI_BOOT_MEDIA
mcopy -i $EFI_BOOT_MEDIA $BUILD_DIR/FV/Efildr ::/Efildr mcopy -i $EFI_BOOT_MEDIA $BUILD_DIR/FV/Efildr ::/Efildr
mmd -i $EFI_BOOT_MEDIA ::/efi ::/efi/boot mmd -i $EFI_BOOT_MEDIA ::/efi ::/efi/boot
if [ "$5" = IA32 ] if [ "$5" = IA32 ]
then then
mcopy -i $EFI_BOOT_MEDIA $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi ::/efi/boot/boot$5.efi mcopy -i $EFI_BOOT_MEDIA $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi ::/efi/boot/boot$5.efi
elif [ "$5" = X64 ] elif [ "$5" = X64 ]
then then
mcopy -i $EFI_BOOT_MEDIA $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi ::/efi/boot/boot$5.efi mcopy -i $EFI_BOOT_MEDIA $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi ::/efi/boot/boot$5.efi
else else
echo Wrong Arch! echo Wrong Arch!
fi fi
mdir -i $EFI_BOOT_MEDIA -s :: mdir -i $EFI_BOOT_MEDIA -s ::
## Linux version of GenBootSector has not pass build yet. ## Linux version of GenBootSector has not pass build yet.
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_MEDIA -o $EFI_BOOT_MEDIA.bs0 $BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_MEDIA -o $EFI_BOOT_MEDIA.bs0
cp $BOOTSECTOR_BIN_DIR/bootsect.com $EFI_BOOT_MEDIA.bs1 cp $BOOTSECTOR_BIN_DIR/bootsect.com $EFI_BOOT_MEDIA.bs1
$BASETOOLS_DIR/BootSectImage -g $EFI_BOOT_MEDIA.bs0 $EFI_BOOT_MEDIA.bs1 $BASETOOLS_DIR/BootSectImage -g $EFI_BOOT_MEDIA.bs0 $EFI_BOOT_MEDIA.bs1
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_MEDIA -i $EFI_BOOT_MEDIA.bs1 $BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_MEDIA -i $EFI_BOOT_MEDIA.bs1
rm $EFI_BOOT_MEDIA.bs[0-1] rm $EFI_BOOT_MEDIA.bs[0-1]
echo Done. echo Done.
else else
echo "Wrong FAT type" $4 "for floppy!" echo "Wrong FAT type" $4 "for floppy!"
fi fi
;; ;;
usb) # CreateUsb usb) # CreateUsb
if [ "$4" = FAT16 ] if [ "$4" = FAT16 ]
then then
if [ "$6" = step2 ] if [ "$6" = step2 ]
then then
cp $BUILD_DIR/FV/Efildr16 $EFI_BOOT_MEDIA cp $BUILD_DIR/FV/Efildr16 $EFI_BOOT_MEDIA
mkdir $EFI_BOOT_MEDIA/efi/boot mkdir $EFI_BOOT_MEDIA/efi/boot
if [ "$5" = IA32 ] if [ "$5" = IA32 ]
then then
cp $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi cp $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi
else else
if [ "$5" = X64 ] if [ "$5" = X64 ]
then then
cp $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi cp $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi
else else
echo Wrong Arch! echo Wrong Arch!
fi fi
fi fi
echo "step2 Done!" echo "step2 Done!"
else else
echo Format $EFI_BOOT_DEVICE ... echo Format $EFI_BOOT_DEVICE ...
#Do format command. #Do format command.
echo Create boot sector ... echo Create boot sector ...
## Linux version of GenBootSector & Bootsectimage has not pass build yet. ## Linux version of GenBootSector & Bootsectimage has not pass build yet.
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o UsbBs16.com $BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o UsbBs16.com
cp $BOOTSECTOR_BIN_DIR/bs16.com Bs16-1.com cp $BOOTSECTOR_BIN_DIR/bs16.com Bs16-1.com
$BASETOOLS_DIR/BootSectImage -g UsbBs16.com Bs16-1.com -f $BASETOOLS_DIR/BootSectImage -g UsbBs16.com Bs16-1.com -f
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i Bs16-1.com $BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i Bs16-1.com
rm Bs16-1.com rm Bs16-1.com
$BASETOOLS_DIR/GnuGenBootSector -m -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/Mbr.com $BASETOOLS_DIR/GnuGenBootSector -m -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/Mbr.com
echo Done. echo Done.
echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN TO DO STEP2! echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN TO DO STEP2!
fi fi
elif [ "$4" = FAT32 ] elif [ "$4" = FAT32 ]
then then
if [ "$6" = step2 ] if [ "$6" = step2 ]
then then
cp $BUILD_DIR/FV/Efildr20 $EFI_BOOT_MEDIA cp $BUILD_DIR/FV/Efildr20 $EFI_BOOT_MEDIA
mkdir $EFI_BOOT_MEDIA/efi/boot mkdir $EFI_BOOT_MEDIA/efi/boot
if [ "$5" = IA32 ] if [ "$5" = IA32 ]
then then
cp $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi cp $WORKSPACE/ShellBinPkg/UefiShell/Ia32/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi
else else
if [ "$5" = X64 ] if [ "$5" = X64 ]
then then
cp $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi cp $WORKSPACE/ShellBinPkg/UefiShell/X64/Shell.efi $EFI_BOOT_MEDIA/efi/boot/boot$5.efi
else else
echo Wrong Arch! echo Wrong Arch!
fi fi
fi fi
echo "step2 Done!" echo "step2 Done!"
else else
echo Format $EFI_BOOT_DEVICE ... echo Format $EFI_BOOT_DEVICE ...
#Do format command. #Do format command.
echo Create boot sector ... echo Create boot sector ...
## Linux version of GenBootSector & Bootsectimage has not pass build yet. ## Linux version of GenBootSector & Bootsectimage has not pass build yet.
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o UsbBs32.com $BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o UsbBs32.com
cp $BOOTSECTOR_BIN_DIR/bs32.com Bs32-1.com cp $BOOTSECTOR_BIN_DIR/bs32.com Bs32-1.com
$BASETOOLS_DIR/BootSectImage -g UsbBs32.com Bs32-1.com -f $BASETOOLS_DIR/BootSectImage -g UsbBs32.com Bs32-1.com -f
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i Bs32-1.com $BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i Bs32-1.com
rm Bs32-1.com rm Bs32-1.com
$BASETOOLS_DIR/GnuGenBootSector -m -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/Mbr.com $BASETOOLS_DIR/GnuGenBootSector -m -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/Mbr.com
echo Done. echo Done.
echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN TO DO STEP2! echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN TO DO STEP2!
fi fi
else else
echo "Wrong FAT type $1 for floppy!" echo "Wrong FAT type $1 for floppy!"
fi fi
;; ;;
ide) # CreateIde ide) # CreateIde
echo "Not support yet!" echo "Not support yet!"
;; ;;
*) *)
echo "Arg1 should be [floppy | file | usb | ide] !" echo "Arg1 should be [floppy | file | usb | ide] !"
esac esac
fi fi

View File

@ -33,8 +33,8 @@ if [ \
"$1" = "--help" \ "$1" = "--help" \
] ]
then then
echo Error! Please specific the architecture. echo Error! Please specific the architecture.
echo Usage: "./PostBuild.sh [IA32|X64] [UNIXGCC|GCC44]" echo Usage: "./PostBuild.sh [IA32|X64] [UNIXGCC|GCC44]"
fi fi
case "$1" in case "$1" in
@ -81,35 +81,35 @@ echo Generate Loader Image ...
if [ $PROCESSOR = IA32 ] if [ $PROCESSOR = IA32 ]
then then
$BASETOOLS_DIR/GenFw --rebase 0x10000 -o $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BASETOOLS_DIR/GenFw --rebase 0x10000 -o $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/$PROCESSOR/EfiLoader.efi
$BASETOOLS_DIR/EfiLdrImage -o $BUILD_DIR/FV/Efildr32 $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/FV/DxeIpl.z $BUILD_DIR/FV/DxeMain.z $BUILD_DIR/FV/DUETEFIMAINFV.z $BASETOOLS_DIR/EfiLdrImage -o $BUILD_DIR/FV/Efildr32 $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/FV/DxeIpl.z $BUILD_DIR/FV/DxeMain.z $BUILD_DIR/FV/DUETEFIMAINFV.z
cat $BOOTSECTOR_BIN_DIR/Start.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 > $BUILD_DIR/FV/Efildr cat $BOOTSECTOR_BIN_DIR/Start.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 > $BUILD_DIR/FV/Efildr
# #
# It is safe to use "bcat" to cat following binary file, if bcat command is avaiable for your system # It is safe to use "bcat" to cat following binary file, if bcat command is avaiable for your system
# #
#bcat -o $BUILD_DIR/FV/Efildr.bcat $BOOTSECTOR_BIN_DIR/start.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 #bcat -o $BUILD_DIR/FV/Efildr.bcat $BOOTSECTOR_BIN_DIR/start.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32
cat $BOOTSECTOR_BIN_DIR/Start16.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 > $BUILD_DIR/FV/Efildr16 cat $BOOTSECTOR_BIN_DIR/Start16.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 > $BUILD_DIR/FV/Efildr16
#bcat -o $BUILD_DIR/FV/Efildr16.bcat $BOOTSECTOR_BIN_DIR/start16.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 #bcat -o $BUILD_DIR/FV/Efildr16.bcat $BOOTSECTOR_BIN_DIR/start16.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32
cat $BOOTSECTOR_BIN_DIR/Start32.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 > $BUILD_DIR/FV/Efildr20 cat $BOOTSECTOR_BIN_DIR/Start32.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 > $BUILD_DIR/FV/Efildr20
#bcat -o $BUILD_DIR/FV/Efildr20.bcat $BOOTSECTOR_BIN_DIR/start32.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32 #bcat -o $BUILD_DIR/FV/Efildr20.bcat $BOOTSECTOR_BIN_DIR/start32.com $BOOTSECTOR_BIN_DIR/efi32.com2 $BUILD_DIR/FV/Efildr32
echo Done! echo Done!
fi fi
if [ $PROCESSOR = X64 ] if [ $PROCESSOR = X64 ]
then then
$BASETOOLS_DIR/GenFw --rebase 0x10000 -o $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BASETOOLS_DIR/GenFw --rebase 0x10000 -o $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/$PROCESSOR/EfiLoader.efi
$BASETOOLS_DIR/EfiLdrImage -o $BUILD_DIR/FV/Efildr64 $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/FV/DxeIpl.z $BUILD_DIR/FV/DxeMain.z $BUILD_DIR/FV/DUETEFIMAINFV.z $BASETOOLS_DIR/EfiLdrImage -o $BUILD_DIR/FV/Efildr64 $BUILD_DIR/$PROCESSOR/EfiLoader.efi $BUILD_DIR/FV/DxeIpl.z $BUILD_DIR/FV/DxeMain.z $BUILD_DIR/FV/DUETEFIMAINFV.z
cat $BOOTSECTOR_BIN_DIR/Start64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 > $BUILD_DIR/FV/EfildrPure cat $BOOTSECTOR_BIN_DIR/Start64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 > $BUILD_DIR/FV/EfildrPure
#bcat -o $BUILD_DIR/FV/EfildrPure $BOOTSECTOR_BIN_DIR/start64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 #bcat -o $BUILD_DIR/FV/EfildrPure $BOOTSECTOR_BIN_DIR/start64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64
$BASETOOLS_DIR/GenPage $BUILD_DIR/FV/EfildrPure -o $BUILD_DIR/FV/Efildr $BASETOOLS_DIR/GenPage $BUILD_DIR/FV/EfildrPure -o $BUILD_DIR/FV/Efildr
cat $BOOTSECTOR_BIN_DIR/St16_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 > $BUILD_DIR/FV/Efildr16Pure cat $BOOTSECTOR_BIN_DIR/St16_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 > $BUILD_DIR/FV/Efildr16Pure
#bcat -o $BUILD_DIR/FV/Efildr16Pure $BOOTSECTOR_BIN_DIR/st16_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 #bcat -o $BUILD_DIR/FV/Efildr16Pure $BOOTSECTOR_BIN_DIR/st16_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64
$BASETOOLS_DIR/GenPage $BUILD_DIR/FV/Efildr16Pure -o $BUILD_DIR/FV/Efildr16 $BASETOOLS_DIR/GenPage $BUILD_DIR/FV/Efildr16Pure -o $BUILD_DIR/FV/Efildr16
cat $BOOTSECTOR_BIN_DIR/St32_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 > $BUILD_DIR/FV/Efildr20Pure cat $BOOTSECTOR_BIN_DIR/St32_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 > $BUILD_DIR/FV/Efildr20Pure
#bcat -o $BUILD_DIR/FV/Efildr20Pure $BOOTSECTOR_BIN_DIR/st32_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64 #bcat -o $BUILD_DIR/FV/Efildr20Pure $BOOTSECTOR_BIN_DIR/st32_64.com $BOOTSECTOR_BIN_DIR/efi64.com2 $BUILD_DIR/FV/Efildr64
$BASETOOLS_DIR/GenPage $BUILD_DIR/FV/Efildr20Pure -o $BUILD_DIR/FV/Efildr20 $BASETOOLS_DIR/GenPage $BUILD_DIR/FV/Efildr20Pure -o $BUILD_DIR/FV/Efildr20
echo Done! echo Done!
fi fi

View File

@ -83,7 +83,7 @@ B. Build DUET image on Linux Platform
Now only support floopy. Now only support floopy.
3.1 Create floppy boot disk 3.1 Create floppy boot disk
1). enter /edk2_tree/DuetPkg directory. 1). enter /edk2_tree/DuetPkg directory.
2). Insert a floppy disk to drive 2). Insert a floppy disk to drive
3). run "CreateBootDisk.sh" to build floppy drive 3). run "CreateBootDisk.sh" to build floppy drive
such as "./CreateBootDisk.sh floppy /media/floppy0 /dev/fd0 FAT12 IA32" such as "./CreateBootDisk.sh floppy /media/floppy0 /dev/fd0 FAT12 IA32"