LM 19.1, Cinnamon
Well this is new.
Today I decided to clean and repartition my data drive. It has no boot files, and is an entirely separate drive. So I unmounted it, and let GParted apply pending operations. This would take a few hours.
In the meantime, I got to reading a bit about some grub options, such as changing the resolution to make things easier to see, so I opened the required file, changed it, and stupidly, I issued "sudo update-grub", which promptly.. hung. For hours. I tried Ctrl+C, no effect.
Code: Select all
mathan@mathan-70A4001LUX:~$ xed admin:///etc/default/grub mathan@mathan-70A4001LUX:~$ sudo update-grub [sudo] password for mathan: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.15.0-50-generic Found initrd image: /boot/initrd.img-4.15.0-50-generic Found linux image: /boot/vmlinuz-4.15.0-48-generic Found initrd image: /boot/initrd.img-4.15.0-48-generic Found linux image: /boot/vmlinuz-4.15.0-20-generic Found initrd image: /boot/initrd.img-4.15.0-20-generic ^C
I did find a way to stop that at https://unix.stackexchange.com/question ... all-drives, by removing executable rights for os-prober, which I did, and that appears to have been successful.
However, my data drive is still being worked on, and sudo update-grub is still frozen/waiting.
How do I resolve this so that I don't seriously mess up my system?