RobH
2020-11-29 12:08:14 UTC
I upgraded my ubuntu 18,04 system to 20.04 and selected the wrong drive
to install grub , during the process...doh!
The reason why was because when it came to installing grub, 2 drives
were listed, 1 being an ssd. Now I only have one spinning disk drive ,
so I selected the other.On reboot I get the grub rescue prompt.
I have tried fixing grub with this:
ls (hd0,msdos1)
(hd0,msdos1): file system is ext2
set boot=(hd0,msdos1)
set prefix=(hd0.msdos1)/boot/grub
insmod normal
returns:
error: symbol 'grub_file_filters' not found.
I have a 20.4 live usb, and tried:
sudo fdisk-l
sudo grub-install /dev/sda1
which returned:
grub-install; error: failed to get canonical path of '/cow'.
Is there any other way of fixing my mistake!!
Thanks
to install grub , during the process...doh!
The reason why was because when it came to installing grub, 2 drives
were listed, 1 being an ssd. Now I only have one spinning disk drive ,
so I selected the other.On reboot I get the grub rescue prompt.
I have tried fixing grub with this:
ls (hd0,msdos1)
(hd0,msdos1): file system is ext2
set boot=(hd0,msdos1)
set prefix=(hd0.msdos1)/boot/grub
insmod normal
returns:
error: symbol 'grub_file_filters' not found.
I have a 20.4 live usb, and tried:
sudo fdisk-l
sudo grub-install /dev/sda1
which returned:
grub-install; error: failed to get canonical path of '/cow'.
Is there any other way of fixing my mistake!!
Thanks