There is Jigdo 'mini' how-to accessible on Debian website (although whoever first labelled it 'mini' clearly has issues with identifying sizes). The document is a perfect primer for using jigdo. It's long, slightly confusing at first, but might be quite useful, when you get through the initial shock and horror.
If you are on Windows, and feeling adventurous, but cannot bother to read through all of that, here's a short introduction to how jigdo works (if you are on Linux, you are on your own. Sorry, but jigdo is not for the clinically sane to use, and your author could not be bothered to do the screenshots twice. besides if you are on Linux, you might be a little more tech savvy, etc.)
From here you can download and attach the VMDK image to your VMware and use it. We provide images for both architectures 32bit and 64bit, you can download for free for both architectures. At the moment we have plans to offer you 30+ Linux/Unix distributions, we may add more to our list in near future, you can also send us suggestions if we are. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine. A live install image contains a Debian system that can boot without modifying any files on the hard drive and also allows installation of Debian from the contents of the image. Raspberry Pi Debian images This Web site is built to help you get Debian GNU/Linux easily running if you have a computer of the Raspberry Pi family. TL;DR Download tested Debian images for your Raspberry Pi. Most of the information provided here is initially carried over from the corresponding pages in the Debian Wiki. What is an image? Initially, you will only need to download and use the first image of a set (labelled as debian-something-1 to be able to start the Debian installer and set up Debian on your computer. If there are more images available here (labelled debian- something -2, debian- something -3, etc.), they contain the extra packages that can be installed on a.
I have warned you before, but I'll do it again. Jigdo is not for the faint-hearted. You will use obscure command line tools, and encounter errors. You will suffer mightily.
- Download the Jigdo installer from the official website, and extract the archive on your PC.
- Start the batch file called
jigdo-lite.bat
(just double-click it. Or, alternatively, open a command prompt, navigate to the file and run it like in the good old DOS days). You will be greeted with a similar message:
- Now you need a URL. There is a list of URLs for jigdo files on the Debian website. trying any of those will most likely fail. Why? Because those are the official files, listed on the official websites, but jigdo is not supposed to be easy. That is why. So find an official mirror closest to you, navigate to
current/
, choose your CPU architecture, i.e.amd64/
, ori386/
and select eitherjigdo-cd/
orjigdo-dvd
. So e.g. on a 64 bit machine, downloading a CD image, you would be inftp.your.mirror.domain/current/amd64/iso-cd/
. There you can find the jigdo file of your fancy. - Right click on your preferred jigdo file, and select 'Copy Link Location' (or something to that effect).
- Back to command-line, where right click might or might not work. If it does not, right click on the window border and select
Edit > Paste
. Otherwise jut paste normally. Only do this if you do not want to manually type the URL. (Why would you?)
- Next, you will be asked if you have a previous version of the CD or DVD, because jigdo can, in fact, update images (told ya, it is useful, once you learn how to use it). As you are reading a tutorial on how to use jigdo for the first time, let us assume you do not have one, so just press Enter.
- You'll be asked another silly question, namely to specify a Debian mirror. You know, it's not enough that you've already used a mirror to download the jigdo file, you'll have to specify it again, but this time it would be a slightly different URL. Remember, it's not supposed to be easy. It's supposed to make you feel like a sys-admin or something (although I suspect seasoned sysadmins are smarter that, and use far simpler methods to obtain an image).To find your favourite mirror, just refer to ftp://ftp.debian.org/debian/README.mirrors.txt, or simply press enter, in which case your command line will be flooded with so many mirror addresses, you cannot even scroll up far enough to see all of them. How ergonomic!
- Now specify your mirror, press enter, and watch the miracle happen. or possibly the new, more sophisticated,m and even more frustrating error message, such as 'Jigdo failed with code xxx - aborting'. But that is another story already. Happy debugging.
And that is it. You should soon have an image downloaded, and assembled, which you can update anytime. Or not. You can tell jigdo is my least favourite part of Debian, clearly. I personally avoid it like plague.
Translation(s): English - Russian(Русский)
Contents
- Building a Custom Debian CD Set
- Quick Overview, Using Apt, Binary Only
- Create a mirror of the Debian archive for Apt
- Detailed Instructions
- Option 2: Create a partial mirror of the Debian archive for Apt (optional)
- 1. Getting Your Packages, Option 1
- 2. Get DebianInstaller Binaries
- 3. Make Mirror Recognizable to Apt
- Create the actual CD set
- Option 2: Create a partial mirror of the Debian archive for Apt (optional)
- Quick Overview, Using Apt, Binary Only
An Easier Alternative
One possible 'alternative' to this procedure is to use Simple-CDD. If it does everything you need for your custom CD, then there is no reason (except curiosity) to go through the rest of this article.
Introduction
This page describes how to create a partial debian mirror and the steps used to create a custom debian install cd using that mirror. This document shows how to use packages gathered from a prototype system's apt cache as well as a download script that starts with a list of packages and fetches the appropriate versions. The instructions here assume i386 but should work for any architecture simply by replacing i386 in the instructions with the architecture of your choice.
An alternative to the stuff below is to use an apt sources.list and chdist to download packages and then use reprepro to update the apt repository on the CD.
Quick Overview, Using Apt, Binary Only
NOTE Using a full mirror, or a mostly full mirror is best practice. You should only use a partial mirror if you absolutely must (e.g. due to disk constraints) and realize that it is unsupported.
Create a mirror of the Debian archive for Apt
Option 1: Using debmirror
Frans Pop has created a wrapper script for this which is available in Debian repositories. A README explains how to use it. This is the preferred approach.
Option 2: Create a partial mirror of the Debian archive
Download a DebianInstaller network install cd (netinst.iso) from here http://www.debian.org/CD/netinst/
Install Debian on a prototype system (Optional)
apt-get packages (or you may use Aptitude if you prefer) -> hint: you don't have to install, just download to the apt cache, as long apt-move works.
AptMove to a directory of your choice (if you are using virtualbox as your prototype system, do not use a shared folder as apt-move mirror directory, vboxsf sometimes wrongly mistakes 'rw' file system as 'read-only').
Create a pool directory on the filesystem where you will build your new cd.
- Copy the pool directory from network install cd to the directory you just created.
Copy from the directory to which you sent the files using apt-move to the pool directory (you could just AptMove to the pool directory).
Get installer-i386 from a debian mirror which is from the same release of DebianInstaller as your network install cd (unless you also build the installer and associated packages).
Get overrides.. files from /debian/indices'>http:///debian/indices
- Place in your debian-dir (i.e. the same directory as the pool directory you created above).
gunzip the overrides in the indices directory (you should probably keep the original gzipped versions too)
- Generate packages files.
generate DebianInstaller packages files:
DebianInstaller lives in /dists//main/debian-installer/binary-i386, therefore
create the appropriate subdirectories (e.g. mkdir -p debian/dists/sarge/main/debian-installer/binary-i386).
in a directory for your scripts and configuration files for this project create an apt.conf such as the one at DebianCustomCD/PoolAptConf
create a file named yourcdname-di.conf (or anything else, just substitute your filename as appropriate), such as the one at DebianCustomCD/PoolDebianInstallerPackagesGzConf, creating the directories described therein
execute the command apt-ftparchive -c apt.conf generate yourcdname-di.conf
- repeat for binary-i386:
create another file named yourcdname.conf (such as the one at DebianCustomCD/PoolPackagesGzConf)
execute the command apt-ftparchive -c apt.conf generate yourcdname.conf
Create the actual CD set
Note that you must have a mirror of the debian archive which is usable by ?AptGet and which has the DebianInstaller binaries.
- Create the list of packages you want on the cd (probably just a list of files in your pool dir).
- Assuming you have debian-cd installed, follow the directions in /usr/share/debian-cd.
- If you find you are missing dependencies, download the packages into your pool dir to correct that, regenerate your packages files, and start the debian-cd instructions over again (you may need to exit the shell you started the procedure in because debian-cd alters the environment while it builds the cd [set]).
- Assuming successful completion of the CD building procedure, burn your CD and test.
Detailed Instructions
NOTE Using a full mirror, or a mostly full mirror is best practice. You should only use a partial mirror if you absolutely must (e.g. due to disk constraints) and realize that it is unsupported.
Option 1 (Preferred): Use debmirror
Frans Pop has created a wrapper script for this which is available in Debian repositories. A README explains how to use it. This is the preferred approach if you have a high bandwidth connection and 30-40 GB of hard drive space to spare.
Option 2: Create a partial mirror of the Debian archive for Apt (optional)
1. Getting Your Packages, Option 1
Pro: Will automatically resolve and download dependencies
Con: Only works for packages and dependencies not already installed
The following will get you a system with no other packages installed, which can make figuring out what packages to include in your pool directory easier. (If you use apt-get to download the packages you want on your CD you will find that the dependencies for the packages will only also be downloaded if they are not already installed. If you are using another method figure out the list of packages to download then you don't need to worry about this).
Download a DebianInstaller network install CD (netinst.iso) from [WWW] http://www.debian.org/CD/netinst/.
- Use this install cd and install a base system on some computer.
Copy the network install cd to the filesystem where you'll be doing your work (e.g. /home/debian).
Use Aptitude or ?AptGet to download the packages you want on the system and CD.
Install AptMove (e.g. apt-get install apt-move)
Modify apt-move.conf to use your pool directory as its local mirror (LOCALDIR)
AptMove your other packages to your pool directory (e.g. /home/debian/pool) by typing: apt-move update
Use Aptitude or ?AptGet to download the packages you want on the system and cd.
Get AptMove (e.g. apt-get install apt-move)
Modify apt-move.conf to use a temporary directory as its local mirror (LOCALDIR)
AptMove your other packages to a temporary directory (e.g. /home/debian/tmp) by typing: apt-move update
Use a script such as the one at DebianCustomCD/MovePoolScript to copy packages from the temporary directory to your pool directory (e.g. /home/debian/pool). This is my preferred mode of operation because I have more control over what happens to what apt-move calls the 'mirror' (the pool directory), especially when building cd's for testing or unstable, which change quickly.
Instead of copying the network install cd first, copy your Apt cache to your desired pool directory first (as above), then use the above script to copy from the network install pool directory to your pool directory.
Notes on the use of AptMoveYou will need to change apt-move.conf to point to your mirror. See AptMove for details (or man apt-move).
1. Getting Your Packages, Option 2
Pro: Works for all packages
Con: You have to figure out the dependencies yourself
- Figure out what packages you'll need
Download them individually (if you make a list and use wget on the list, it wouldn't be as painful) into the pool directory in the filesystem where you'll be doing your work (e.g. /home/debian/pool).
- Don't forget any dependencies (by hand! ugh!).
1. Getting Your Packages, Option 3
Pro: Works for all packages
Con: You have to learn Germinate and download a script
Use Germinate (available in Etch) to generate a list of packages and their dependencies based on an initial 'seed' (list of packages).
Use the perl script at DebianCustomCD/CustomDownload
For more information on generating the list of packages using germinate look at the Germinate page in this wiki. Dash 4 6 0 download free.
2. Get DebianInstaller Binaries
Debian Download Page
The DebianInstaller binaries consist of files in and directory called installer-i386 and special packages in the Debian archive known as udebs (because they end with .udeb, as in micro-deb, unlike regular packages which end in .deb)
Make sure you get the udebs that correspond with the version of the DebianInstaller you downloaded to/from the installer-i386 directory. Using the Germinate method above and immediately downloading installer-i386 is one method while using a stable distribution and copying the udebs from the install cd, and downloading the appropriate installer-i386 is another. There are others.
DebianInstaller, Option 1Download installer-i386 from a Debian mirror (e.g. ftp://ftp.debian.org/debian/dists/sarge/main/current)
- You should have the correct udebs in your tree if you have downloaded the installer-i386 from the same distribution as your network install cd, or you downloaded installer-i386 from the same distribution (and immediately before or after) downloading the
packages (including udebs) using Germinate
Note: you can get the DebianInstaller files using http mirrors by using lftp client:
DebianInstaller, Option 2Debian Iso Image Download
The really isn't recommended but may be necessary in some cases
Build DebianInstaller (which also downloads udebs). See DebianInstaller/Build.
- Copy udebs to your pool directory from debian-installer/installer/build/apt.udeb, using something like the
script at DebianCustomCD/MoveInstallerUdebs
3. Make Mirror Recognizable to Apt
Debian 10 Download
Download files need by apt-ftparchiveDownload /debian/indices/overrides..*.gz for your distro (e.g. for sarge, /debian/indices/overrides.sarge.*.gz) into the directory indices which is in the same root directory as your pool (mirror) directory (e.g. /debian/pool, so /debian/indices).
- Gunzip the overrides, keeping the compressed files.
4. Generate Package lists and Release files for your 'distribution'
generate DebianInstaller packages files: Plex server download windows.
DebianInstaller lives in /dists//main/debian-installer/binary-i386
- so create the appropriate subdirectories:
in a directory (e.g. custom-cd-scripts) for your scripts and config files for this create an apt.conf such as the one at DebianCustomCD/PoolAptConf
How do u take a screenshot. create a file named yourcdname-di.conf (or anything else, just substitute your filename as appropriate), such as the one at DebianCustomCD/PoolDebianInstallerPackagesGzConf, creating the directories described therein
ArchiveDir is the parent directory of your pool and dists subdirectories
OverrideDir is the directory which contains your overrides
CacheDir is your temporary (cache) directory.
Under TreeDefault, Directory indicates the location of your pool (archive) directory
The path in quotes after BinDirectory (and before the curly brace), is the location, relative to ArchiveDir of the binary packages (well actually the alphabetic directories, which have the package directories under them).
Under BinDirectory, Packages is the full pathname of the Packages (without .gz even if you are creating compressed files) file you are creating (in this case the debian-installer Packages.gz).
Skyrim special edition download torrent. execute the command in the directory containing the pool and dists directories
repeat for the binary-i386 directories (under main, contrib, non-free):
create a file named yourcdname.conf such as the one at DebianCustomCD/PoolPackagesGzConf Jump desktop 8 2 17 inch.
- execute the command
Generate Release file:
execute the following command in the directory containing the pool and dists directories:
- Sign the release file (if you don't have a GPG key use: gpg --gen-key):
Create the ?InRelease file:
Download Debian Image
Create the actual CD set
Note that you must have a mirror of the debian archive which is usable by ?AptGet and which has the DebianInstaller binaries.
Create List Of Files To Include On CD
- You can do this by hand, or if you just want to include the latest
versions of everything in your mirror (pool) directory, you can use something like the script at DebianCustomCD/ListPackagesInMirror
- Alternatively combine the approaches and remove packages you don't
- want. Note that dependencies are resolved for any debs (but not udebs), so don't be afraid to removing the lib packages (that way only what you actually need, or manually want to include, are added to the cd), except for lib*-udeb* which should be left so the installer works correctly.
Install and Configure debian-cd
Download and install the debian-cd package (e.g. apt-get install debian-cd)
cd /usr/share/debian-cd and edit CONF.sh
- Note that INSTALLER_CD is set to 1. This includes tasks/debian-installer+kernel, and some other 'magic'. Just make sure the list of packages you produced as instructed above has all the kernel and debian-installer packages, and that tasks/debian-installer+kernel doesn't list any outdated packages.
Also note that the directories must all be on the same filesystem (except those under /usr/share/debian-cd)
The Remainder of the debian-cd Procedure
This assumes you have both binaries and sources. If you want binary only read the README for debian-cd.
NOTE Frans Pop has developed a relatively easy to use wrapper script for use with debian-cd that works with the current version of debian-cd. It was the mybuild.sh script previously available in available from alioth and has been included in debian-cd itself (starting with version 3.0.5). This script has been further improved and is renamed to easy-build.sh. README.easy-build file explains how to use it.
WARNINGThe following is very out-of-date and will not work with recent versions of debian-cd (3.0.X onwards). I hope to find time to fix it, but can't promise anything. -- SteveMcIntyre
Start a new shell (e.g.bash)
Source CONF.sh, e.g. by typing:
make distclean
make mirrorcheck-binary
make mirrorcheck-source Can you buy microsoft word on its own.
If there are any missing dependencies, download them into your pool directory, regenerate your packages file, and start the debian-cd part of this procedure over again.
make status
This should never fail. If it does you're best determining what went wrong, but if you insist you can try make correctstatus
make list TASK=tasks/customcd
make bootable
- Makes the binary cd(s?) bootable.
make md5list
- Create the md5 checksums so that the cd can be verified.
make images
- Actually makes the cd
make imagesums
- the md5 checksum for the actual cd images
- Burn it/them.
CategoryDebianInstallerCategoryObsolete