Freedosbootflash » История » Версия 6
Андрей Волков, 2013-02-02 10:12
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 | *qemu-system-i386 -boot a -fda balder10.img -hda boot-aacraid.img* |
||
18 | |||
19 | *A:\> fdisk* |
||
20 | |||
21 | *qemu-system-i386 -boot a -fda balder10.img -hda boot-aacraid.img* |
||
22 | |||
23 | *A:\> format c:* |
||
24 | 1 | Андрей Волков | *A:\> sys c:* |
25 | *A:\> xcopy /E /N a: c:* |
||
26 | |||
27 | h2. Check with |
||
28 | |||
29 | *qemu -hda /dev/sdc* |
||
30 | 6 | Андрей Волков | |
31 | *losetup -o32256 /dev/loop2 boot-aacraid.img* |
||
32 | |||
33 | *sudo mount /dev/loop2 /mnt/tmp* |
||
34 | |||
35 | 4 | Андрей Волков | |
36 | h2. Источник: |
||
37 | |||
38 | http://www.meta.net.nz/~daniel/blog/2009/06/10/creating-a-dos-usb-bootdisk-under-linux/ |