Differences between revisions 6 and 7
Revision 6 as of 2013-01-16 23:02:15
Size: 4761
Comment: add multistrap
Revision 7 as of 2013-01-20 17:21:04
Size: 4952
Comment: remind people about unreleased
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Remember that a minimal `sources.list` must contain one line for the “unstable” distribution '''and''' one line for the “[[DebianPorts/WhatIsUnreleased|unreleased]]” distribution!

Remember that a minimal sources.list must contain one line for the “unstable” distribution and one line for the “unreleased” distribution!

Installing Debian/m68k

Quickstart

ARAnyM images

Pre-made ARAnyM hard disc images (byte-swapped, i.e. directly usable by ARAnyM) are here, configuration and kernels included. Last Update: 2012-04 (April 2012)

Debian-Installer

http://people.debian.org/~wouter/d-i/ contains a d-i build by WouterVerhelst. Last Update: 2012-12 (December 2012)

Installing from d-i is currently untested and most likely not working because it uses debootstrap, which can only install from unstable without taking the Debian-Ports "unreleased" suite into account. A workaround is being worked on.

pre-made filesystems

Filesystem images

Pre-made ext2fs (384 MiB) with base system (debootstrap --variant=base) plus a couple of packages, pre-configured, includes 128 MiB swapfile; login root:root ⇒ download from people.debian.org (mirror); Last Update: 2012-12 (December 2012)

Filesystem tarballs

Pre-made tarball with base system (debootstrap --variant=base) plus a couple of packages, pre-configured except fstab; login root:root ⇒ download from people.debian.org (mirror); Last Update: 2012-12 (December 2012)

build chroot tarballs

Pre-made tarball with package build system (debootstrap --variant=buildd) and policy-rc.d to deny dæmon start ⇒ download from people.debian.org (mirror); Last Update: 2012-12 (December 2012)

Pre-made /var/cache/pbuilder/base.cow image (from “cowbuilder --create”) can be downloaded here. Last Update: 2012-04 (April 2012)

kernels

Linux 3.2.35-2 (Debian ABI 3.2(.0)-4) ⇒ download from people.debian.org (mirror)

Debootstrap

It is currently not possible to simply debootstrap because we require both the “unstable” and “unreleased” suite. A combined repository of both (only the most important gigabyte of packages) is however available, and you can debootstrap from that as follows:

  • get 0x405422DD from hkp://pgp.uni-mainz.de and 0xE99007E0 from the Debian Developers keyring; validate the former with the latter and apt-key add it

  • add 「deb http://www.freewrt.org/~tg/dp cross main」 and run apt-get update (or “sid main”, but since we only pull one package from it anyway, it doesn’t matter)

  • install wtf-debian-keyring (which is just the same key as above)

  • run debootstrap with several additional options:
    • --include must be passed and the packages debian-ports-archive-keyring and wtf-debian-keyring listed

    • --keyring=/usr/share/keyrings/wtf-debian-keyring.gpg
    • use one of the following mirrors:
      • http://frozenfish.freewrt.org/~tg/dp

      • http://www.freewrt.org/~tg/dp (also SSL)

    • use “sid” as suite
  • after debootstrapping, chroot into it and 「dpkg --purge wtf-debian-keyring」 (unless you decide on keeping it)
  • pick your favourite Debian-Ports mirror (we’ll be using 「http://ftp.de.debian.org/debian-ports」) and create an /etc/apt/sources.list inside the chroot with, at the very least, the following two lines:

    • deb http://ftp.de.debian.org/debian-ports unstable main

    • deb http://ftp.de.debian.org/debian-ports unreleased main

  • Now you can run dselect update, apt-get --purge dist-upgrade, etc. (with eatmydata if you wish)

  • You may also purge wtf-debian-keyring and the repository from the “host” if you wish ☺

  • Read the files linked on https://www.freewrt.org/~tg/dp/sources.txt

Multistrap

It should be possible to use that and pull directly from official Debian-Ports repositories, from an installed system that’s more up-to-date than etch-m68k. (The only “upgrade” path from etch-m68k we support is un-tarring one of the tarballs above and booting into them.) There’s no multistrap configuration as of yet, but if you know how to write one already, use the following two APT repositories combined into one:

  • pick your favourite Debian-Ports mirror (we’ll be using 「http://ftp.de.debian.org/debian-ports」)

    • deb http://ftp.de.debian.org/debian-ports unstable main

    • deb http://ftp.de.debian.org/debian-ports unreleased main

Of course, feel free to paste a working configuration below ;-)