0 Members and 1 Guest are viewing this topic.
https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
sudo mount /dev/sdXY /mntsudo mount --bind /dev /mnt/devsudo mount --bind /dev/pts /mnt/dev/ptssudo mount --bind /proc /mnt/procsudo mount --bind /sys /mnt/syssudo chroot /mntgrub-install /dev/sdXgrub-install --recheck /dev/sdXupdate-grub
exitsudo umount /mnt/syssudo umount /mnt/procsudo umount /mnt/dev/ptssudo umount /mnt/devsudo umount /mnt
Question : I kind of thought if you had 2 HDD's each with an OS that the bios would determine which would boot, just like when you have to put the DVD drive first in line for it to boot.Apparently I was wrong?
@firenice03 QuoteYou may wanna try, connecting the disk boot to a LiveUSB, once at the desktop launch terminal and runCode: [Select]sudo update-grubWon't that try to update-grub on the liveusb ? I think you will need to create a chroot environment on sda and then update grub there
You may wanna try, connecting the disk boot to a LiveUSB, once at the desktop launch terminal and runCode: [Select]sudo update-grub
sudo mount /dev/sdxY /mnt
sudo chroot /mnt
sudo update-grub
sudo grub-install /dev/sdxY