Home > Article > Operation and Maintenance > Linux system cannot be started after installation
1. Check the disk information and confirm that the system is installed on that disk
sudo df -lh
or
sudo fdisk -l
Online learning video sharing: linux video Tutorial
2. Mount
sudo mkdir /mnt/ubuntu #建立挂载点 sudo mount /dev/sda2 /mnt/ubuntu #挂载 #如果引导安装在单独磁盘上 挂载引导 sudo mount /dev/sda6 /mnt/ubuntu/boot
3. Install grub
#安装grub sudo grub-install --boot-directory=/mnt/ubuntu/boot /dev/sda
4. Restart
sudo reboot
Recommended related articles and tutorials: linux tutorial
The above is the detailed content of Linux system cannot be started after installation. For more information, please follow other related articles on the PHP Chinese website!