Grub Rescue : Repair, Restore Ubuntu | Kali Linux Grub Bootloader using Live CD

Аватар автора
Секреты Творческой Мудрости
Seeing nothing but the grub rescue prompt? Did Windows mess up your Master Boot Record? Using Ubuntu, GRUB 2 got you down? Who needs Live CDs? This video tutorial will show you how you can use an Ubuntu Live USB drive to reinstall GRUB, even when your boot device is inaccessible. GRUB bootloader gets overrided if you install Windows after Ubuntu. I make this video tutorial on how to restore and customize the GRUB loader. Common Problem: You install Windows after you install Ubuntu. That erases the GRUB loader, and instead of being able to switch between Ubuntu and Windows, Windows will boot automatically. Steps: 1) Create a bootable USB Flash Drive of Ubuntu | Kali Linux - Download Ubuntu - Download and win32 DiskImager - Create bootable USB flash drive of Ubuntu | Kali Linux Now select Live CD, Open Terminal & type the following commands : sudo mount /dev/sdaX /mnt {replace X with your drive number on which Ubuntu | Kali Installed} Now bind the directories that grub needs access to to detect other operating systems, like so. sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys Now we jump into that using chroot. sudo chroot /mnt Now install, check, and update grub. This time you only need to add the drive letter (usually a) to replace X, for example: grub-install /dev/sda, grub-install –recheck /dev/sda. grub-install /dev/sdX grub-install --recheck /dev/sdX update-grub...

0/0


0/0

0/0

0/0