Freedosbootflash » История » Версия 5
Андрей Волков, 2013-02-02 09:54
1 | 1 | Андрей Волков | h1. FreeDOS boot flash |
---|---|---|---|
2 | |||
3 | 2 | Андрей Волков | Create a FreeDOS based bootable usb-stick |
4 | 1 | Андрей Волков | |
5 | * Download a FreeDOS image, i’ll use Balder for now. |
||
6 | 3 | Андрей Волков | http://www.finnix.org/files/balder10.imz |
7 | 1 | Андрей Волков | * Prepare the usb-stick |
8 | * check partition (e.g cfdisk /dev/sdc) |
||
9 | * mkfs.msdos /dev/sdc1 |
||
10 | |||
11 | h2. Commands |
||
12 | |||
13 | 5 | Андрей Волков | *zcat balder10.imz > balder10.img* |
14 | 1 | Андрей Волков | |
15 | 5 | Андрей Волков | *dd if=/dev/zero of=boot-aacraid.img bs=1M count=16* |
16 | |||
17 | *mkfs.vfat boot-aacraid.img* |
||
18 | |||
19 | *qemu-system-i386 -boot a -fda balder10.img -hda boot-aacraid.img* |
||
20 | |||
21 | *A:\> fdisk* |
||
22 | |||
23 | *qemu-system-i386 -boot a -fda balder10.img -hda boot-aacraid.img* |
||
24 | |||
25 | *A:\> format c:* |
||
26 | 1 | Андрей Волков | *A:\> sys c:* |
27 | *A:\> xcopy /E /N a: c:* |
||
28 | |||
29 | h2. Check with |
||
30 | |||
31 | *qemu -hda /dev/sdc* |
||
32 | 4 | Андрей Волков | |
33 | h2. Источник: |
||
34 | |||
35 | http://www.meta.net.nz/~daniel/blog/2009/06/10/creating-a-dos-usb-bootdisk-under-linux/ |