aboutsummaryrefslogtreecommitdiffstats
path: root/english/ports/hurd/hurd-cd.wml
blob: 4f887ad42f31053f77ab385b5d9f172a66b40367 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#use wml::debian::template title="Debian GNU/Hurd --- Hurd-CDs" NOHEADER="yes"
#include "$(ENGLISHDIR)/ports/hurd/menu.inc"

<define-tag cdserie>L1</define-tag>
<define-tag cdbasetarball>gnu-2009-10-18.tar.gz</define-tag>
<define-tag cdbasename>debian-<cdserie>-hurd-i386</define-tag>

<h1>Debian GNU/Hurd</h1>

<p>While many people call the GNU system GNU/Hurd this is not strictly true. 
The kernel is GNU Mach not the Hurd. The Hurd is a series of servers which
run on top of the microkernel, GNU Mach. Both the Hurd and GNU Mach are
part of the GNU project while the Linux kernel is an independent project.</p>

<p>The easiest (and well-tested) method of trying Debian GNU/Hurd is to use a
virtual machine via KVM. Some pre-installed images are available on
<url "https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/README.txt">, but one can also
use the Debian Installer to install in KVM or a native machine (but hardware
support vary, so it is more recommended to give a try with KVM).
</p>

<h2>Using the Debian Installer installation CD-ROM</h2>

<p>A hurd-i386 port of the standard Debian Installer can be
downloaded from <url "https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/"> .
Make sure to read the README file available along the iso images.
It works like the usual Linux port of the Debian Installer, i.e. automatically, except a
few details:</p>

<ul>

<li>Make sure to enable swap space, else Mach will have troubles if you use all
your memory.</li>

<li>Do not mount a separate partition on <code>/usr</code>, else the boot will
fail.</li>

<li>
Read <a href="hurd-install">the notes about manual installation</a> which
document some of the final configuration steps.
</li>

</ul>

<p>Instructions for burning CDs from the images can be found in the
<a href="$(HOME)/CD/faq/">Debian CD FAQ</a>.</p>

<h2>Newer snapshots</h2>

<p>Some newer snapshots are available on <url "https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/"></p>

<p>Daily (untested!) snapshots are available on <url "https://people.debian.org/~sthibault/hurd-i386/installer/cdimage/">. Since they are based on the unstable distribution, quite often they cannot actually install a system, due to ongoing transitions in unstable etc. So really rather use the snapshot linked above.</p>

<h2>Making a GRUB boot-disk</h2>

<p>
If you are installing the Hurd alone on your system, you can let the installer
install GRUB itself. If you are installing the Hurd along an existing system,
you will most probably want to be able to choose between both. If your existing
system is Linux, you can probably simply run update-grub and it will detect your
newly-installed Hurd system. Otherwise, or if you do not manage to boot the Hurd
that way, you can use a GRUB boot-disk.</p>

<p>
Install the package grub-disk or grub-rescue-pc, they contain a GRUB floppy
image. You can use "dd" if you are working in GNU/Linux or rawrite if you are
working in MS.
</p>

<p>
Make certain that you understand Linux, GRUB and Hurd methods
of naming drives and partitions. You will be using all three and the
relationship between them can be confusing.
</p>

<p>Hurd uses different partition names to Linux, so be careful. IDE
hard disks are numbered in order, beginning from hd0 for the primary
master and its slave hd1, followed by the secondary master hd2 and
its slave hd3. SCSI drives are also numbered in absolute order. They will
always be sd0, sd1, and so on regardless of whether the two drives are
SCSI id 4 and 5 or whatever. Experience has shown that CD-ROM drives
can be tricky.  More about this later.</p>

<p>Linux-style partitions are always called sn when using the Hurd,
where n is the partition number, so the first partition on the first
IDE drive will be hd0s1, the third partition on the second SCSI drive
will be sd1s3, and so on.</p>

<p>GRUB1 has yet another partition naming system. It calls partitions (hdN,n),
but this time the disk number and partition number are both zero indexed, and
the disks run in order, all the IDE disks first, and the SCSI ones second.  This
time, the first partition on the first IDE drive will be (hd0,0). GRUB2 does
the same, but the partition number is one indexed, so in that case it will be
(hd0,1).  To really cause a confusion, (hd1,2) could refer to the first SCSI
drive if you only have one IDE drive, or it could refer to the second IDE drive.
So it is important that you have worked out the various names of your partitions
before you start.</p>

<p>Enjoy the Hurd.</p>

© 2014-2024 Faster IT GmbH | imprint | privacy policy