Needless to say, I totally ruined my drive and decided to remove all partitions and deal with it in the live-installer. In the live-installer I started gparted and added a root, home, swap and extended partition with 12 logical partitions. All went well, and I was offered to reboot. So, I did...to end in a black screen with a nervously blinking cursor: no grub!
I booted up the SolydXK live USB again, and created and executed this bash:
Code: Select all
#!/bin/bash mount -t ext4 /dev/sda1 /target mount --bind /dev/ /target/dev/ mount --bind /dev/shm /target/dev/shm mount --bind /dev/pts /target/dev/pts mount --bind /sys/ /target/sys/ mount --bind /proc/ /target/proc/ chroot /target/ /bin/sh -c "grub-install --force /dev/sda" chroot /target/ /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg" umount --force /target/dev/shm umount --force /target/dev/pts umount --force /target/dev/ umount --force /target/sys/ umount --force /target/proc/ umount --force /target
/dev/sda is where I wanted grub to be installed.
I rebooted, and hey presto!
All works as expected. I don't know why it didn't function the first time, but I think that although the chances are slim that you get in this particular predicament, it's nice to have this fix available.