Download ISO

Debian 12

下載腳本

下載點

可以到「Debian / Live install images」找到下載點。

例如可以找到「https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/」。

下載方式

iso-download.txt

先產生一個檔案「iso-download.txt」,內容如下

https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-xfce.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-mate.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-cinnamon.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-kde.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-gnome.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-lxqt.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-lxde.iso
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.8.0-amd64-standard.iso

iso-download.sh

接著執行下面的指令,就會下載剛剛「iso-download.txt」裡面所列的檔案

wget -c -i iso-download.txt

關於「-c」指的是續傳

關於「-i iso-download.txt」,指的是下載「iso-download.txt」裡面所列的檔案

Boot ISO

簡單「驗證」過「下載完成的ISO檔案」,接下來可以選擇不同的「Boot ISO」方式。

驗證

sha256sum

執行

wget -c https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA256SUMS

sha256sum -c SHA256SUMS

會看到類似如下的內容

debian-live-12.8.0-amd64-cinnamon.iso: OK
debian-live-12.8.0-amd64-gnome.iso: OK
debian-live-12.8.0-amd64-kde.iso: OK
debian-live-12.8.0-amd64-lxde.iso: OK
debian-live-12.8.0-amd64-lxqt.iso: OK
debian-live-12.8.0-amd64-mate.iso: OK
debian-live-12.8.0-amd64-standard.iso: OK
debian-live-12.8.0-amd64-xfce.iso: OK