How to create Debian unstable iso images

From Linux PARISC Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "PA-RISC is not any longer an official Debian distribution and as such, Debian ISO install images are not produced any longer by the Debian developers. This website describes ...")
 
Line 5: Line 5:
  
  
What you need to know:
+
== What you need to know ==
 
: Prebuilt debian unstable packages are available at the repository at http://ftp.debian-ports.org/debian/
 
: Prebuilt debian unstable packages are available at the repository at http://ftp.debian-ports.org/debian/
 
: In most cases it's not possible to install from the debian ports repository, because
 
: In most cases it's not possible to install from the debian ports repository, because
Line 12: Line 12:
 
# the partitioning tools during installation for the architecture might be missing for the same reason (e.g. partman-palo for parisc).
 
# the partitioning tools during installation for the architecture might be missing for the same reason (e.g. partman-palo for parisc).
  
 
+
== Basic steps ==
That said, this is in short what we will do:
+
 
# Create a local copy of the debian-ports repository
 
# Create a local copy of the debian-ports repository
 
# Build the debian-installer packages
 
# Build the debian-installer packages
Line 19: Line 18:
 
# Build the final iso image
 
# Build the final iso image
  
== Create a local copy of the debian-ports repository ==
+
=== Create a local copy of the debian-ports repository ===
 
# Install reprepro (apt-get install reprepro)
 
# Install reprepro (apt-get install reprepro)
# Create a  
+
# Create a directory which will hold the copied packages (around 60 GB storage needed!)
 +
 
 +
  apt-get install reprepro
 +
  mkdir -p /extra/deller/debian-alpha-archive/
 +
  cd /extra/deller/debian-alpha-archive/
 +
  tar xvfz /tmp/reprepro-conf-alpha.tgz
 +
  # modify the files in conf/* to your needs
 +
  # now run "reprepro update" to pull all files from debian-ports
 +
  reprepro update
 +
 
 +
=== Build the debian-installer packages ===
 +
=== Add missing boot loader / partitioning tools packages to the repository ===
 +
=== Build the final iso image ===
  
  

Revision as of 10:29, 22 December 2015

PA-RISC is not any longer an official Debian distribution and as such, Debian ISO install images are not produced any longer by the Debian developers.

This website describes the basic steps how you can create such images yourself. The instructions should - with minor modifcations - work for other architectures like alpha or sparc too.


Contents

What you need to know

Prebuilt debian unstable packages are available at the repository at http://ftp.debian-ports.org/debian/
In most cases it's not possible to install from the debian ports repository, because
  1. it is a moving target, which means that the Linux kernel udeb packages which are needed by the kernel on the ISO/liffile may not be available any longer at a later date, and
  2. the bootloader (e.g. palo for parisc, aboot for alpha, silo for sparc) is not available there (because those architectures are not any longer release architectures, so the bootloaders are not being built any long), and
  3. the partitioning tools during installation for the architecture might be missing for the same reason (e.g. partman-palo for parisc).

Basic steps

  1. Create a local copy of the debian-ports repository
  2. Build the debian-installer packages
  3. Add missing boot loader / partitioning tools packages to the repository
  4. Build the final iso image

Create a local copy of the debian-ports repository

  1. Install reprepro (apt-get install reprepro)
  2. Create a directory which will hold the copied packages (around 60 GB storage needed!)
 apt-get install reprepro
 mkdir -p /extra/deller/debian-alpha-archive/
 cd /extra/deller/debian-alpha-archive/
 tar xvfz /tmp/reprepro-conf-alpha.tgz
 # modify the files in conf/* to your needs
 # now run "reprepro update" to pull all files from debian-ports
 reprepro update

Build the debian-installer packages

Add missing boot loader / partitioning tools packages to the repository

Build the final iso image

....

The installer images mentioned above pull the debian packages from the repositories at
(for debian-7.0): http://parisc.osuosl.org/debian/
(for debian-8.0): http://backup.parisc-linux.org/debian/
which contains only the minimal set of necessary files for installation.
This is realized by the preseed/url=http://parisc.osuosl.org/debian/preseed.cfg Linux kernel parameter which is hardcoded in the palo bootloader code in those images.

For parisc:

Personal tools