Grub Error Fix After you upgrade ubunto grub may need a fix
Page 1 of 1
Grub Error Fix After you upgrade ubunto grub may need a fix
- Using an Ubuntu / Xubuntu ISO Live enter live mode (I used Ubuntu 20.04 since I had it already downloaded in my computer).
- Once inside, I opened a terminal and ran:
- Code:
# So we can run the next commands as `root`:
sudo su
# To figure which partition had my Xubuntu installation (partition type `Linux`)
# in my case it was `/dev/sda1`, we can use:
fdisk -l
# If you used a logical volume, your volume should be named `/dev/mapper/ubuntu--vg-root` and not `/dev/sdxx`
# Let's mount a few things:
mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
# Now let's try to fix Grub:
grub-install /dev/sda
- Code:
Installation finished. No error reported
[/list]
- Code:
# To change back chroot:
exit
# And now we can umount all:
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt
# Now we can reboot:
reboot
Similar topics
» Setting up grub-customizer on kali linux
» upgrade kernal with upgrade distro apt command
» Fixing Network Share Error: mount error
» Seting youyr own custom Error messages instead of getting generic error messages!
» Upgrade your KDE to the latest and greatest versions (all packages)
» upgrade kernal with upgrade distro apt command
» Fixing Network Share Error: mount error
» Seting youyr own custom Error messages instead of getting generic error messages!
» Upgrade your KDE to the latest and greatest versions (all packages)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|