summaryrefslogtreecommitdiff
path: root/release/bfloppy2.boot
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-07-08 22:43:48 +0000
committerMiles Bader <miles@gnu.org>1997-07-08 22:43:48 +0000
commit3eadb70a3b5d9a87d91229916235cd189a36af2f (patch)
tree12b44b2e514497ba3d264620f0beb93c02c25666 /release/bfloppy2.boot
parentcbd70b9ae39c1675e318419a3e38a01238b4274b (diff)
Initial checkin
Diffstat (limited to 'release/bfloppy2.boot')
-rw-r--r--release/bfloppy2.boot14
1 files changed, 14 insertions, 0 deletions
diff --git a/release/bfloppy2.boot b/release/bfloppy2.boot
new file mode 100644
index 00000000..8408d396
--- /dev/null
+++ b/release/bfloppy2.boot
@@ -0,0 +1,14 @@
+# Boot script file for booting GNU Hurd from a boot floppy. Each line
+# specifies a file to be loaded by the boot loader (the first word), and
+# actions to be done with it.
+
+# First, the bootstrap filesystem. It needs several ports as arguments,
+# as well as the user flags from the boot loader.
+/hurd/ext2fs.static --bootflags=${boot-args} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -Tgunzip:device ${root-device} $(task-create) $(prompt-task-resume)
+
+# Now the exec server; to load the dynamically-linked exec server program,
+# we have the boot loader in fact load and run ld.so, which in turn
+# loads and runs /hurd/exec. This task is created, and its task port saved
+# in ${exec-task} to be passed to the fs above, but it is left suspended;
+# the fs will resume the exec task once it is ready.
+/lib/ld.so.1 /hurd/exec $(exec-task=task-create)