patch-1.3.60 linux/Documentation/ramdisk.txt

Next file: linux/Makefile
Previous file: linux/Documentation/devices.txt
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/Documentation/ramdisk.txt linux/Documentation/ramdisk.txt
@@ -172,7 +172,7 @@
 
 e) Put the kernel onto the floppy
 
-	cat zImage > /dev/fd0
+	dd if=zImage of=/dev/fd0 bs=1k
 
 f) Put the ramdisk image onto the floppy, after the kernel. Use an offset
    that is slightly larger than the kernel, so that you can put another
@@ -181,7 +181,7 @@
    size would be reasonable. Make sure offset+size of ram_image.gz is
    not larger than the total space on your floppy (usually 1440kB).
 
-	dd if=/tmp/ram_image.gz of=/dev/fd0 bs=1k skip=400
+	dd if=/tmp/ram_image.gz of=/dev/fd0 bs=1k seek=400
 
 g) Use "rdev" to set the boot device, ramdisk offset, prompt flag, etc.
    For ramdisk_start=400, load_ramdisk=1, ramdisk_start=400, one would

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this