grub-install problem
Tom H
tomh0665 at gmail.com
Fri Mar 8 23:21:38 UTC 2019
On Fri, Mar 8, 2019 at 11:57 PM Bob <ubuntu-qygzanxc at listemail.net> wrote:
>
> I have two partitions with Ubuntu installed on my computer. SDA3 is
> my normal system, SAD7 is a test system. Whenever I update the test
> partition if grub is also updated I need to run "grub-install
> --force" on my normal system, SDA3, to get it to be the defaupt boot
> partition.
>
> Today after updating SDA7 it updated grub so SDA7 was the default
> boot partition. I booted SDA3 and ran "grub-install --force" which
> did not work see the following.
>
> robert at MARS:~$ grub-install --force
> Installing for x86_64-efi platform.
> grub-install: warning: disk does not exist, so falling back to partition device
> /dev/sda1.
> grub-install: warning: disk does not exist, so falling back to partition device
> /dev/sda1.
> grub-install: warning: disk does not exist, so falling back to partition device
> /dev/sda1.
> grub-install: error: disk `hostdisk//dev/sda1' not found.
> robert at MARS:~$
>
> I then tried just "grub-install" which normally does nothing because
> grub is at the latest level and got the same error messages. I do
> not understand why grub is checking SDA1 because it is the EFI
> partition. The bios_grub partition is SDA2.
1) You're running "grub-install" as non-root
2) Don't use "--force"
More information about the ubuntu-users
mailing list