Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/floppy/ramdisk/etc
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-09-02 09:18:52 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-09-02 09:18:52 +0200
commit52be99d8c0862ff87db9a4f9ccec1ac4b5f7caed (patch)
tree1a1a1c98090afd8459cc8f045f9de2d4a7cba5ab /floppy/ramdisk/etc
parent15adaba9eaa6a98c8b55bc5c5f73c3a9e0e55e7a (diff)
added a quite unsorted first version of a floppy boot loader
Diffstat (limited to 'floppy/ramdisk/etc')
-rwxr-xr-xfloppy/ramdisk/etc/init.d/rc8
-rw-r--r--floppy/ramdisk/etc/inittab6
-rw-r--r--floppy/ramdisk/etc/modules.conf1
l---------floppy/ramdisk/etc/mtab1
-rw-r--r--floppy/ramdisk/etc/resolv.conf1
5 files changed, 17 insertions, 0 deletions
diff --git a/floppy/ramdisk/etc/init.d/rc b/floppy/ramdisk/etc/init.d/rc
new file mode 100755
index 0000000..c923778
--- /dev/null
+++ b/floppy/ramdisk/etc/init.d/rc
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo "Starting RAMDisk.."
+mount -t proc none /proc
+mount -t sysfs none /sys
+mount -t devtmpfs none /dev
+mkdir /dev/pts
+mount -t devpts none /dev/pts
diff --git a/floppy/ramdisk/etc/inittab b/floppy/ramdisk/etc/inittab
new file mode 100644
index 0000000..30228cf
--- /dev/null
+++ b/floppy/ramdisk/etc/inittab
@@ -0,0 +1,6 @@
+::sysinit:/etc/init.d/rc
+::askfirst:-/bin/cttyhack /bin/sh
+::restart:/sbin/init
+::ctrlaltdel:/sbin/reboot
+::shutdown:/bin/umount -a
+tty1::askfirst:-/bin/sh
diff --git a/floppy/ramdisk/etc/modules.conf b/floppy/ramdisk/etc/modules.conf
new file mode 100644
index 0000000..df66d3f
--- /dev/null
+++ b/floppy/ramdisk/etc/modules.conf
@@ -0,0 +1 @@
+options ne io=0x300 irq=10
diff --git a/floppy/ramdisk/etc/mtab b/floppy/ramdisk/etc/mtab
new file mode 120000
index 0000000..5c4677a
--- /dev/null
+++ b/floppy/ramdisk/etc/mtab
@@ -0,0 +1 @@
+../proc/self/mounts \ No newline at end of file
diff --git a/floppy/ramdisk/etc/resolv.conf b/floppy/ramdisk/etc/resolv.conf
new file mode 100644
index 0000000..1ea217a
--- /dev/null
+++ b/floppy/ramdisk/etc/resolv.conf
@@ -0,0 +1 @@
+nameserver 192.168.1.1