Setup Debian for my PC

This article is a memorandum for installing Debian and initial setup to my PC. Because I used Ubuntu for many years, I choose to use Debian on my new PC for a change.

Install Debian

  1. read this install guide https://www.debian.org/releases/stable/i386/index.html.ja
  2. Download ISO and make install media
  3. Insert the media and boot from it, then start install!

Graphical install is a graceful, and only I need is following the navigation and choosing the options.

After finished install, Reboot the PC.

Setup for GPU

Because I use GPU (GTX-1070), initial setup was failed.

fail on grub

When I first turned on my PC, it froze at fb switching to inteldrmfb from efi vga.

To solve this, I edited the grub configure as follows.

  1. Reboot PC and press e on grub page on startup
  2. add nomodeset next to the linux /boot/vmlinuz-4.9.0-3-amd64 root=UUID=XXX ro quiet
  3. Press Ctrl-x and boot

Install nvidia-driver

After this, I install nvidia-drivers by following this guide https://wiki.debian.org/NvidiaGraphicsDrivers

  1. open terminal and became root by su -
  2. Add contrib and non-free components to /etc/apt/sources.list
  3. run apt install linux-headers-amd64 nvidia-driver firmware-misc-nonfree nvidia-xconfig
  4. run nvidia-xconfig to generate X configuration
  5. Reboot!

Better way? : Choose Cinnamon as a desktop environment on Installing

When I re-install Debian again, I use Cinnamon as a default desktop environment. At that time, the fail on grub was not occurred, although nvidia-driver installing was required after boot.

my desktop