From a3bc4a3f4f0e86648741eab82697061d9b494fa7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 30 May 2003 20:11:33 +0000 Subject: none --- Main/BootProcess.mdwn | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Main/BootProcess.mdwn b/Main/BootProcess.mdwn index 27b7cfe6..17f7bba7 100644 --- a/Main/BootProcess.mdwn +++ b/Main/BootProcess.mdwn @@ -1,10 +1,4 @@ -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... - ----- +Describes the GNU/Hurd boot process. # Bootloader @@ -12,16 +6,20 @@ Frickin' wiki lost my first draft... 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 +Here is a copy of GNU/Hurd multi-user entry from menu.lst. The first two lines are primarily informational and are what get displayed on the GRUB boot menu. # 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 /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. +**_N.B. the escaped new lines above should end in only a back slash, no spaces!_** The line "root (hd0,0)" tells GRUB where to look for the root partition. Notice that the (hd0,0) is using GRUB naming conventions. @@ -30,3 +28,9 @@ The next line loads the gnumach kernel image itself. Notice here the root=device ---- -- [[Main/BarryDeFreese]] - 29 May 2003 + +Minor formatting and edit check. + +On a side note. The actual description of the GNU/Hurd boot process is a good idea but keeping duplicated information to a bare minimum must be the guide line for a "book" like this. See other topics for more information on Grub configuration for instance. + +-- [[Main/JoachimNilsson]] - 30 May 2003 -- cgit v1.2.3