636361 ランダム
 HOME | DIARY | PROFILE 【フォローする】 【ログイン】

個人的健忘録 from 2009

個人的健忘録 from 2009

【毎日開催】
15記事にいいね!で1ポイント
10秒滞在
いいね! --/--
おめでとうございます!
ミッションを達成しました。
※「ポイントを獲得する」ボタンを押すと広告が表示されます。
x

PR

Archives

2024.06
2024.05
2024.04
2024.03
2024.02

Category

Keyword Search

▼キーワード検索

Calendar

Comments

effelpist@ kilovermek.es effelpist <a href="https://kilovermek.es/…
MEM@ 今更ながらの4Kアライメント問題 参考サイト ● (HDD)WD WD20EARSのベンチ…
4Kib@ 4KiBセクタ について The resulting partition is not properly…
suzy@ Re:KnoppixでWindowsPCのファイル救出 その2(01/26) 初めまして。 私も今日この記事を見て、Ub…
squ@ 一括アカウント /etc/skel Linux ユーザーを一括登録&一括パスワー…
2010.05.20
XML
カテゴリ:カテゴリ未分類
Jigdoでダウンロード(下準備編)の続きです。

このページでは旧版等のisoファイルを再利用した方法でのダウンロードを行います。

  down4_jigdo.png



Jigdoでダウンロード iso再利用編

再利用するisoファイル(または再利用するCD)のマウント

まず、Jigdoを起動させる前に再利用する予定のisoをマウントしておきます。

もし、isoファイルではなく、CD(DVD)メディアのものを使うなら、光学ドライブにそのCDを突っ込んで、
$ mount /cdrom
と入力します。

isoファイルを使うなら、root権限になって、適当なマウントポイントにisoファイルをマウントします。
(例: debian-XXXXX.iso を /mnt にマウント)
# mount -o loop debian-XXXXX.iso /mnt


今回はCDを利用したケースを想定して話を進めます。



Jigdo起動

$ cd ~/Desktop/xxx・・・(「xxx」ディレクトリに移動)
$ jigdo-lite debian-testing-i386-kde-CD-1.jigdo
Jigsaw Download "lite"
Copyright (C) 2001-2005 | jigdo@
Richard Atterer | atterer.net
Loading settings from `/home/gozilla2/.jigdo-lite'

Images offered by `./debian-testing-i386-kde-CD-1.jigdo':
1: 'Debian GNU/Linux testing "Squeeze" - Official Snapshot i386 kde-CD
  ・
  ・
  ・
You can also enter a single digit from the list below to
select the respective entry for scanning:
1: q
Files to scan:

ここはデフォルト編と変わらないのですが、一応説明を載せておきます。

オレンジ色の文字の部分は自分で入力する部分です。
まずcdコマンドで作業用ディレクトリに移動します。
次に jigdo-lite を起動、引数にはダウンロードしてきた「.jigdoファイル」を指定します。
(つまり、 「jigdo-lite jigdoファイル名」と入力。)

コマンドを入力したあとは文字がザザーと流れて「Files to scan:」という行で止まると思います。



再利用するisoファイルのマウント先の指定

「Files to scan:」の行にて、先ほどマウントしたisoのマウントポイント先を指定します。
つまり、CD(DVD)利用者なら「/cdrom」
isoイメージを「/mnt」にマウントしたなら、「/mnt」です。

isoファイルそのものを指定しても意味がありません。
(isoファイルそのものを1つのパッケージとしてスキャンしてしまうため)

Files to scan:/cdrom

Not downloading .template file - `debian-testing-i386-kde-CD-1.template' already present
Found 874 of the 1038 files required by the template
Copied input files to temporary file `debian-testing-i386-kde-CD-1.iso.tmp' - repeat command and supply more files to continue

-----------------------------------------------------------------
If you already have a previous version of the CD you are
downloading, jigdo can re-use files on the old CD that are also
present in the new image, and you do not need to download them
again. Mount the old CD ROM and enter the path it is mounted under
(e.g. `/mnt/cdrom').
Alternatively, just press enter if you want to start downloading
the remaining files.

You can also enter a single digit from the list below to
select the respective entry for scanning:
1: /cdrom
Files to scan:

「Found 874 of the 1038 files required by the template」は、必要とされる1038個のファイルのうち、再利用できるファイルが874個見つかったという意味です。
この時点で874個のファイルが確保されたことになります。

もし、他のCDからも追加でスキャンしたい場合は、CDを交換して(マウントのし直しもして)引き続き「/cdrom」と入力してください。(「/cdrom」の代わりに「1」と入力しても良いです)

他のCDを使うつもりが無ければ、そのまま「Enter」キーを打ってください。

後はデフォルト編と変わりません。
ここから先はミラーサイトの指定になります。


ミラーサイト指定 & ダウンロード開始
Debian mirror [cdrom:[Debian]:http://ftp.jp.debian.org/debian/

Debianのミラーサイトの一覧は
 http://www.jp.debian.org/mirror/list
にあります。
他のデストリビューションの場合はurlが変わると思います。

ミラーサイトのurlを入力した後に「Enter」キーを打てば、残りのファイルのダウンロードが開始されます。


  ・
  ・
  ・
Finished!
The fact that you got this far is a strong indication that `debian-testing-i386-kde-CD-1.iso'
was generated correctly. I will perform an additional, final check,
which you can interrupt safely with Ctrl-C if you do not want to wait.

OK: Checksums match, image is good!

以上で終了です。
お疲れさまでした。

ちなみに「.template」と「.jigdo」ファイルは自分で生成することも可能です。
詳しくは

Debian Jigdo mini-HOWTO : jigdo とは?
 http://www.linux.or.jp/JF/JFdocs/Debian-Jigdo/whyjigdo.html#WHATISJIGDO
やjigdo-fileのマニュアルを参考になさると良いと思います。


まとめ: jigdo によるダウンロード手順 (iso再利用編)
(赤の行はiso再利用時のみ)

0. isoファイルのマウント
   5.の手前であれば、いつマウントしてもよい

1. 作業用ディレクトリの作成
2. 作業用ディレクトリに「.jigdo」「.template」ファイルを保存
3. コンソールで「作業用ディレクトリ」に移動
4. jigdo-lite を起動
5. 再利用するisoファイルのマウントポイントを指定
6. jigdo-lite: ミラーサーバの指定
7. isoファイルの完成!



Jigdo関連サイト
[公式系]
 jigdo をつかって Debian CD イメージをダウンロードする
  http://www.jp.debian.org/CD/jigdo-cd/

 Debian Jigdo mini-HOWTO
  http://www.linux.or.jp/JF/JFdocs/Debian-Jigdo/index.html

[Windows系]
 サーバ構築ノート debian ダウンロード
  http://homepage3.nifty.com/gootaro/section002.html

[Fedora系]
 つつみくんのLinux記その75(jigdoでfedora7ダウンロード)
  http://plaza.rakuten.co.jp/tutumikun/diary/200712300000/
 最新版のFedora 7インストールDVDをダウンロードするには
  http://www.atmarkit.co.jp/flinux/rensai/linuxtips/a056jigdo.html
 Fedora Unity Spins
  http://spins.fedoraunity.org/spins



関連
K3Bでisoを焼く(SystemRescueCDの作成)
Linuxの「インストールCD/LiveCD」の作成手順 WindowsXP編
意外にすごいぞ Jigdo






AX





お気に入りの記事を「いいね!」で応援しよう

Last updated  2010.06.29 19:04:17
コメント(0) | コメントを書く



© Rakuten Group, Inc.