aboutsummaryrefslogtreecommitdiff
path: root/files/boot/grub.cfg
diff options
context:
space:
mode:
authorPasha <pasha@member.fsf.org>2024-02-29 19:30:30 +0000
committerPasha <pasha@member.fsf.org>2024-02-29 19:30:30 +0000
commit84d199451cf33734003c00c043a1480920f5563b (patch)
tree4655f03b3637184bfb363b4e86d376756e85c9e3 /files/boot/grub.cfg
downloadcross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.gz
cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.bz2
initial commit
Diffstat (limited to 'files/boot/grub.cfg')
-rw-r--r--files/boot/grub.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/files/boot/grub.cfg b/files/boot/grub.cfg
new file mode 100644
index 0000000..25db24f
--- /dev/null
+++ b/files/boot/grub.cfg
@@ -0,0 +1,31 @@
+insmod part_msdos
+insmod ext2
+set root='hd0,msdos1'
+set menu_color_normal=cyan/blue
+set menu_color_highlight=white/black
+set timeout=1
+
+menuentry 'GNU' {
+ set root='hd0,msdos1'
+ echo 'Loading GNU Mach'
+ multiboot /boot/gnumach.gz root=part:1:device:wd0 noide
+ insmod part_msdos
+ insmod ext2
+ set root='hd0,msdos1'
+ echo 'Loading the Hurd ...'
+ module /hurd/pci-arbiter.static pci-arbiter \
+ --host-priv-port='${host-port}' --device-master-port='${device-port}' \
+ --next-task='${acpi-task}' \
+ '$(pci-task=task-create)' '$(task-resume)'
+ module /hurd/acpi.static acpi \
+ --next-task='${disk-task}' \
+ '$(acpi-task=task-create)'
+ module /hurd/rumpdisk.static rumpdisk \
+ --next-task='${fs-task}' \
+ '$(disk-task=task-create)'
+ module /hurd/ext2fs.static ext2fs \
+ --multiboot-command-line='${kernel-command-line}' \
+ --exec-server-task='${exec-task}' -T typed '${root}' \
+ '$(fs-task=task-create)'
+ module /lib/ld.so exec /hurd/exec '$(exec-task=task-create)'
+}