summaryrefslogtreecommitdiff
path: root/bootblocks/README
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1997-02-25 20:42:19 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:38:07 +0200
commit4c36e9a0c125ccfff37aa440dab2cf58c4152fff (patch)
treea5d9c84ba2661029ddb2223dacd50529a361c3d5 /bootblocks/README
parentf8de35da65c5d93bb733073cf40da154bc1c0748 (diff)
parent9696d7b0e1f3a1b0f5fd4a0428eb75afe8ad4ed6 (diff)
downloaddev86-4c36e9a0c125ccfff37aa440dab2cf58c4152fff.tar.gz
Import Dev86src-0.0.11.tar.gzv0.0.11
Diffstat (limited to 'bootblocks/README')
-rw-r--r--bootblocks/README80
1 files changed, 67 insertions, 13 deletions
diff --git a/bootblocks/README b/bootblocks/README
index c57f3aa..5d2344b 100644
--- a/bootblocks/README
+++ b/bootblocks/README
@@ -12,18 +12,43 @@ $ tar cvfV /dev/fd0 ENIAC monitor.out item2 item3
Make it bootable
-$ makeboot /dev/fd0
+$ makeboot tar /dev/fd0
Note, the distribution tar file is made using this procedure and can be booted
if uncompressed and copied onto a raw floppy.
+To install the dosfs boot sector
+--------------------------------
+
+$ make makeboot
+$ makeboot dosfs /dev/fd0
+
+or
+$ make makeboot.com
+C:\> makeboot dos a:
+
+ Place a Linux-8086 executable in the root directory of the floppy.
+
+$ make monitor.out
+$ mount -t msdos /dev/fd0 /mnt
+$ cp monitor.out /mnt/bootfile.sys
+$ umount /dev/fd0
+
+or
+C:\> copy monitor.out a:\bootfile.sys
+
+ This works on my 3 1/5 floppy and my 5 1/4, and it _should_ work on
+ any double sided drive. (It does work on a 3.5/720k floppy too)
+ For single sided floppies you need to alter msdos.s (the heads var)
+ and remove the check in makeboot.c
+
To install the minixfs boot sector
----------------------------------
Make a minix filesystem on the floppy:
$ mkfs -t minix /dev/fd0 1440
-
+or
$ mkfs -t minix /dev/fd0 1200
Make the bootblock program.
@@ -41,22 +66,51 @@ $ mount -t minix /dev/fd0 /mnt
$ cp monitor.out /mnt/linux
$ umount /dev/fd0
- Or in a tar file:
+ This works on my 3 1/4 floppy, and it _should_ work on any double sided
+ drive. Be sure to make the filesystem the full size of the floppy.
-$ make monitor.out
-$ mount -t minix /dev/fd0 /mnt
-$ tar cvf /mnt/linux monitor.out long list of other files
+
+Booting a Linux-386 bzImage
+---------------------------
+
+NOTE: This only works with bzImage files NOT zImage files.
+
+Take 1 msdos floppy.
+
+$ makeboot dos /dev/fd0
+$ mount -t msdos /dev/fd0 /mnt
+$ cp monitor.out /mnt/bootfile.sys
+$ umount /dev/fd0
+$ cp /usr/src/linux/arch/i386/boot/bzImage /mnt/fd0/vmlinuz
+$ echo 'root=/dev/ram ramdisk_file=ramdisk.gz mem=80M' > /mnt/fd0/vmlinuz.cmd
+$ cp /archive/ramdisk.gz /mnt/fd0/ramdisk.gz
$ umount /dev/fd0
- This works on my 3 1/4 floppy, and it _should_ work on any double sided
- drive. Be sure to make the filesystem the full size of the floppy.
+The stuff about ramdisk is only if you want an init ramdisk. You can also use:
+
+vmlinuz.app: Arguments prepended to the Linux command line.
+vmlinuz.cmd: Arguments appended to the Linux command line.
+vmlinux.dfl: Arguments appended to the Linux command line.
+
+If there's a *.cmd file you won't be asked anything. If there's a *.dfl or
+neither you'll be asked:
+
+vmlinuz:
-To boot the floppy in DOSEMU
-----------------------------
+where you can type a command line to override the *.dfl file. If there's
+a *.cmd file the *.dfl file is ignored, the *.app file is placed at the
+start of the line whichever you do.
-$ dos -A
+If the file isn't called 'vmlinuz' you can still boot it by typing "=linux"
+at the prompt '>' where 'linux' is the name of the bzImage file.
- Press ^C to exit DOSEMU from inside monitor.c
+Escape or ^C will interrupt the boot and drop you to the '>' prompt.
+Esacpe or ^C at the '>' prompt will reboot
+ (This may be a little sensitive :-)
-Rob.
+A file called 'help.txt' will be displayed upto the first line that starts
+with a '%', chunks after that (seperated by '%'s) will be displayed when
+the user presses a function key, home, page up or page down. (Note it's
+best if you try to ensure 'help.txt' is completely contained on one track
+so the file is entirely in the track buffer)