You are not logged in.
After installing ASCII I got the message at start of boot:
error: no symbol table
Just so we have it on the forum I list the solution below.
To list the name of your harddrive type the command:
lsblk
Then:
sudo grub-install /dev/sda (if your harddrive is sda)
sudo update-grub
sudo reboot
Offline
You can restore the grub using a live image. Run it and type:
cat /proc/partitions
You will get all the existent partitions sda1, sda2, sdd1,... Create a directory:
mkdir /tmp/mnt
and mount the first partition:
mount /dev/sda1 /tmp/mnt
You can see the content of this partition typing:
ls /tmp/mnt
If it contains the /boot directory you hit the target. In this case, you will be able to restore the grub by the following way:
grub-install --root-directory=/tmp/mnt /dev/sda
Otherwise, umount the partition:
umount /tmp/mnt
and try with another one.
Last edited by aitor (2018-10-11 20:02:37)
If you work systematically, things will come by itself (Lev D. Landau)
Offline
grub-install --root-directory=/tmp/mnt /dev/sda
Should that be boot-directory rather than root-directory? I can find no mention of root-directory in the documentation.
Geoff
Offline
I think you have to go back to squeeze to find --root-directory in the grub-install man page. Pretty sure it still works, though. These days, I tend to chroot into the system to install grub, so I don't use that option.
Offline