Saturday, September 17, 2016

FreeBSD: Downloading iso (Unified Extensible Firmware Interface, Bootonly) & Finding the Checksum (SHA256)

Command (Download):

$ wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3//FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso


Result:

--2016-09-17 12:02:19--  ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3//FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso
           => ‘FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso’
Resolving ftp.freebsd.org... 2610:1c1:1:606c::15:0, 96.47.72.72
Connecting to ftp.freebsd.org|2610:1c1:1:606c::15:0|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/ ... done.
==> SIZE FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso ... 247324672
==> EPSV ... done.    ==> RETR FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso ... done.
Length: 247324672 (236M) (unauthoritative)

FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso                                               100%[========================================================================================================================================================================================================================================>] 235.87M   483KB/s    in 11m 5s

2016-09-17 12:13:27 (363 KB/s) - ‘FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso’ saved [247324672]


Command (Finding the checksum):

$ curl ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3//CHECKSUM.SHA256-FreeBSD-10.3-RELEASE-amd64 | grep 'uefi-bootonly.iso)'


Result:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2392  100  2392    0     0    665      0  0:00:03  0:00:03 --:--:--   665
SHA256 (FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso) = d9f1d52639821bbd818844f1899a5cf2a5601143ca76c095158405bf14719ebb