No Bootable Device Found / Error While Mounting

Help with issues regarding installation of Debian

Re: No Bootable Device Found / Error While Mounting

Postby Olympiq » 2018-10-15 05:26

For EFI Part
Code: Select all
# mount -r /dev/mmcblk0p1 /mnt
# mount -o remount,rw /cdrom
# ls /mnt >/cdrom/efipart.txt
# sync (this was suggested earlier in the thread with fdisk.txt)
# umount /mnt
# exit


Attaching the device to a Windows PC, I received a notification that the drive may contain errors. Upon attempting to open efipart.txt, the only text it contains is 'EFI'. I was unsure of what commands to use to view the output that would be in efipart.txt, but in the terminal instead.


For EFI Boot Manager
I think I made my boot order a little unusual in the BIOS for the sake of experimenting, but I made sure the installation media was placed first
Code: Select all
# efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001, 2002, 2003
Boot0000* USB HDD: KingstonDT 101 II
Boot0001* Unknown Device:
Boot0002* debian
Boot0003* Unknown Device:
Boot0004* Windows Boot Manager
Boot0005* Windows Boot Manager
Boot0006* Windows Boot Manager
Boot0007* EFI USB Device
Boot0008* EFI Network
Boot000A* Windows Boot Manager
Boot000B* EFI USB Device
Boot000C* EFI Network
Boot000D* Windows Boot Manager
Boot000E* Windows Boot Manager
Boot000F* EFI USB Device
Boot0016* Windows Boot Manager
Boot2001* EFI USB Device
Boot2003* EFI Network


efibootmgr is available only in the installed system environment.

Sorry about the contradiction on that - since efibootmgr was accepted and gave an output, I can only assume this was in the installed system environment.
User avatar
Olympiq
 
Posts: 9
Joined: 2018-10-12 09:17

Re: No Bootable Device Found / Error While Mounting

Postby p.H » 2018-10-20 09:54

Olympiq wrote:Attaching the device to a Windows PC, I received a notification that the drive may contain errors

Maybe remounting /cdrom read-only after the sync would have avoided it.

Olympiq wrote: Upon attempting to open efipart.txt, the only text it contains is 'EFI'.

This is expected when running ls without the -r (recursive) option. If -r is not supported by the available ls version, you must first identify all subdirectories and append their contents to the file.
For example, if
Code: Select all
ls -l /mnt

shows directory "EFI", then run
Code: Select all
ls -l /mnt/EFI

If it shows "BOOT" and "debian", then run
Code: Select all
ls -l /mnt/EFI/BOOT /mnt/EFI/debian

and so on until you found all subdirectories. Then run
Code: Select all
ls -l /mnt /mnt/EFI /mnt/EFI/BOOT /mnt/EFI/debian (other subdir...) > /cdrom/efipart.txt


Olympiq wrote:BootOrder: 2001, 2002, 2003
Boot0000* USB HDD: KingstonDT 101 II
Boot0001* Unknown Device:
Boot0002* debian

Debian has an EFI boot entry but its number 0002 is not in the BootOrder so it won't boot automatically. You could try to change the boot order with
Code: Select all
efibootmgr -o 0002,2001,2002,2003

Boot entry number 2002 does not seem to exist, so the command may reject it. If so, try again and remove it from the list.
p.H
 
Posts: 631
Joined: 2017-09-17 07:12

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable