summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/examples/bootfloppy/bootfloppy.txt
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/examples/bootfloppy/bootfloppy.txt')
-rw-r--r--release/src/router/busybox/examples/bootfloppy/bootfloppy.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/release/src/router/busybox/examples/bootfloppy/bootfloppy.txt b/release/src/router/busybox/examples/bootfloppy/bootfloppy.txt
index 090ef049..9e2cbe2b 100644
--- a/release/src/router/busybox/examples/bootfloppy/bootfloppy.txt
+++ b/release/src/router/busybox/examples/bootfloppy/bootfloppy.txt
@@ -5,7 +5,7 @@ This document describes how to buid a boot floppy using the following
components:
- Linux Kernel (http://www.kernel.org)
- - uClibc: C library (http://cvs.uclinux.org/uClibc.html)
+ - uClibc: C library (http://www.uclibc.org/)
- Busybox: Unix utilities (http://busybox.net/)
- Syslinux: bootloader (http://syslinux.zytor.com)
@@ -38,13 +38,13 @@ Making a Root File System
The following steps will create a root file system.
- Create an empty file that you can format as a filesystem:
-
+
dd if=/dev/zero of=rootfs bs=1k count=4000
- Set up the rootfs file we just created to be used as a loop device (may not
- be necessary)
+ be necessary)
- losetup /dev/loop0 rootfs
+ losetup /dev/loop0 rootfs
- Format the rootfs file with a filesystem:
@@ -72,11 +72,11 @@ The following steps will create a root file system.
- Install the Busybox binary and accompanying symlinks:
(chdir to busybox directory)
- make PREFIX=(path to)loop/ install
+ make CONFIG_PREFIX=(path to)loop/ install
- Make device files in /dev:
- This can be done by running the 'mkdevs.sh' script. If you want the gory
+ This can be done by running the 'mkdevs.sh' script. If you want the gory
details, you can read the script.
- Make necessary files in /etc:
@@ -101,15 +101,15 @@ The following steps will create the boot floppy.
Note: You will need to have the mtools package installed beforehand.
- Insert a floppy in the drive and format it with an MSDOS filesystem:
-
+
mformat a:
(if the system doesn't know what device 'a:' is, look at /etc/mtools.conf)
- Run syslinux on the floppy:
-
+
syslinux -s /dev/fd0
-
+
(the -s stands for "safe, slow, and stupid" and should work better with
buggy BIOSes; it can be omitted)