4. Downloading Your First Image (In 5 Easy Steps)We'll assume that you're starting from scratch and don't have any Debian ISOs on hand. Once you burn your set of ISOs, you can use jigdo-lite later to update them. We'll cover updating your ISOs in the next section. 4.1. Install JigdoFirst install the jigdo-file package:
Jigdo is under aggressive development. Bug fixes and enhancements are constant, so if you're using stable or testing, download jigdo-file from unstable at http://packages.debian.org/unstable/utils/jigdo-file.html. As of 08 Feb 2003 it's at >version 0.6.9. This is the version used for the examples of this HOWTO. Note to Woody users: The version of jigdo-lite which comes with Woody (rev 1) is not capable of downloading Sarge or Sid. See Section 6.12. A bugfixed version of jigdo 0.6.5 was submitted for the future release of r2. 4.2. Download The .template And .jigdo FilesFor each ISO image you want to download, you'll need both the .jigdo and .template file for that image. Both files follow the same naming convention:
where distro is the name of the distro (like "sarge"), arch is the architecture (like "i386") and n is the disk number (like "1"). For example, sarge has 8 images, so you need to download 8 .jigdo files and 8 .template files. They can be downloaded from http://www.debian.org/CD/jigdo-cd/. The first .jigdo and .template file are named sarge-i386-1.jigdo and sarge-i386-1.template respectively. 4.3. Run jigdo-liteRun jigdo-lite and give it the .jigdo file of the image you want to download. Using Woody as an example:
If you suspended jigdo-lite with cntrl-z (don't do this; I'll tell you what you'd see) and looked at the output of ls, you'd find a new file in the directory named sarge-i386-1.jigdo.unpacked. It turns out that .jigdo files are gzip'ed. This file is simply a gunzip'ed version of the .jigdo file. Right now, jigdo-lite is telling us that if we have an outdated version of first CD of sarge, we should give the pathname to the CD. This is how you update your ISO images (or complete your incomplete downloads). Since we're assuming that you're starting from scratch and have no Debian ISOs yet, we have nothing to scan. We'll cover this in Section 5, so just press ENTER. 4.4. Specify A MirrorYou'll see:
jigdo-lite is smart enough to use the mirror that you use for your Debian updates (you may have noticed that jigdo-lite was peeking at /etc/apt/sources.list in the last screen capture) by pulling it from /etc/apt/sources.list. If you wanted to use a different mirror, you would specify a different mirror here by following the instructions. If this is the mirror you want to use, press ENTER. Jigdo-lite will then write a ~/.jigdo-lite file in your home directory. Next, if the .jigdo file you're using references a package which needs to be downloaded from a Non-US server, jigdo-lite will prompt you for a Debian Non-US mirror. The message displayed (and your response) will be very similar to the mirror dialog in the previous paragraph (for the non-non-US mirror. (-: ).
Jigdo-lite will write your choice to ~/.jigdo-lite. However, if the image you're about to download doesn't contain Non-US software you won't see this dialog. If you want to change the default mirrors you use with jigdo at any time in the future, you can modify these two lines:
in ~/.jigdo-lite. 4.5. Downloading Of The ISOAfter you specify the mirror(s), jigdo-lite will begin downloading files to assemble the ISO image:
There'll be a lot of messages flying across your screen; if this is confusing to you, see Section 6.13. While jigdo-lite is downloading the packages, switch to another console (or open another xterm) and do an ls in the directory you're running jigdo-lite in. Now there should be 6 files in the directory:
The sarge-i386-1.iso.tmpdir/ directory contains all the Debian packages that jigdo downloads. Every so often, the directory gets flushed and the files get written to sarge-i386-1.iso.tmp, which is an temporarily incomplete version of the ISO image you want. Note that sarge-i386-1.iso.tmp won't appear until the first time sarge-i386-1.iso.tmpdir/ gets flushed. jigdo-file-cache.db is a Berekeley DB file containing md5sums of any files read in when you specify a directory at the Files to scan: prompt. It's described in Section 7.3. At this point, go play some Quake III because this will take some time (you may want to play on a different machine because jigdo is very disk intensive when it flushes files to the .iso.tmp file). At some point, the download will finish and you'll be staring at:
Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |