[Bug 1801372] [NEW] Make Ubuntu installable on UEFI machine with MPT formatted disk

UlfZibis 1801372 at bugs.launchpad.net
Fri Nov 2 14:39:07 UTC 2018


Public bug reported:

On a UEFI machine, where the disk is MPT (msdos) formatted (with Windows 7 installed), ubuquity fails.
Also later installation via chroot fails:
root at ubuntu:/# grub-install
x86_64-efi will be installed on your plattform. (translated from German)
grub-install: Error: EFI-Directory cannot be found. (translated from German)

root at ubuntu:/# sudo parted --list
Modell: ATA CT240BX200SSD1 (scsi)
Festplatte  /dev/sda:  240GB
Sektorgröße (logisch/physisch): 512B/4096B
Partitionstabelle: msdos
Disk-Flags: 

Nummer  Anfang  Ende   Größe   Typ       Dateisystem  Flags
 1      1049kB  525MB  524MB   primary   ntfs         boot
 2      525MB   108GB  107GB   primary   ntfs
 3      108GB   119GB  10,7GB  primary   ext4
 4      119GB   240GB  121GB   extended
 5      119GB   123GB  4293MB  logical   ext4
 6      123GB   240GB  117GB   logical   ntfs


Modell: ST1000LM 024 HN-M101MBB (scsi)
Festplatte  /dev/sdb:  1000GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos
Disk-Flags: 

Nummer  Anfang  Ende    Größe   Typ       Dateisystem  Flags
 1      1049kB  43,0GB  42,9GB  primary   fat32        boot, LBA
 4      43,0GB  126GB   82,7GB  extended
 3      126GB   770GB   644GB   primary   ntfs
 2      952GB   1000GB  48,2GB  primary   ntfs

root at ubuntu:/# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
root at ubuntu:/# dmidecode -t0 | grep -Ei "BIOS boot|UEFI"
		BIOS boot specification is supported


Workaround via chroot:
sudo apt-get update
sudo apt-get --autoremove purge grub-efi*
sudo apt-get install grub-pc
# sudo grub-install /dev/sda
sudo update-grub
sudo apt-get dist-upgrade

** Affects: grub2-signed (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Make Ubuntu installable on UEFI machine with MPT formatted disk

Status in grub2-signed package in Ubuntu:
  New

Bug description:
  On a UEFI machine, where the disk is MPT (msdos) formatted (with Windows 7 installed), ubuquity fails.
  Also later installation via chroot fails:
  root at ubuntu:/# grub-install
  x86_64-efi will be installed on your plattform. (translated from German)
  grub-install: Error: EFI-Directory cannot be found. (translated from German)

  root at ubuntu:/# sudo parted --list
  Modell: ATA CT240BX200SSD1 (scsi)
  Festplatte  /dev/sda:  240GB
  Sektorgröße (logisch/physisch): 512B/4096B
  Partitionstabelle: msdos
  Disk-Flags: 

  Nummer  Anfang  Ende   Größe   Typ       Dateisystem  Flags
   1      1049kB  525MB  524MB   primary   ntfs         boot
   2      525MB   108GB  107GB   primary   ntfs
   3      108GB   119GB  10,7GB  primary   ext4
   4      119GB   240GB  121GB   extended
   5      119GB   123GB  4293MB  logical   ext4
   6      123GB   240GB  117GB   logical   ntfs

  
  Modell: ST1000LM 024 HN-M101MBB (scsi)
  Festplatte  /dev/sdb:  1000GB
  Sektorgröße (logisch/physisch): 512B/512B
  Partitionstabelle: msdos
  Disk-Flags: 

  Nummer  Anfang  Ende    Größe   Typ       Dateisystem  Flags
   1      1049kB  43,0GB  42,9GB  primary   fat32        boot, LBA
   4      43,0GB  126GB   82,7GB  extended
   3      126GB   770GB   644GB   primary   ntfs
   2      952GB   1000GB  48,2GB  primary   ntfs

  root at ubuntu:/# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
  UEFI
  root at ubuntu:/# dmidecode -t0 | grep -Ei "BIOS boot|UEFI"
  		BIOS boot specification is supported

  
  Workaround via chroot:
  sudo apt-get update
  sudo apt-get --autoremove purge grub-efi*
  sudo apt-get install grub-pc
  # sudo grub-install /dev/sda
  sudo update-grub
  sudo apt-get dist-upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1801372/+subscriptions



More information about the foundations-bugs mailing list