[Bug 1562537] Re: Ubiquity installs to 4Kn disk in BIOS mode, but installation won't boot

Mate Kukri 1562537 at bugs.launchpad.net
Tue Jun 18 08:28:22 UTC 2024


> Booting from 4Kn drives is and will NEVER be supported by BIOS (AKA
legacy BIOS AKA LEGACY). The ONLY solution for 4Kn AF drives is to boot
via UEFI.

I think this is going to be the case for us too. Please use UEFI to boot
4Kn drives (512e ones still work fine on BIOS)

** Changed in: grub2 (Ubuntu)
       Status: New => Won't Fix

** Changed in: ubiquity (Ubuntu)
       Status: Confirmed => Invalid

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

Title:
  Ubiquity installs to 4Kn disk in BIOS mode, but installation won't
  boot

Status in grub:
  Unknown
Status in grub2 package in Ubuntu:
  Won't Fix
Status in ubiquity package in Ubuntu:
  Invalid

Bug description:
  A small but increasing number of disks use 4KiB native ("4Kn") sectors
  -- that is, they use 4096-byte physical sectors (which is now common)
  *AND* 4096-byte LOGICAL sectors (which is uncommon, "translation" to
  512-byte sectors being the norm). Today, most 4Kn disks are external
  USB drives; however, a few 4Kn internal disks are now available, such
  as the 8TB HGST 0F23666. Such disks are likely to become more common
  in the future.

  In testing an HGST 0F23666, I've found that the Ubuntu 16.04 beta2
  Ubiquity desktop installer works fine with the disk in UEFI mode on an
  ASUS P8H77-I motherboard; however, in BIOS mode Ubiquity happily
  installs to the disk, but the install Ubuntu then fails to boot. The
  system ran through its POST just fine, but then showed a blinking
  underscore cursor in the top-left corner of the screen; there was no
  GRUB screen or error message.

  In another test using a Dell server computer, a MAAS-mediated BIOS-
  mode install seemed to succeed, but failed on reboot with the same
  symptoms as on the ASUS machine. The identical symptoms suggest either
  a BIOS or GRUB bug.

  I don't know if the problem is in the BIOS or in GRUB; however,
  512-byte sector size assumptions have long riddled the software chain,
  and may never be fixed in BIOSes and CSMs, so even if there's a GRUB
  bug, BIOS/CSM bugs are likely to cause problems on many systems.
  Therefore, it seems prudent to display a prominent warning in Ubiquity
  when it detects a BIOS-mode install that is underway to a 4Kn disk. I
  recommend something along these lines:

  "You appear to be installing to a disk with 4096-byte logical sectors
  in BIOS mode. This installation may not work. A UEFI-based
  installation is more likely to succeed. Continue anyway (Y/N)?"

  The lack of such a warning is likely to result in user frustration
  with failures if/when 4Kn disks become more common.

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1562537/+subscriptions




More information about the foundations-bugs mailing list