Quote:
Originally Posted by hydrurga
Changing a partition's label shouldn't change its UUID.
Personally I would throw Boot Repair Disk ( https://sourceforge.net/projects/boot-repair-cd/) at it in case any mucking around worsens the situation. It means you probably won't know what caused the problem but hopefully will resolve it.
|
Thank you. The problem is my dvd drive isn't working so I can't write to a cd.
I found out about the 'Boot-Repair' pgm which can be installed onto a working OS but the command is exclusively for Ubuntu users
https://help.ubuntu.com/community/Boot-Repair. It's a pity because it looks like a useful tool.
I then looked up a tutorial on how to use the grub-rescue command line for fixes, but it seemed a bit complicated
https://help.ubuntu.com/community/Grub2/Troubleshooting. But it was still useful in showing how the problem occurred.
When creating new partitions and installing new OSs, update-grub needs to be done each time so it can see the new changes.
To fix the problem, I plugged in my live-usb and on the login screen I selected the launcher to install a new OS. Once a new OS was installed on the hard disk it took control of the MBR and ran update-grub. I was then able to open up grub and access all my OSs. Then I used gparted to re-format and delete the new OS I created via the live-usb. After that, I ran
Code:
grub-install /dev/sda
update-grub
This is because despite having newly installed OSs, I still wanted grub booting from sda1. So I think I need to keep using this command after a new install to return control of the MBR to sda1.
Anyway, this fixed the problem (so far).