[Bug 1026616] Re: Ubiquity installs grub-efi on non-GPT disk

Erwan Moreau erwan.more at gmail.com
Thu Jul 19 13:49:12 UTC 2012


** Attachment added: "concatenated /var/log/installer/syslog and /var/log/installer/partman"
   https://bugs.launchpad.net/bugs/1026616/+attachment/3228451/+files/syslog-and-partman.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1026616

Title:
  Ubiquity installs grub-efi on non-GPT disk

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  
  First please notice that I'm not an expert!

  See the full story here:
  http://ubuntuforums.org/showthread.php?t=2028699
   
  The main problem is: when doing a fresh installation of Ubuntu 12.04 64 bits from a USB drive on a dual-boot system (with Windows 7), grub-efi is installed instead of grub-pc, which causes grub not to be installed in the MBR.

  Here are some details (don't know exactly what matters and what
  doesn't):

  - when booting on the USB drive I can see the message "error: "prefix"
  is not set" (but the Ubuntu menu shows normally after a few seconds)

  - during the install process I selected "something else" in
  "installation type" in order to select a specific partition. "device
  for boot loader installation" changes automatically to /dev/sda after
  selecting the partition, as expected.

  - the result of dpkg --get-selections | grep grub is
  grub-common					install
  grub-efi					install
  grub-efi-amd64					install
  grub-efi-amd64-bin				install
  grub2-common					install

  - after the installation I tried
  sudo update-grub
  sudo grub-install /dev/sda
  none of of these gave any errors, but grub was still not in the MBR after that.

  - the problem is fixed by simply installing grub-pc:
  sudo apt-get install grub-pc

  - the BootInfo output is at
  http://paste.ubuntu.com/1099942
  (done after booting from the USB drive, selecting "try Ubuntu")

  - important: as explained in the original thread
  http://ubuntuforums.org/showthread.php?t=2028699, I did a second
  install in order to reproduce the problem (first install on /dev/sda6,
  second on /dev/sda7). Since I had corrected the problem (from
  /dev/sda6), you can see grub in the MBR -> but it's not the one which
  should have been installed the second time (see original thread for
  details)

  
  did not see how to attach two distinct files to this bug report (???), so I'm concatenating /var/log/installer/syslog and /var/log/installer/partman -> search the "#####"

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




More information about the foundations-bugs mailing list