Fix grub: Difference between revisions
Appearance
Created page with "* Boot from live dvd * use gparted to find boot partition * mount /dev/sdX /mnt * mount –-bind /dev /mnt/dev * mount –-bind /proc /mnt/proc * mount –-bind /sys /mnt/sy..." |
No edit summary |
||
Line 1: | Line 1: | ||
* Boot from live dvd | * Boot from live dvd (graphical desktop is ok) | ||
* use gparted to find boot partition | * use gparted to find boot partition | ||
* mount /dev/sdX /mnt | * mount /dev/sdX /mnt | ||
:::#mount /dev/sda5 /mnt | |||
Revision as of 07:40, 17 August 2015
- Boot from live dvd (graphical desktop is ok)
- use gparted to find boot partition
- mount /dev/sdX /mnt
- mount /dev/sda5 /mnt
- mount –-bind /dev /mnt/dev
- mount –-bind /proc /mnt/proc
- mount –-bind /sys /mnt/sys
- chroot /mnt
- grub2-mkconfig -o /boot/grub2/grub.cfg
- grub2-install /dev/sda
- chtrl-d 'exit'
- reboot