view level1/coco2b/scripts/mb.floppy @ 2855:e126b9acab32 lwtools-port

rules.mak: Do not hardcode path for "echo" It is basically the only tool with full path here and I don't see any reason for it. We don't use special echo options that would fail on the shell built-in echo. Also don't hardcode path for losetup. sudo should make sure you have the relevant location in your path, and that the path is sanitized, otherwise your sudo setup is broken.
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 13 Jul 2013 11:30:31 +0200
parents bb027e636315
children
line wrap: on
line source

-t
-x
tmode .1 pau=0
echo * NitrOS-9 Level 1 Boot Creation Script
echo *
echo * This script creates a bootable floppy disk
echo * using the standard.bl bootlist file.
echo *
echo * The resulting disk will boot NitrOS-9 from drive 0.
echo *
prompt Insert a blank disk in /d0 and press a key:
echo *
echo * Step 1: Format disk in /d0
format /d0 "NitrOS-9 Level 1 Boot Disk" r
echo *
echo * Step 2: Create a custom boot track
del bttemp
merge ../MODULES/BOOTTRACK/rel ../MODULES/KERNEL/krn ../MODULES/KERNEL/krnp2 ../MODULES/SYSMODS/init ../MODULES/BOOTTRACK/boot_1773_6ms>bttemp
echo *
echo * Step 3: Create the bootfile and boot track
os9gen /d0 -t=bttemp<../BOOTLISTS/standard.bl
del bttemp
echo *
echo * Step 4: Populate the disk with essential files
copy ../MODULES/SYSMODS/sysgo_dd /d0/sysgo
makdir /d0/CMDS
copy -w=/d0/CMDS ../CMDS/shell
echo *
echo * We're done