Проект

Общее

Профиль

Freedosbootflash » История » Редакция 5

Редакция 4 (Андрей Волков, 2012-10-04 11:57) → Редакция 5/6 (Андрей Волков, 2013-02-02 09:54)

h1. FreeDOS boot flash 

 Create a FreeDOS based bootable usb-stick 

  * Download a FreeDOS image, i’ll use Balder for now. 
    http://www.finnix.org/files/balder10.imz 
  * Prepare the usb-stick 
  * check partition (e.g cfdisk /dev/sdc) 
  * mkfs.msdos /dev/sdc1 

 h2. Commands 

 *zcat balder10.imz > balder10.img* 

 *dd if=/dev/zero of=boot-aacraid.img bs=1M count=16* 

 *mkfs.vfat boot-aacraid.img* 

 *qemu-system-i386 *qemu -boot a -fda balder10.img -hda boot-aacraid.img* /dev/sdc* 

  *A:\> fdisk* 

 *qemu-system-i386 -boot a -fda balder10.img -hda boot-aacraid.img* 

  *A:\> format c:* 
  *A:\> sys c:* 
  *A:\> xcopy /E /N a: c:* 

 h2. Check with 

 *qemu -hda /dev/sdc* 

 h2. Источник: 

 http://www.meta.net.nz/~daniel/blog/2009/06/10/creating-a-dos-usb-bootdisk-under-linux/