[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2019-03-22 Thread AtesComp
FYI: The dpkg configuration setting for all packages are in: > /var/cache/debconf/config.dat My setting for the GRUB devices were stored around: > Name: grub-pc/install_devices -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2019-03-22 Thread AtesComp
Found the issue. Do the following: > sudo debconf-show grub-pc > sudo dpkg-reconfigure grub-pc The last screen sets the default GRUB device(s). See: https://askubuntu.com/questions/135741/how-should-one-set-the-grub- pc-packages-install-devices-debconf-setting ** Changed in: ubiquity (Ubuntu)

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2019-03-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubiquity (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1769404 Title:

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2019-03-22 Thread AtesComp
So, the undocumented "GRUB_DEVICE" may be the answer. I could only find it in a Gentoo post: GRUB_DEVICE (detected) Device node for the volume containing the root filesystem. Set this to override the grub2-mkconfig command's root device auto-detection. For example, GRUB_DEVICE=/dev/ram0 will

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2019-03-22 Thread AtesComp
Ok, UUID is only for partitions, so maybe the serial number instead. This error crops up when a new kernel is installed during an update/upgrade. The update-grub command is called which in turn may call grub-install. It seems to always default to /dev/sda instead of the where the sdX

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2019-03-22 Thread AtesComp
Bin Li is incorrect. The boot order may not determine the allocation of /dev/sdX for any number of hard drives. In general, IDE drives will always be assigned first and SATA drives will be assigned second. If you are booting from a SATA drive and have 2 IDE drives, you will always get /dev/sda

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2018-05-09 Thread Yevhen
** Changed in: ubiquity (Ubuntu) Status: New => Invalid ** Converted to question: https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/668780 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2018-05-07 Thread Yevhen
Hi, Bin Li. Thanks for your answer. Do you mean it's not possible for ubiquity to identify by itself the first disk in boot order without touching manually advanced partitioning tool or there are some other purposes to choose /dev/sda for grub by default? -- You received this bug notification

[Bug 1769404] Re: grub is installed to /dev/sda by default and fails

2018-05-07 Thread Bin Li
It depend on the boot sequence of your BIOS. If the SSD is the first one, and you install the grub on HDD, you can't boot up into HDD. You need change the boot order. Or enter the boot menu with F12, after that select HDD to boot. -- You received this bug notification because you are a member