← Back to team overview

kernel-packages team mailing list archive

[Bug 1464831] [NEW] Ubuntu should default to an EFI compatible install

 

Public bug reported:

Please make Ubuntu Install default to using sane EFI compatible
partitioning scheme and boot loader installation.

Full Install

Partition Table: GPT

First Partition: Boot / ESP Label: EFI (VFAT/FAT32 with GPT boot flag enabled - see Mange Flags in gparted)
 On my Mac which has never seen BIOS and never will I need a EFI compliant boot setup for the firmware to recognize for example an external hard drive as a boot option: put the corresponding boot image (probably grub.efi) into the root of this boot partition with the name "boot.efi" or it won't show up on startup (using the alt key on a Mac)

Swap: I still prefer to use two times the size of the RAM for this.
Root: I prefer to limit this to 150GB and leave some 300GB for further experimenting but it really should be as big as possible.


Please check the grub setup: the current configuration file as created by the installation is too complicated / Debian's handling of the Grub configuration is not user friendly because this. My simple counter example:

grub.cfg

# Boot automatically after 30 secs.
set timeout=3

# By default, boot the GNU/Linux
set default=ubuntu

# Fallback to GNU/Hurd.
#set fallback=gnuhurd

# For booting GNU/Linux
menuentry "Ubuntu (EFI)" --id ubuntu {
        set root=(hd0,gpt3)
        linux /vmlinuz root=/dev/sda3 splash quiet
        initrd /initrd.img
}

...


(The next one is just a guess as I yet have to recompile the kernel myself to check it myself)
Please check the EFI kernel support configuration (with correctly configured EFI support it might even be possible to distinguish EFI and non-EFI systems during install)

efivars is built-in to the kernel image but it depends on efi-pstore
which is to be built as a module??? That misconfiguration of the kernel
sources might be the reason for the missing EFI support. Someone "over
at Debian" made that change a long time ago for no good reason.

Perhaps I will add additional information regarding this issue in a
comment.

With working EFI support you could as well add a new boot entry in the
firmware for the Ubuntu Installation during install.

Thank you!

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15 [modified: boot/vmlinuz-3.19.0-15-generic]
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  mt         1448 F.... pulseaudio
CurrentDesktop: Unity
Date: Sat Jun 13 07:53:30 2015
HibernationDevice: RESUME=UUID=df8c609c-a8cf-4e53-ae6d-c754aa1ead9b
InstallationDate: Installed on 2015-06-08 (4 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Apple Inc. MacBook4,1
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz root=/dev/sda3 splash quiet
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic  N/A
 linux-firmware                             1.143
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/09/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB41.88Z.00C1.B00.0802091535
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F22788A9
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F22788A9
dmi.modalias: dmi:bvnAppleInc.:bvrMB41.88Z.00C1.B00.0802091535:bd02/09/08:svnAppleInc.:pnMacBook4,1:pvr1.0:rvnAppleInc.:rnMac-F22788A9:rvrPVT:cvnAppleInc.:ct2:cvrMac-F22788A9:
dmi.product.name: MacBook4,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1464831

Title:
  Ubuntu should default to an EFI compatible install

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Please make Ubuntu Install default to using sane EFI compatible
  partitioning scheme and boot loader installation.

  Full Install

  Partition Table: GPT

  First Partition: Boot / ESP Label: EFI (VFAT/FAT32 with GPT boot flag enabled - see Mange Flags in gparted)
   On my Mac which has never seen BIOS and never will I need a EFI compliant boot setup for the firmware to recognize for example an external hard drive as a boot option: put the corresponding boot image (probably grub.efi) into the root of this boot partition with the name "boot.efi" or it won't show up on startup (using the alt key on a Mac)

  Swap: I still prefer to use two times the size of the RAM for this.
  Root: I prefer to limit this to 150GB and leave some 300GB for further experimenting but it really should be as big as possible.

  
  Please check the grub setup: the current configuration file as created by the installation is too complicated / Debian's handling of the Grub configuration is not user friendly because this. My simple counter example:

  grub.cfg

  # Boot automatically after 30 secs.
  set timeout=3

  # By default, boot the GNU/Linux
  set default=ubuntu

  # Fallback to GNU/Hurd.
  #set fallback=gnuhurd

  # For booting GNU/Linux
  menuentry "Ubuntu (EFI)" --id ubuntu {
          set root=(hd0,gpt3)
          linux /vmlinuz root=/dev/sda3 splash quiet
          initrd /initrd.img
  }

  ...


  (The next one is just a guess as I yet have to recompile the kernel myself to check it myself)
  Please check the EFI kernel support configuration (with correctly configured EFI support it might even be possible to distinguish EFI and non-EFI systems during install)

  efivars is built-in to the kernel image but it depends on efi-pstore
  which is to be built as a module??? That misconfiguration of the
  kernel sources might be the reason for the missing EFI support.
  Someone "over at Debian" made that change a long time ago for no good
  reason.

  Perhaps I will add additional information regarding this issue in a
  comment.

  With working EFI support you could as well add a new boot entry in the
  firmware for the Ubuntu Installation during install.

  Thank you!

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15 [modified: boot/vmlinuz-3.19.0-15-generic]
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  mt         1448 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sat Jun 13 07:53:30 2015
  HibernationDevice: RESUME=UUID=df8c609c-a8cf-4e53-ae6d-c754aa1ead9b
  InstallationDate: Installed on 2015-06-08 (4 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: Apple Inc. MacBook4,1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz root=/dev/sda3 splash quiet
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware                             1.143
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/09/08
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MB41.88Z.00C1.B00.0802091535
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Mac-F22788A9
  dmi.board.vendor: Apple Inc.
  dmi.board.version: PVT
  dmi.chassis.asset.tag: Asset Tag#
  dmi.chassis.type: 2
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-F22788A9
  dmi.modalias: dmi:bvnAppleInc.:bvrMB41.88Z.00C1.B00.0802091535:bd02/09/08:svnAppleInc.:pnMacBook4,1:pvr1.0:rvnAppleInc.:rnMac-F22788A9:rvrPVT:cvnAppleInc.:ct2:cvrMac-F22788A9:
  dmi.product.name: MacBook4,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

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


Follow ups

References