How to download Debian GNU/Linux installation CD/DVDs with Jigdo
From NewbieDOC
- Chris Lale
- chrislale AT users DOT berlios DOT de
Go to NewbieDOC index
Revision History
Version 1.0 | 17th February 2007 | Revised by Chris Lale | ||||||||||
Initial release | ||||||||||||
| ||||||||||||
Version 1.1 | 25th May 2007 | Revised by Chris Lale | ||||||||||
Updated Jigdo file URLs for Etch (Stable) and added a section about Network Install. | ||||||||||||
| ||||||||||||
Version 1.2 | 22nd November 2007 | Revised by Chris Lale | ||||||||||
Modified for inclusion in the "newbiedoc" package. | ||||||||||||
| ||||||||||||
Version 1.3 | 25th September 2009 | Revised by Chris Lale | ||||||||||
Updated for Debian Squeeze. | ||||||||||||
This article describes how to download CD and DVD images of the Debian installer. The images can be burned to disc to make copies of the official installation CDs/DVDs.
1 Collect information from the Debian "Download with Jigdo" webpageVisit debian.org to find the URL for the disc images. http://www.debian.org/CD/jigdo-cd/ You probably want the official images for the Stable release. You can find these at: http://www.debian.org/CD/http-ftp/.html#stable For example, the 32-bit Intel PC (i386) images for the Stable release 5.0.3 ("Lenny"), were at: http://cdimage.debian.org/debian-cd/5.0.3/i386/jigdo-cd/ http://cdimage.debian.org/debian-cd/5.0.3/i386/jigdo-dvd/ http://cdimage.debian.org/debian-cd/5.0.3/i386/jigdo-bd/ for CD, DVD and blu-ray respectively. You will need at least the first disc of any set in order to be able to install Debian. The download of each disc image is controlled by a ".jigdo" file. Make a note of the URL of each ".jigdo" file you need. In the example above, the ".jigdo" file for the first CD disc image of Stable is (all on one line): http://cdimage.debian.org/debian-cd/5.0.3/i386/ jigdo-cd/debian-503-i386-CD-1.jigdo 2 Install Jigdo (the Jigsaw Download software)If Debian's CDs and DVDs were distributed as full .iso images, they would take up hundreds of GigaBytes on each of the mirror servers. Nobody is prepared to mirror such a huge amount of data! Jigdo (Jigsaw Download) makes it possible to distribute very large files over the internet. It does not need the full CD/DVD images be stored on the servers. Instead, it can download the individual files from a normal Debian mirror and only assemble the image on the user's machine. Jigdo is available for Linux, Windows and MacOS, amongst others, from http://atterer.net/jigdo/. 2.1 Install Jigdo in DebianIf you are already running Debian, install the package "jigdo-file" from a terminal as user root. # aptitude install jigdo-file 2.2 Install Jigdo in another flavour of LinuxDownload jigdo-lite for Linux from http://atterer.net/jigdo/ and extract it to a suitable directory eg ~/jigdo. 2.3 Install Jigdo in WindowsDownload jigdo-lite for Windows from http://atterer.net/jigdo/ and unzip it to a suitable directory eg C:\jigdo. 3 Run jigdo-lite3.1 Run jigdo-lite in DebianCreate a directory to store the download files eg ~/jigdo, and change directory to it. Run jigdo-lite. $ mkdir ~/jigdo $ cd ~/jigdo $ jigdo-lite 3.2 Run jigdo-lite in another flavour of LinuxChange directory to the folder containing the executable "jigdo-file" and the shell script "jigdo-lite" eg ~/jigdo. The downloaded files will also be stored here. Run jigdo-lite. $ cd ~/jigdo $ ./jigdo-lite 3.3 Run jigdo-lite in WindowsChange directory to the folder containing the executable "jigdo-lite.bat". The downloaded files will also be stored here. Execute jigdo-lite.bat. 4 Download a disc image with jigdo-lite4.1 Initial informationJigdo-lite runs in text mode.The first text to appear on the screen is the copyright notice. Jigsaw Download "lite" Copyright (C) 2001-2005 | jigdo@ Richard Atterer | atterer.net 4.2 URL of the ".jigdo" fileAfter a brief explanation, jigdo asks for the URL of the ".jigdo" file on the Debian website To start a new download, enter URL of .jigdo file. Enter the URL by typing it (in a continuous line) and pressing the "Enter" key. jigdo: http://http://cdimage.debian.org/debian-cd/5.0.3/i386/ jigdo-cd/debian-503-i386-CD-1.jigdo 4.3 Download the ".jigdo fileJigdo downloads the "jigdo" file. Downloading .jigdo file --2009-09-25 18:38:34-- http://cdimage.debian.org/debian-cd/5.0.3/i386/jigdo-cd/debian-503-i386-CD-1.jigdo Resolving cdimage.debian.org... 130.239.18.173, 130.239.18.137, 2001:6b0:e:2018::137, ... Connecting to cdimage.debian.org|130.239.18.173|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 31564 (31K) [text/plain] Saving to: `debian-503-i386-CD-1.jigdo' 100%[======================================>] 31,564 52.6K/s in 0.6s 2009-09-25 18:38:35 (52.6 KB/s) - `debian-503-i386-CD-1.jigdo' saved [31564/31564] Jigdo then gives you some information about the image you are about to download. 4.4 Reuse files from a previous versionJigdo can use files from a previous downloaded version if they are still current and you have them on a CDROM. You probably do not want to do this. Just leave "Files to scan:" empty and press Enter. select the respective entry for scanning: 1: /cdrom Files to scan: 4.5 Choose a Debian mirror serverYou must choose which Debian mirror you are going to get your downloads from. You can try a two-letter country code such as "uk", or a country name like "United Kingdom" if you are not sure. Debian mirror [http://ftp.uk.debian.org/debian/]: uk You will get a list of suitable mirrors with entries like these: http://ftp.uk.debian.org/debian/ # GB Great Britain (London) http://mirror.ox.ac.uk/debian/ # GB Great Britain (Oxford) Enter your chosen mirror. Debian mirror []: http://ftp.uk.debian.org/debian/ 4.6 Download the ".template" fileJigdo will contact the mirror and download the ".template" file. Downloading .template file --2009-09-25 18:43:13-- http://cdimage.debian.org/debian-cd/5.0.3/i386/jigdo-cd/debian-503-i386-CD-1.template Resolving cdimage.debian.org... 130.239.18.173, 2001:6b0:e:2018::173, 2001:6b0:e:2018::137 Connecting to cdimage.debian.org|130.239.18.173|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 28005948 (27M) [text/plain] Saving to: `debian-503-i386-CD-1.template' 3% [> ] 1,055,200 53.6K/s eta 6m 5s 4.7 Download the files needed for the imageJigdo uses the ".template" file to identify all the files it needs to build the CD image. Merging parts from `file:' URIs, if any... Found 0 of the 1097 files required by the template Jigdo then downloads the files and builds the image. Each downloaded file results in a message like this. --19:46:24-- http://ftp.uk.debian.org/debian/pool/main/z/zlib/zlib1g_1.2.3-13_i386.deb => `debian-testing-i386-CD-1.iso.tmpdir/ftp.uk.debian.org/debian/pool/ main/z/zlib/zlib1g_1.2.3-13_i386.deb' Resolving ftp.uk.debian.org... 83.142.228.128 Connecting to ftp.uk.debian.org|83.142.228.128|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 70,528 (69K) [application/x-debian-package] 100%[====================================>] 70,528 61.26K/s 19:46:37 (61.15 KB/s) - `debian-testing-i386-CD-1.iso.tmpdir/ftp.uk.debian.org/debian/pool/ main/z/zlib/zlib1g_1.2.3-13_i386.deb' saved [70528/70528] 4.8 Burn the completed image to CDWhen downloading has finished, jigdo tells you that there is a high chance of success that your image is complete. You can now burn the resulting ".iso" image to CD using the special tools provided with your CD burning software. Do not burn the image file to a CDROM as an ordinary file - the CDROM will not be able to boot the computer if you do. Linux CDROM burning software has special options to burn an ISO image. In "GnomeBaker" or "K3B" choose "Burn CDROM Image" from the "Tools" menu. The procedure with Windows depends on the CDROM burning software you use. In "Nero", select the ISO file, enable the "Finalize CD" option and burn the CD. In "Roxio Easy CD Creator", select the ISO file, choose to "Create CD", make sure the Write Method is set to "Disc-At-Once" and "Close CD". Burn the CD. You can find more details about these, and other CDROM burning software for Windows, at http://iso.snoekonline.com/iso.htm 5 Network InstallThere is also a "network install" CD. This is a small image (180Mb). It is enough to start the installation. Installation continues by downloading the files directly from the internet, so you need to have an internet connection during installation. You must download the complete ISO file rather than use Jigdo. The ISO file for the network install is here: http://www.debian.org/CD/netinst/ Use a tool that supports resuming. Under Unix, you can use aria2, wxDownload Fast or (on the command line) wget -c URL or curl -C - -L -O URL Under Windows, you might want to try Free Download Manager or GetRight. Under Mac OS, have a look at Speed Download. 6 Appendix A: LicenceCopyright (c) 2007-2009 Chris Lale. chrislale AT users DOT berlios DOT de
|