Page 1 of 1

Re: SolydX 201807 install broke grub

Posted: 28 Oct 2018 02:27
by kurotsugi
you can try using the iso to reinstall grub

Re: SolydX 201807 install broke grub

Posted: 28 Oct 2018 08:44
by Arjen Balfoort
kurotsugi wrote:
28 Oct 2018 02:27
you can try using the iso to reinstall grub
For anybody who doesn't know how to do that. Here follows a short description of the steps to take to restore boot with a SolydXK live session:

Mount root partition:

Code: Select all

$ live-chroot /dev/sda2
In chroot: compare mounted partitions in fstab and blkid to get /boot partition(s)

Code: Select all

# cat /etc/fstab
# sudo blkid
In my case I have a separate /boot and /boot/efi partition:

Code: Select all

# mount /dev/sda4 /boot
# mount /dev/sda1 /boot/efi
Install Grub2:

Code: Select all

# grub-install /dev/sda
Ignore the "GUID Partition Table Header signature" errors. You're in a chrooted session. The last line matters, though: "Installation finished. No error reported."

Update Grub2:

Code: Select all

# update-grub
Unmount /boot partition(s) and exit.

Code: Select all

# umount /boot/efi /boot
# exit
Now, reboot and cross your fingers.

Re: SolydX 201807 install broke grub

Posted: 11 Nov 2018 15:23
by ydek
That tip was excellent.
It will serve so that other users can solve the same problem.
It would be nice if you could put the topic as Solved.

Re: (solved) SolydX 201807 install broke grub

Posted: 11 Nov 2018 18:26
by Arjen Balfoort
You edit your opening post and put "[SOLVED]" at the start of the subject line.