File: README.Debian

package info (click to toggle)
makebootfat 1.4-8
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,804 kB
  • sloc: sh: 3,118; ansic: 2,746; asm: 148; makefile: 92
file content (36 lines) | stat: -rw-r--r-- 1,555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Debian README for makebootfat package
=====================================

These basic steps worked for the maintainer to create your a bootable dos
usb-stick.  Just replace <your_usb_stick> with sda/sdb/sdc or whatever matches
your usb stick device.

Partition your usb-stick such that it has one primary dos partition, then
execute


====snip===
mkdir /tmp/fs-root
cd /tmp
wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/pkgs/kernels.zip
wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/pkgs/commandx.zip
wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/pkgs/unstablex.zip
unzip kernels.zip
unzip commandx.zip
unzip unstablex.zip
cp bin/kernel.sys bin/command.com /tmp/fs-root/
cp source/ukernel/boot/fat* /tmp/
sudo makebootfat -o /dev/<your_usb_stick> -E 255 -1 fat12.bin -2 fat16.bin -3 fat32lba.bin -m /usr/lib/syslinux/mbr.bin ../fs-root/
====snip===


The url http://sourceforge.net/apps/mediawiki/freedos/index.php?title=USB
points to step by step instructions on how to create a bootable memorystick
with freedos using makebootfat (on which the above instructions are based on).

The files required to create bootable usb-sticks with syslinux (like mbr.bin)
can be found under /usr/lib/syslinux (if the syslinux-common debian package
is installed). The mbrfat.bin file needed to create bootable dos based usb
sticks is shipped with makebootfat in /usr/lib/makebootfat/mbrfat.bin .

 -- Soeren Sonnenburg <sonne@debian.org>  Wed, 14 Oct 2009 06:15 CEST