background image

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows

1. Open the Internet Explorer web browser and go to 

http://gpg4win.org/

 

 get-gpg4win.html

.

2. When the web page opens, click on “$0” for the donation amount and then click on 

“Download.”.

Note: The version number in the download link for GPG4Win may be higher than what is 
displayed in this guide. This is not important.

3. When prompted in the bottom of your web browser, click “Save.”

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

4. When the download completes, click “Run.”

5. When asked if you wish to allow the program to make changes, click “yes.”

6. Choose the language you prefer and click “OK.”

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

7. Click the “next” button.

8. Click the next button again.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

9. Click the next button again.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

10. Click the next button again.

11. Click the next button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

12.  Click the install button.

13. When progress bar completes, click next button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

14. Unclick “show the read me file” and click finish.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

15. Next, use Internet Explorer to go to the Debian archive mirror for Debian Wheezy. 

If you have a 32 bit CPU in your computer, type 
https://cdimage.debian.org/mirror/cdimage/archive/8.7.0/i386/iso-cd” into the location bar 
and press enter or click the arrow button. 

If you have a 64 bit CPU in your computer type 
https://cdimage.debian.org/mirror/cdimage/archive/8.7.0/amd64/iso-cd” into the location 
bar and press enter or click the arrow button.  

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

16. Next, scroll down the web page until you reach the links. You are going to download the 

“netinstall” version of the Debian installer.

If you have a 32 bit CPU in your computer, right-click on the file entitled “debian-7.11.0-i386-
netinst.iso
” and choose “save target as” in the context menu that appears. 

If you have a 64 bit CPU in your computer, right-click on the file entitled “debian-7.11.0-
amd64-netinst.iso
” and choose “save target as” in the context menu that appears.
 

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

17. In the next window that appears, click on the “Downloads” folder on the left side of the window

and then click the “Save” button.

18. Now, download the file that contains that hashes that will be used to verify the debian ISO 

image you just downloaded. Right-click on the file entitled “SHA256SUMS” and choose “Save
target as” in the context menu that appears.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

19. In the next window that appears, click on the “Downloads” folder on the left side of the window

and then click the “Save” button. 

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

20. Next, download the file that will be used by GPG to verify the authenticity of the SHA256SUM

file. Right-click on the file entitled “SHA256SUMS.sign” and choose “Save target as” in the 
context menu that appears.

21. In the next window that appears, click on the “Downloads” folder on the left side of the window

and then click the “Save” button. 

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image
Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

22. If you are using Windows 8 or above, click on your Windows start key in the lower left corner 

of your Desktop..

The, type “cmd” and click on “Command Prompt.”

If you are using a version of Windows that is older than Windows 8, press the Windows Key 
(the one with the Microsoft logo) + R to open a “Run” dialogue window.  Then type “cmd” in 
the field next to “Open” and press enter or click “OK.”

23. Change to your Downloads folder.  Type “cd Downloads” and press enter.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

24. Now, you need to import the GPG public key to use in the verification process. Type 

gpg --keyserver x-hkp://pool.sks-keyservers.net --recv-keys 
DF9B9C49EAA9298432589D76DA87E80D6294BE9B
”.

If you have successfully imported the Debian GPG key, your screen will look similar to the 
screen shot below. If you receive an error, make sure you entered the long string of characters 
after “--recv-keys” above correctly and repeat the command. 

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

25. Next, verify the fingerprint of the Debian CD signing key. Type 

gpg --fingerprint DF9B9C49EAA9298432589D76DA87E80D6294BE9B”. 

If you imported the correct GPG key, your screen should look like the one below.

26. Now, verify that checksum file you downloaded.  Type “gpg -v SHA256SUMS.sign” and press 

enter.

The output should inform you that the file is verified by a “Good signature from “Debian CD 
signing ket <debian-cd@lists.debian.org>”.”   However, if it says “BAD signature,” one of the 
files may have been been tampered with or is corrupted.
 If so, download SHA256SUMS 
