Troubleshooting installation of debian os
作者:互联网
After trying debian on an old workstation, I find there are some pitfalls and tricks:
- It is recommended to install the minimal base system (with no GUI) using the USB installer first. Since installation of GUI is through network and improper configured mirror will dramatically slow down the installation process.
- Each operating systems need to be installed into a primary partition and set the bootable flag. Do not erase (format) existing partition containing data.
- It may not find the grub on your newly installed system. In such case, you need to enter rescue mode by booting from USB and chroot to the root file system of your installation.
- After entering the console, the network may not work. Check the network device name by
ls /sys/class/net
and set it properly in/etc/networking/interface
. See Network Configuration for detail. After modifyinginterface
bynano
, restarting the servicesystemctl restart networking
. - Once the external network is ok, please modify
/etc/apt/sources.list
to fast mirror. For example, adddeb http://mirror.tuna.tsinghua.edu.cn buster main
and runapt update
to update the package meta information. Then you can install softwares as you like. For example, to install the gnome desktop environment. Useapt install gnome
. It would download around 800 MB packages and be patient for this process.
标签:installation,network,system,apt,Troubleshooting,install,mirror,os 来源: https://www.cnblogs.com/zhaofeng-shu33/p/12232011.html