[Bug 1302939] Re: Installing Ubuntu 14.04 on Lenovo H520 leads to unbootable system

William 1302939 at bugs.launchpad.net
Thu Apr 10 03:56:14 UTC 2014


I've tested with three machine states and dumped the partitions and
efibootmgr -v for each.

1. Windows 8.1 x64 installed (boots correctly)
2. Xubuntu 14.04 2014-04-08 daily build after installation but still in live usb
3. Xubuntu 14.04 2014-04-08 daily build after reboot

# With Windows 8.1 x64 installed

root at xubuntu:~# parted -l
Model: ATA ST1000DM003-1CH1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  316MB   315MB   ntfs         Basic data partition          hidden, diag
 2      316MB   420MB   105MB   fat32        EFI system partition          boot
 3      420MB   555MB   134MB                Microsoft reserved partition  msftres
 4      555MB   1000GB  1000GB  ntfs         Basic data partition          msftdata

root at xubuntu:~# efibootmgr -v
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0007,0004,0001,0002
Boot0001* UEFI: IP4 Realtek PCIe GBE Family Controller	ACPI(a0341d0,0)PCI(1c,4)PCI(0,0)MAC(7427eace3ae7,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0AMBO
Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller	ACPI(a0341d0,0)PCI(1c,4)PCI(0,0)MAC(7427eace3ae7,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000AMBO
Boot0004* Windows Boot Manager	HD(2,96800,32000,5943a605-c575-430d-9636-6f6d7335c676)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
Boot0007* UEFI: KingstonDataTraveler 2.0PMAP	ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(1,0)HD(1,1f80,1d11bc0,0004ce4a)AMBO


# With Xubuntu 14.04 2014-04-08 daily build installed (still in live installer):

root at xubuntu:~# parted -l
Model: ATA ST1000DM003-1CH1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  512MB   511MB   fat32                 boot
 2      512MB   992GB   991GB   ext4
 3      992GB   1000GB  8475MB  linux-swap(v1)

root at xubuntu:~# efibootmgr -v
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0000,0007,0004,0001,0002
Boot0000* ubuntu	HD(1,800,f3800,6f839682-f2f0-4144-8f2d-b9b6b92d53c3)File(\EFI\ubuntu\shimx64.efi)
Boot0001* UEFI: IP4 Realtek PCIe GBE Family Controller	ACPI(a0341d0,0)PCI(1c,4)PCI(0,0)MAC(7427eace3ae7,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0AMBO
Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller	ACPI(a0341d0,0)PCI(1c,4)PCI(0,0)MAC(7427eace3ae7,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000AMBO
Boot0004* Windows Boot Manager	HD(2,96800,32000,5943a605-c575-430d-9636-6f6d7335c676)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
Boot0007* UEFI: KingstonDataTraveler 2.0PMAP	ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(1,0)HD(1,1f80,1d11bc0,0004ce4a)AMBO


# With Xubuntu 14.04 2014-04-08 daily build installed (after rebooting the system):

root at xubuntu:~# parted -l
Model: ATA ST1000DM003-1CH1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  512MB   511MB   fat32                 boot
 2      512MB   992GB   991GB   ext4
 3      992GB   1000GB  8475MB  linux-swap(v1)

root at xubuntu:~# efibootmgr -v
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0009,0000,0008,0001,0002
Boot0000* ubuntu	Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0001* UEFI: IP4 Realtek PCIe GBE Family Controller	ACPI(a0341d0,0)PCI(1c,4)PCI(0,0)MAC(7427eace3ae7,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0AMBO
Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller	ACPI(a0341d0,0)PCI(1c,4)PCI(0,0)MAC(7427eace3ae7,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000AMBO
Boot0008* ubuntu	Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0009* UEFI: KingstonDataTraveler 2.0PMAP	ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(1,0)HD(1,1f80,1d11bc0,0004ce4a)AMBO

# Additional output from gdisk, confirmed that this matches the "before
first reboot" boot descriptor

root at xubuntu:~# gdisk -l
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 604A7239-FB6D-4B7C-9AFB-6655B7C45D8C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3437 sectors (1.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          999423   487.0 MiB   EF00  
   2          999424      1936971775   923.1 GiB   8300  
   3      1936971776      1953523711   7.9 GiB     8200  

# gdisk efi partition detailed info

Command (? for help): i
Partition number (1-3): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: 6F839682-F2F0-4144-8F2D-B9B6B92D53C3
First sector: 2048 (at 1024.0 KiB)
Last sector: 999423 (at 488.0 MiB)
Partition size: 997376 sectors (487.0 MiB)
Attribute flags: 0000000000000000
Partition name: ''

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

Title:
  Installing Ubuntu 14.04 on Lenovo H520 leads to unbootable system

Status in “ubiquity” package in Ubuntu:
  Incomplete

Bug description:
  System: Lenovo H520

  The system uses UEFI, I tried several combinations of settings.

  With UEFI mode enabled, SecureBoot enabled:

  * After the initial installer reboot the system boots with an error:
  "Invalid Signature Detected".

  With UEFI mode enabled, SecureBoot enabled and Setup Mode enabled:

  * After the initial installer reboot the system boots successfully.
  Subsequent reboots lead to the error: "Error 1962 No operating system
  found"

  With UEFI mode enabled, SecureBoot disabled:

  * The system always reboots to the error: "Error 1962 No operating
  system found"

  It appears that something in Lenovo's UEFI does not like how the efi
  boot parameters are configured by Ubuntu. On the first reboot the
  parameters display the ubuntu entry with a hard drive specification.
  On the subsequent reboots the system UEFI appears to replace the
  setting with the value "Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
  ". I haven't been able to find out which Vendor that UUID represents.
  However, looking in the UEFI boot settings after this shows ubuntu
  listed in the boot order under an "Unknown device".

  As a workaround, I enabled CSM mode and set the system to "Legacy
  BIOS" and installed Ubuntu 14.04 successfully with no booting issues.
  However, I now lost the additional protection of a signed bootloader
  and a non-technical person would not find this fiddling in the bios
  settings to be a good user experience.

  Expected behavior:

  The Ubiquity installer could configure the EFI boot parameters in such
  a way that they are more generally recognizable by different UEFI
  implementations. In this particular case the UEFI was not
  understanding the settings as the SATA1 device but instead marked them
  as "Unknown device".

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



More information about the foundations-bugs mailing list