Debian setup for my PC
Contents |
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
- read this install guide https://www.debian.org/releases/stable/i386/index.html.ja
- Download ISO and make install media
- 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.
- Reboot PC and press
eon grub page on startup - add
nomodesetnext to thelinux /boot/vmlinuz-4.9.0-3-amd64 root=UUID=XXX ro quiet - Press
Ctrl-xand boot
Install nvidia-driver
After this, I install nvidia-drivers by following this guide https://wiki.debian.org/NvidiaGraphicsDrivers
- open terminal and became root by
su - - Add
contribandnon-freecomponents to/etc/apt/sources.list - run
apt install linux-headers-amd64 nvidia-driver firmware-misc-nonfree nvidia-xconfig - run
nvidia-xconfigto generate X configuration - 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.