Preparing a computer for handling NFC
Read every single line before you click or type anything. Do not skip steps.
Phase 1: Prepare the USB Drive
- Get a empty USB drive that is at least 4GB.
- Go to the official Debian website and download the NetInst ISO (Network Installer). It should be a file ending in
.iso. - Download a tool called Rufus (if you are on Windows) or BalenaEtcher (if on Mac/Linux).
- Plug the USB into your computer.
- Open Rufus or Etcher. Select your USB drive. Select the Debian
.isofile you just downloaded. - Click Start or Flash. Wait until it is 100% finished. Do not pull the USB out early.
Phase 2: Booting into the Installer
- Shut down the computer completely.
- Turn the computer on and immediately start tapping the boot menu key repeatedly like a maniac. This is usually
F12,F8,F2, orDeldepending on the laptop brand. - A menu will appear. Use the arrow keys to select your USB drive and hit Enter.
- The Debian installer menu will show up. Use the arrow keys to highlight Graphical install and hit Enter.
Phase 3: The Setup Screens (Click exactly this)
- Language: Select English. Click Continue.
- Location: Select your country. Click Continue.
- Keyboard: Select American English. Click Continue.
- Network: It might ask you to connect to Wi-Fi. Pick your network and enter the password.
- Hostname: Type
debian. Click Continue. - Domain name: Leave this COMPLETELY BLANK. Click Continue.
Phase 4: Passwords and Users (Crucial Step)
- Root Password: LEAVE THIS COMPLETELY BLANK. Do not type a single space. Leaving it blank gives your normal user
sudoprivileges automatically. Click Continue. - Full name for the new user: Type
nfc. Click Continue. - Username for your account: Type
nfc. Click Continue. - Choose a password for the new user: Type the password(yes, create a strong password and place here. in this docs, i am using
satyaas example. dont copy paste blindly.). - Re-enter password to verify: Type
satya. Click Continue.
Phase 5: Wiping the Drive (Point of No Return)
- Partitioning method: Select Guided - use entire disk. Click Continue.
- Select disk to partition: Select your main hard drive (it will be the one that is NOT your USB). Click Continue.
- Partitioning scheme: Select All files in one partition. Click Continue.
- Select Finish partitioning and write changes to disk. Click Continue.
- It will ask “Write the changes to disks?”. Select YES. Click Continue. Your old OS is now dead.
Phase 6: Package Manager Setup
- Scan extra installation media? Select NO. Click Continue.
- Use a network mirror? Select YES. Click Continue.
- Pick your country, then select
deb.debian.org. Click Continue. - HTTP proxy: Leave this COMPLETELY BLANK. Click Continue.
- Participate in package usage survey? Select NO. Click Continue.
Phase 7: Software Selection (Do exactly as told)
- You will see a list of software with checkboxes.
- UNCHECK “Debian desktop environment”.
- UNCHECK “GNOME”, “XFCE”, or anything else that might be checked under it.
- ONLY LEAVE CHECKED: “Standard system utilities”.
- Nothing else should be checked. Click Continue. Wait for it to install.
Phase 8: Finishing the Base Install
- Install the GRUB boot loader to your primary drive? Select YES. Click Continue.
- Device for boot loader installation: Do NOT select “Enter device manually”. Select the hard drive listed there (it will look like
/dev/sdaor/dev/nvme0n1). Click Continue. - When it says “Installation complete”, unplug the USB drive from the computer.
- Click Continue to reboot.
Phase 9: Installing the GUI (LightDM)
- The computer will turn on and stop at a completely black screen with white text that says
debian login:. Do not panic. - Type
nfcand hit Enter. - It will ask for
Password:. Typesatya. WARNING: It will not show asterisks (*) or dots while you type. The screen will look like nothing is happening. Just typesatyaand hit Enter. - You are now logged in to the terminal. Type exactly this command and hit Enter:
sudo apt update - It will ask for your password again. Type
satya(again, no dots will show) and hit Enter. Wait for it to finish downloading the lists. - Type exactly this command and hit Enter:
sudo apt install lightdm xfce4 -y - Text will start flying on the screen. Let it run.
- If a screen pops up asking you to choose a “Default display manager”, use the arrow keys to highlight
lightdmand hit Enter. - When the text completely stops and you see the
nfc@debian:~$prompt again, type this and hit Enter:sudo reboot
Phase 10: You are done
The computer will restart. Instead of a black screen, you will now see the LightDM graphical login screen. Type satya to log in. You now have a clean Debian system.
Now, go to https://github.com/s4tyendra/nfc-gatekeeper and follow the instructions in readme to install the drivers and start the reader system.

