Home > Operation and Maintenance > Linux Operation and Maintenance > Linux system cannot be started after installation

Linux system cannot be started after installation

王林
Release: 2019-12-11 17:33:13
Original
4714 people have browsed it

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
Copy after login

or

sudo fdisk -l
Copy after login

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
Copy after login

3. Install grub

#安装grub
sudo grub-install --boot-directory=/mnt/ubuntu/boot /dev/sda
Copy after login

4. Restart

sudo reboot
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template