[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.
https://bugs.launchpad.net/bugs/1769404

Title:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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)
   Status: Confirmed => Invalid

-- 
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:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 force
root=/dev/ram0 to be used in the kernel command line.

While it clearly exists:
> grep DEVICE -A40 /usr/sbin/grub-mkconfig
it is not documented in the standard:
> https://www.gnu.org/software/grub/manual/grub/grub.html

I will test.

-- 
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:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 grub-install was told to install.

Can grub-install store the last /dev/sdX it was told and use it as
default?  Or some other solution?

-- 
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:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 to the first IDE, /dev/sdb to the second IDE, and /dev/sdc
to the SATA drive NO MATTER HOW YOU SET THE BIOS BOOT ORDER.

Therefore, grub should have a hint, option, or other setting to point to
the "default" and not assume /dev/sda.  A better way would be to use
UUID like in the fstab file since /dev/sdX assignment may not be
guaranteed.

** Changed in: ubiquity (Ubuntu)
   Status: Invalid => New

-- 
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:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
https://bugs.launchpad.net/bugs/1769404

Title:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769404

Title:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769404

Title:
  grub is installed to /dev/sda by default and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1769404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs