[Bug 1571230] Re: Installer crashes with UEFI, can't install grub to /target/

Peter Stoll peter.stoll at pstoll.de
Sun Apr 24 12:22:18 UTC 2016


Hello,

below is the output of :
  * parted -l,
  * 'parted print ' of the first partition (sda1)
  * 'find -ls ' of all files in that partition
This is after I installed Ubuntu 16.04, but to me it looks like there is nothing changed, but I can not promise.

<snip>
root at zug:~# parted -l
Modell: ATA LITEON L8H-256V2 (scsi)
Festplatte  /dev/sda:  256GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags:

Nummer  Anfang  Ende    Größe   Dateisystem     Name     Flags
  1      1049kB  525MB   524MB   fat32                    msftdata
  2      525MB   567MB   41,9MB  fat32                    msftdata
  3      567MB   3789MB  3221MB  fat32                    msftdata
  4      3789MB  24,8GB  21,0GB  ext4                     msftdata
  5      24,8GB  45,7GB  21,0GB  ext4                     msftdata
  7      45,7GB  239GB   193GB                   primary
  6      239GB   256GB   17,0GB  linux-swap(v1)


Modell: Linux device-mapper (crypt) (dm)
Festplatte  /dev/mapper/_dev_sda7:  193GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop
Disk-Flags:

Nummer  Anfang  Ende   Größe  Dateisystem  Flags
  1      0,00B   193GB  193GB  ext4


root at zug:~# parted /dev/sda
GNU Parted 3.2
/dev/sda wird verwendet
Willkommen zu GNU Parted! Rufen Sie »help« auf, um eine Liste der verfügbaren
Befehle zu erhalten.
unit s
(parted) print
Modell: ATA LITEON L8H-256V2 (scsi)
Festplatte  /dev/sda:  500118192s
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags:

Nummer  Anfang      Ende        Größe       Dateisystem     Name     Flags
  1      2048s       1026047s    1024000s    fat32                    msftdata
  2      1026048s    1107967s    81920s      fat32                    msftdata
  3      1107968s    7399423s    6291456s    fat32                    msftdata
  4      7399424s    48359423s   40960000s   ext4                     msftdata
  5      48359424s   89319423s   40960000s   ext4                     msftdata
  7      89319424s   466952191s  377632768s                  primary
  6      466952192s  500117503s  33165312s   linux-swap(v1)

