Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #189588
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: BIOS Can Not Find Disk |
| Date | 2017-12-06 00:20 +0100 |
| Message-ID | <uTuFk-Fw-13@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <uSRkB-zY-3@gated-at.bofh.it> <uSRuh-G8-3@gated-at.bofh.it> <uT0QW-6xY-9@gated-at.bofh.it> <uTanf-4a6-7@gated-at.bofh.it> <uTeqR-6Ja-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 05/12/2017 à 06:55, David Christensen a écrit : > > I wiped the SSD, ran d-i, and chose "Partitioning method" -> "Guided - > use entire disk and set up encrypted LVM", which produced: > > LVM VG debian-vg, LV home - 3.5 GB Linux device-mapper (linear) > #1 3.5 GB f ext4 /home > LVM VG debian-vg, LV root - 2.0 GB Linux device-mapper (linear) > #1 2.0 GB f ext4 / > LVM VG debian-vg, LV swap_1 - 8.5 GB Linux device-mapper (linear) > #1 8.5 GB f swap swap > LVM VG debian-vg, LV tmp - 255.9 MB Linux device-mapper (linear) > #1 255.9 MB f ext4 /tmp > LVM VG debian-vg, LV tmp - 998.2 MB Linux device-mapper (linear) > #1 998.2 MB f ext4 /var > Encrypted volume (sda3_crypt) - 15.2 GB Linux device-mapper (crypt) > #1 15.2 GB K lvm > SCSI3 (0,0,0) (sda) - 16.0 GB ATA SAMSUNG SSD UM41 > 1.0 MB FREE SPACE > #1 536.9 MB B F ESP > #2 255.9 MB F ext2 /boot > #3 15.2 GB K crypto (sda3_crypt) > 73.2 kB FREE SPACE (...) > d-i completed without errors. :-) ESP means that you ran the installer in EFI mode. If you did that with the initial partitioning (BIOS boot partition), the installation of GRUB could not work because there was no ESP partition. > As for "how does it boot with UEFI, GPT, and GRUB?", my vague guess is: > > 1. There is no 16-bit 8086 first stage boot loader code in sector 0 of > the SSD -- see 'gpart -d -vvv /dev/sda' output, below. The motherboard > firmware doesn't use this in UEFI mode. Correct. > 2. There is a "protective MBR" in sector 0 of the SSD -- see 'fdisk -t > mbr -l /dev/sda' output, below. I don't know if UEFI firmware looks at > this. It may, in order to check that it contains a valid protective MBR. > 3. The firmware finds and reads the GPT partition table on the SSD. Correct. > 4. The firmware finds the first GPT partition and file system, which > look "right" for EFI boot images. No. > 5. The firmware reads this file system and finds only one file, which > it loads and runs (starting GRUB): > > /EFI/debian/grubx64.efi No. > (If there were more than one choice, my guess is that I'd have to > pre-select one in the CMOS setup, or perhaps have to select one from a > menu at the end of POST?) No. First, a compliant UEFI firmware should look up its EFI boot variables and try each boot entry Boot* in the order defined in the BootOrder variable. The text description associated to theses entries is usually displayed in the EFI boot menu. If no entry is defined or works, then the firmware should look for a partition with the "EFI system partition" type GUID and look for an /EFI/Boot/bootx64.efi file (default path used on removable devices). GRUB can be installed in such a path with grub-install --removable > 6. GRUB finds the second GPT partition and file system, which looks > "right" for GRUB, reads the file system, locates the appropriate files > (notably /boot/grub/grub.cfg), and boots the system. When /boot/grub is in a plain partition on the same drive as GRUB's core image (grubx64.efi here), the partition number is hardcoded in the core image. > Again -- are there any other commands I should run that readers might > find interesting? You can print the EFI boot variables with efibootmgr -v
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-01 20:00 +0100
Re: BIOS Can Not Find Disk "Thomas Schmitt" <scdbackup@gmx.net> - 2017-12-01 21:00 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-02 19:30 +0100
Re: BIOS Can Not Find Disk "Thomas Schmitt" <scdbackup@gmx.net> - 2017-12-02 20:30 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-02 03:00 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-02 05:10 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-02 20:40 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-03 04:50 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-04 00:40 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-04 06:20 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-04 06:30 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-04 15:40 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-05 01:50 +0100
Re: BIOS Can Not Find Disk David Wright <deblis@lionunicorn.co.uk> - 2017-12-04 16:30 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-05 02:40 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-05 07:00 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-06 00:20 +0100
Re: BIOS Can Not Find Disk David Christensen <dpchrist@holgerdanske.com> - 2017-12-07 07:00 +0100
Re: BIOS Can Not Find Disk David Wright <deblis@lionunicorn.co.uk> - 2017-12-05 23:30 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-05 22:50 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-04 03:40 +0100
Re: BIOS Can Not Find Disk Michael Lange <klappnase@freenet.de> - 2017-12-02 22:40 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-03 00:20 +0100
Re: BIOS Can Not Find Disk Michael Lange <klappnase@freenet.de> - 2017-12-03 00:40 +0100
Re: BIOS Can Not Find Disk deloptes <deloptes@gmail.com> - 2017-12-03 05:50 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-03 11:00 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-03 12:50 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-03 18:40 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-03 19:10 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-03 20:40 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-03 20:20 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2017-12-03 22:00 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-03 23:00 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-03 23:50 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-04 00:50 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-05 00:50 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-05 03:40 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-06 23:20 +0100
Re: BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-07 00:10 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-07 21:50 +0100
Re: (OT) BIOS Can Not Find Disk Felix Miata <mrmazda@earthlink.net> - 2017-12-08 00:10 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-03 11:10 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2018-02-21 04:10 +0100
Re: BIOS Can Not Find Disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-02-21 23:20 +0100
Re: BIOS Can Not Find Disk Dan Norton <dnorton@mindspring.com> - 2018-02-22 02:20 +0100
csiph-web