From b853be142545fdd3b69f3edaf86d973e25b19b1a Mon Sep 17 00:00:00 2001 From: Barry deFreese Date: Fri, 30 May 2003 06:16:00 +0000 Subject: none --- Main/BootProcess.mdwn | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'Main') diff --git a/Main/BootProcess.mdwn b/Main/BootProcess.mdwn index b92bdb9c..27b7cfe6 100644 --- a/Main/BootProcess.mdwn +++ b/Main/BootProcess.mdwn @@ -1,12 +1,31 @@ This is just a working document for me to learn the GNU/Hurd boot/init process. Please feel free to modify! +\*\* Just a note. These notes are based on a Debian CD installation so your mileage may vary. + Frickin' wiki lost my first draft... ---- # Bootloader -GRUB (GRand Unified Bootloader) is the default (and as far as I know the only supported ) bootloader for GNU/Hurd and is the initial process. +[GRUB](http://www.gnu.org/software/grub/) (GRand Unified Bootloader) is the default (and as far as I know the only supported ) bootloader for GNU/Hurd and is the initial process. + +GRUB can be used for booting multiple Operating Systems on a given machine. Device naming convention for GRUB is different than that of the Hurd. Where the first partition on the primary IDE drive in GNU/Hurd is hd0s1, in GRUB it is (hd0,0). In the case of GNU/Hurd, the first thing that GRUB loads is kernel image. + +Here is a copy of GNU/Hurd multi-user entry from menu.lst + + # Entry 2: 1st partition on first HDD + title GNU/Hurd (IDE 1st partition - hd0s1 multi-user) + root (hd0,0) + kernel /boot/gnumach.gz root=device:hd0s1 + module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume) + module /lib/ld.so.1 /hurd/exec $(exec-task=task-create) + +The first two lines are primarily informational and are what get displayed on the GRUB boot menu. + +The line "root (hd0,0)" tells GRUB where to look for the root partition. Notice that the (hd0,0) is using GRUB naming conventions. + +The next line loads the gnumach kernel image itself. Notice here the root=device:hd0s1 argument. This is now using GNU/Hurd device naming convention, telling the Hurd where the root partition exists. ---- -- cgit v1.2.3