summaryrefslogtreecommitdiff
path: root/open_issues/64-bit_port.mdwn
blob: 772e6daa715e235b9c676615322e63ddb97044d3 (plain)
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
[[!meta copyright="Copyright © 2011, 2012, 2013, 2014, 2016, 2017 Free Software
Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[!tag open_issue_gnumach open_issue_mig]]

[[!inline pages="title(Is there a 64-bit version?)" feeds="no" raw="yes"]]

**What is left for initial support (32-on-64) is**

  * Fixing bugs :)

**For pure 64bit support, we need to**

  * Fix bugs :)
  * bootstrap a distrib

**Installing a 64bit chroot**

Make sure to have `debootstrap >= 1.0.128+nmu2+hurd.1`

    sudo debootstrap --foreign --verbose --arch hurd-amd64 --include=debian-keyring --keyring=/usr/share/keyrings/debian-keyring.gpg sid chroot-hurd-amd64 https://people.debian.org/~sthibault/tmp/hurd-amd64
    sudo mkdir chroot-hurd-amd64/etc/apt/trusted.gpg.d
    sudo ln -s /usr/share/keyrings/debian-keyring.gpg chroot-hurd-amd64/etc/apt/trusted.gpg.d/

Or use the pre-built image from https://people.debian.org/~sthibault/hurd-i386/initrd-amd64.img.gz

Then boot it, it will drop you into a shell. You need to make / writable:

    fsysopts / --writable

and then run the second stage of the deboostrap (and clear debs):

    /debootstrap/debootstrap --second-stage
    apt clean

set a root password:

    password

avoid core dumpings for now (not supported and hangs):

    rm -f /servers/crash
    ln -s crash-kill /servers/crash

and reboot:

    reboot-hurd

**Installing a 64bit system**

In principle crosshurd should be working, one however needs to add this source:

    deb http://people.debian.org/~sthibault/tmp/hurd-amd64 unstable

into /etc/crosshurd/sources.list/gnu