[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up UEFI boot



Hi,

> I downloaded the live no-desktop-environment image from cdimage.debian.org

Well, cdimage.debian.org leads to many ISO images.
Your description would match debian-live-8.4.0-amd64-standard.iso .

  wget http://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-8.4.0-amd64-standard.iso

  xorriso -indev debian-live-8.4.0-amd64-standard.iso \
          -report_system_area plain \
          -report_el_torito plain

reports only BIOS equipment:

  ...
  MBR partition table:   N Status  Type        Start       Blocks
  MBR partition      :   1   0x80  0x17           64       853952
  ...
  El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
  El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4      194654
  El Torito img path :   1  /isolinux/isolinux.bin
  El Torito img opts :   1  boot-info-table isohybrid-suitable
  ...

So yes, this will not boot via EFI, because it does not advertise
an EFI System Partition.


> essentially dd if=<image> of=/dev/sdc bs=4M ; sync

In general ok. It depends on the <image> what you get as boot equipment.


> wrongly putting /dev/sdc1

Already one mistake done and put aside.


> was able to boot once I enabled legacy boot support in my UEFI setup.

Then it is very interesting for me to see the exact ISO you use.

If you want to test one that is surely aiming at UEFI, try

  wget http://cdimage.debian.org/debian-cd/8.4.0/amd64/iso-cd/debian-8.4.0-amd64-netinst.iso

which offers

  ...
  MBR partition table:   N Status  Type        Start       Blocks
  MBR partition      :   1   0x80  0x00            0       505856
  MBR partition      :   2   0x00  0xef         3900          832
  MBR partition path :   2  /boot/grub/efi.img
  ...
  [GPT and APM stuff probably ignored by firmware]
  ...
  El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
  El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4        1183
  El Torito boot img :   2  UEFI  y   none  0x0000  0x00    832         975
  El Torito img path :   1  /isolinux/isolinux.bin
  El Torito img opts :   1  boot-info-table isohybrid-suitable
  El Torito img path :   2  /boot/grub/efi.img
  ...

Here, the file /boot/grub/efi.img is advertised as EFI System Partition.

Please try whether such an ISO boots for you without legacy boot support.

The installation ISOs are quite live, too. Maybe they already suit your
needs. If not, then one will have to ask for Debian live ISOs to
adopt the boot equipment of the debian-cd ISOs.


Have a nice day :)

Thomas


Reply to: