[Bug 1267829] [NEW] Ubiquity installs EFI related stuff in non-EFI system (Ubuntu does not boot after install)

Sergio Benjamim sergio_br2 at yahoo.com.br
Fri Jan 10 12:33:03 UTC 2014


Public bug reported:

I installed 2 times xubuntu trusty in a machine with UEFI disabled,
windows 7 dual boot in a MBR disk, and in the 2 times it does not
install grub correctly. In the firt time, it goes direct to windows 7
boot. In the second time, i got an error, like this:

error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue>

I used Boot Repair, and i had to run some commands in terminal:

sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda5" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda5" apt-get purge -y --force-yes grub* shim-signed linux-signed*
[...]
The following packages will be REMOVED:
  grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed*
  grub2-common* linux-signed-generic* linux-signed-image-3.13.0-1-generic*
  linux-signed-image-generic* shim-signed*

sudo chroot "/mnt/boot-sav/sda5" apt-get install -y --force-yes grub-pc linux
[...]
The following extra packages will be installed:
  grub-common grub-gfxpayload-lists grub-pc-bin grub2-common

The complete stuff in terminal was attached bellow. See
http://paste.ubuntu.com/6725509/ too.

And now it is bootable.

So... why there was installed grub-efi and linux-signed, if this machine
has EFI disabled? I don't sure if it is related to the problem. But i
can reproduce this problem.

Hardware:

description: Ordinateur Mini-Tour
    produit: HP Compaq 8200 Elite CMT PC (XL508AV)
    fabriquant: Hewlett-Packard
    bits: 64 bits
    fonctionnalités: smbios-2.7 dmi-2.7 vsyscall32

 BIOS version: J01 v02.15 date: 11/10/2011
   fonctionnalités: pci pnp upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification netboot uefi

HDD partition picture is attached.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7
Uname: Linux 3.13.0-1-generic x86_64
ApportVersion: 2.12.7-0ubuntu6
Architecture: amd64
Date: Fri Jan 10 12:37:49 2014
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper quiet splash --
InstallationDate: Installed on 2014-01-09 (0 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140109)
ProcEnviron:
 LANGUAGE=fr_FR
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty ubiquity-2.17.3

** Attachment added: "HDD partitions HP Compaq 8200 Elite CMT.png"
   https://bugs.launchpad.net/bugs/1267829/+attachment/3945339/+files/HDD%20partitions%20HP%20Compaq%208200%20Elite%20CMT.png

-- 
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/1267829

Title:
  Ubiquity installs EFI related stuff in non-EFI system (Ubuntu does not
  boot after install)

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  I installed 2 times xubuntu trusty in a machine with UEFI disabled,
  windows 7 dual boot in a MBR disk, and in the 2 times it does not
  install grub correctly. In the firt time, it goes direct to windows 7
  boot. In the second time, i got an error, like this:

  error: file '/boot/grub/i386-pc/normal.mod' not found.
  Entering rescue mode...
  grub rescue>

  I used Boot Repair, and i had to run some commands in terminal:

  sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -a
  sudo chroot "/mnt/boot-sav/sda5" apt-get install -fy
  sudo chroot "/mnt/boot-sav/sda5" apt-get purge -y --force-yes grub* shim-signed linux-signed*
  [...]
  The following packages will be REMOVED:
    grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed*
    grub2-common* linux-signed-generic* linux-signed-image-3.13.0-1-generic*
    linux-signed-image-generic* shim-signed*

  sudo chroot "/mnt/boot-sav/sda5" apt-get install -y --force-yes grub-pc linux
  [...]
  The following extra packages will be installed:
    grub-common grub-gfxpayload-lists grub-pc-bin grub2-common

  The complete stuff in terminal was attached bellow. See
  http://paste.ubuntu.com/6725509/ too.

  And now it is bootable.

  So... why there was installed grub-efi and linux-signed, if this
  machine has EFI disabled? I don't sure if it is related to the
  problem. But i can reproduce this problem.

  Hardware:

  description: Ordinateur Mini-Tour
      produit: HP Compaq 8200 Elite CMT PC (XL508AV)
      fabriquant: Hewlett-Packard
      bits: 64 bits
      fonctionnalités: smbios-2.7 dmi-2.7 vsyscall32

   BIOS version: J01 v02.15 date: 11/10/2011
     fonctionnalités: pci pnp upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification netboot uefi

  HDD partition picture is attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7
  Uname: Linux 3.13.0-1-generic x86_64
  ApportVersion: 2.12.7-0ubuntu6
  Architecture: amd64
  Date: Fri Jan 10 12:37:49 2014
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper quiet splash --
  InstallationDate: Installed on 2014-01-09 (0 days ago)
  InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140109)
  ProcEnviron:
   LANGUAGE=fr_FR
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list