(parted) quit
root at zug:~# cd /mnt
root at zug:/mnt# mkdir sda1
root at zug:/mnt# mount /dev/sda1 /mnt/sda1
root at zug:/mnt# cd sda1/
root at zug:/mnt/sda1# ll
root at zug:/mnt/sda1# find -ls
         1      4 drwxrwx---   4 root     plugdev      4096 Jan  1  1970 .
       115      4 drwxrwx---   5 root     plugdev      4096 Apr 16 20:15 ./EFI
       116      4 drwxrwx---   3 root     plugdev      4096 Mai 26  2015 ./EFI/Boot
       117      4 drwxrwx---   2 root     plugdev      4096 Mär  4  2015 ./EFI/Boot/en-us
       156     72 -rwxrwx---   1 root     plugdev     73568 Jan 23  2015 ./EFI/Boot/en-us/bootx64.efi.mui
       157   1324 -rwxrwx---   1 root     plugdev   1355736 Mai 26  2015 ./EFI/Boot/bootx64.efi
       118      4 drwxrwx---   3 root     plugdev      4096 Jan 23  2015 ./EFI/Microsoft
       119      4 drwxrwx---   5 root     plugdev      4096 Jan 23  2015 ./EFI/Microsoft/Boot
       160    256 -rwxrwx---   1 root     plugdev    262144 Mai 26  2015 ./EFI/Microsoft/Boot/BCD
       122      4 drwxrwx---   2 root     plugdev      4096 Jan 23  2015 ./EFI/Microsoft/Boot/en-us
       120      4 drwxrwx---   2 root     plugdev      4096 Mär  4  2015 ./EFI/Microsoft/Boot/Fonts
       172   3608 -rwxrwx---   1 root     plugdev   3694080 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/chs_boot.ttf
       173   3788 -rwxrwx---   1 root     plugdev   3876772 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/cht_boot.ttf
       174   1940 -rwxrwx---   1 root     plugdev   1984228 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/jpn_boot.ttf
       175   2316 -rwxrwx---   1 root     plugdev   2371360 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/kor_boot.ttf
       176    168 -rwxrwx---   1 root     plugdev    168212 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/malgun_boot.ttf
       177    132 -rwxrwx---   1 root     plugdev    134508 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/meiryo_boot.ttf
       178    152 -rwxrwx---   1 root     plugdev    154896 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/msjh_boot.ttf
       179    144 -rwxrwx---   1 root     plugdev    146228 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/msyh_boot.ttf
       180     36 -rwxrwx---   1 root     plugdev     36020 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/segmono_boot.ttf
       181     76 -rwxrwx---   1 root     plugdev     77404 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/segoe_slboot.ttf
       182     48 -rwxrwx---   1 root     plugdev     47452 Jan 23  2015 ./EFI/Microsoft/Boot/Fonts/wgl4_boot.ttf
       121      4 drwxrwx---   2 root     plugdev      4096 Mär  4  2015 ./EFI/Microsoft/Boot/Resources
       184     20 -rwxrwx---   1 root     plugdev     18272 Jan 23  2015 ./EFI/Microsoft/Boot/Resources/bootres.dll
       185     12 -rwxrwx---   1 root     plugdev     12288 Mai 26  2015 ./EFI/Microsoft/Boot/BCD.LOG
       123      4 drwxrwx---   3 root     plugdev      4096 Apr 20 18:36 ./EFI/ubuntu
       191   1260 -rwxrwx---   1 root     plugdev   1289424 Feb  9 23:26 ./EFI/ubuntu/shimx64.efi
       192    936 -rwxrwx---   1 root     plugdev    958328 Feb  9 23:26 ./EFI/ubuntu/grubx64.efi
       193   1244 -rwxrwx---   1 root     plugdev   1271672 Feb  9 23:26 ./EFI/ubuntu/MokManager.efi
       194      4 -rwxrwx---   1 root     plugdev       126 Feb  9 23:26 ./EFI/ubuntu/grub.cfg
       130      4 drwxrwx---   2 root     plugdev      4096 Apr 20 18:36 ./EFI/ubuntu/fw
       195     64 -rwxrwx---   1 root     plugdev     64352 Apr 20 18:36 ./EFI/ubuntu/fwupx64.efi
       131      4 drwxrwx---   2 root     plugdev      4096 Mär  4  2015 ./en-us
       197     72 -rwxrwx---   1 root     plugdev     73568 Jan 23  2015 ./en-us/bootmgr.efi.mui
root at zug:/mnt/sda1# exit
</snip>

To assert that I'm not using Legacy boot, I went to BIOS and
disabled the '[ ] Enable Legacy Option ROMs' flag.
The system still boots.

I hope this is some help.


Am 24.04.2016 um 02:31 schrieb Phillip Susi:
> Hrm.. the installer did not see an EFI system partition.  Can you post
> the output of sudo parted -l?  Also that was the warning that I was
> referring to... perhaps it is not worded clearly enough.
>

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

Title:
  Installer crashes with UEFI, can't install grub to /target/

Status in grub-installer package in Ubuntu:
  Invalid

Bug description:
  I try to install Ubuntu 16.04, daily build from yesterday (2016-04-15) on a Dell XPS 13 (2015).
  The Dell has a preinstalled Ubuntu 14.04 (installed by Dell).
  I did this:
  Installer on USB Stick
  Power on
  Bios-Setting are keept as they were: UEFI on, secure boot off.
  Boot from USB Stick in UEFI-Mode.
  Try Ubuntu ...
  Then started the installer.
  Installed with this layout:
  / to /dev/sda5 (just a free partion)
  grub to /dev/sda
  The installer run a few minutes, the I get two messages:
  first, something with ' can' t install grub to /target/ ...' 
  Then " the installer crashed'  , and some apport reporting dialog opens, which redirects me to this web page.

  I tried serveral times, the result is every time the same.

  When I Install in Legacy mode, I can Install, but am not able to boot
  the installed system (which is another issue, and might be due to
  missing knowledge of myself, anyway any hint is welcome).

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ubiquity 2.21.57 [modified: lib/partman/automatically_partition/question]
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.372
  Date: Sat Apr 16 19:52:56 2016
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160415)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1571230/+subscriptions



More information about the foundations-bugs mailing list