and SHA256SUMS.sign from debian.org again as described in steps 17-21 and restart from this 
step.

Note: You can ignore the warning that the “key is not certified with a trusted signature.”  This is
not relevant for this process.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

27. Next, type “type SHA256SUMS |findstr netinst > sha256.sum” and press enter.

Note: The symbol before “findstr” in the line to type above is the “pipe” character and looks 
different than it will on your screen due to the font used. On your keyboard, it often looks like a 
vertical line. It is generally accessed by holding the SHIFT key and typing “\” which is often 
located above the “enter” key. It looks as it should in the screenshot below.

28. Now, verify your Debian ISO image.  Type 

'”C:\Program Files\GNU\GnuPG\sha256sum.exe” -c sha256.sum' and press enter.

Note: You need to type those double quotation marks in this instance.

ADDITIONAL NOTE: This guide uses Windows 8.1. If you are using an older version of 
Windows and the above command did not work, you may need to type 
'”C:\Program Files (x86)\GNU\GnuPG\sha256sum.exe” -c sha256.sum' and press enter.

You should receive a message informing you that the Debian ISO image you downloaded is 
“OK.”  

If you receive a message that the verification “FAILED,” your Debian ISO image may have 
been tampered with or is corrupted.  
Re-download the Debian ISO image as described in step
16 and come back to this step.

NOTE: If you intend to use a CD/DVD as your install disk, burn the Debian ISO image to the 
disk and continue on to Chapter 1D.  The remaining steps only apply if you intend to use a USB
disk as your Debian Install disk.

29. Next, go back to Internet Explorer and go to 

https://sourceforge.net/projects/win32diskimager/files/latest/download

. This will 

download “Win32 Disk Imager,” a program to copy the Debian Installer ISO file to a bootable 
USB disk.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

30. You will be taken to a page where your download will start in a few seconds.  When the 

download dialogue appears, click the “Save” button.

31. When the download has completed, click on the “Run” button to open Win32 Disk Imager.

32. When asked if you want to allow the program to make changes to your computer, click the 

“Yes” button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

33. When the Win32 Disk Imager installation window appears, click the “Next” button to continue.

34. On the next screen, click the radio button next to “I accept the agreement” and then click the 

“Next” button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

35. On the next screen, click the the “Next” button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

36. On the next screen, click the “Next” button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

37. Next, click the check box next to “Create a desktop icon” and click the “Next” button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

38. When the next window appears, click on the “Install” button.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

39. Next, remove the check marks next to “View README.txt” and “Launch Win32DiskImager.”  

Then, click the “Finish” button.

40. Now, plug in the USB disk you wish to use as your Debian install disk and double click on 

the “Win32DiskImager” icon on your desktop to run the program.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

41. When the “User Account Control” window appears, click on the “Yes” button.

42. After the program opens, click on the folder icon pictured below.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

43. Next, when the “Select a disk image” window appears, click on the arrow next to “Disk Images 

(*.img *.IMG)” and select “*.*”.

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

44. Next, click on “Downloads” on the left hand side of the window.  Then, select your Debian 

installer ISO image. Finally, click the “Open” button.

45. Next, make sure the USB disk you wish to use as the Debian install disk is selected under 

“Device” and then click the “Write” button. NOTE: ANY DATA CURRENTLY ON THE 
USB DISK WILL BE ERASED. IF YOU HAVE IMPORTANT DATA ON THE DISK, 
BACK UP THE DATA BEFORE COMPLETING THIS STEP!

Chapter 1A. Manual Download and Verification of Debian on Microsoft Windows
background image

46. When the “Confirm overwrite” window appears, click “Yes” to start the creation of the Debian 

installer disk on your USB drive.

47.  When the process is complete, a “Write Successful” window will appear.  Click the “OK” 

button.  Then restart your computer and 

continue from Chapter 1D.