I did an DVD update from 42.1. to 42.3. Everything worked good but at the end the system is not booting.
The Message is:
“error: no such device: /efi/boot/fallback.efi”
Hardware is a notebook with one disk - nothing special.
I can boot the system with the DVD menue “Boot Linux System”
When booting von sda, the one and only disk
sda3:/boot/vmlinuz-4.4.114-42-default
everything is fine - good working suse.
What is the way to fix the boot-problem?
hkoschinski:
I did an DVD update from 42.1. to 42.3. Everything worked good but at the end the system is not booting.
The Message is:
“error: no such device: /efi/boot/fallback.efi”
Hardware is a notebook with one disk - nothing special.
I can boot the system with the DVD menue “Boot Linux System”
When booting von sda, the one and only disk
sda3:/boot/vmlinuz-4.4.114-42-default
everything is fine - good working suse.
What is the way to fix the boot-problem?
… well, you could try the Yast=>Boot Loader module, make a change in there of any sort, and see if it the reinstall of Grub2 fixes the problem.
Fraser_Bell:
… well, you could try the Yast=>Boot Loader module, make a change in there of any sort, and see if it the reinstall of Grub2 fixes the problem.
I did many changes in Yast–> Boot Loader.
But the system ends farther with the message “EFI Directory not found”
Is there a little bit more specific action I can do?
Please help
The point is not to change the defaults just change something then back to trick the software into thinking a change has been made force it to reinstall. Randomly changing things will break something:O
When you boot the installed OS via the DVD, what is reported by the following?
fdisk -l
parted -l
… and, also, the output from
cat /etc/default/grub_installdevice
So here are the requested informations - hope this help you to help me:
hp350:~ # fdisk -l
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0811B55F-5728-4E6A-8C94-88635C7132B2
Device Start End Sectors Size Type
/dev/sda1 2048 16383 14336 7M BIOS boot
/dev/sda2 16384 62926847 62910464 30G Microsoft basic data
/dev/sda3 62926848 1953523711 1890596864 901.5G Microsoft basic data
hp350:~ # parted -l
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot
Number Start End Size File system Name Flags
1 1049kB 8389kB 7340kB primary bios_grub
2 8389kB 32.2GB 32.2GB linux-swap(v1) primary
3 32.2GB 1000GB 968GB ext4 primary legacy_boot
Error: Can’t have a partition outside the disk!
Model: hp DVDRW DU8A6SH (scsi)
Disk /dev/sr0: 4640MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:
hp350:~ # cat /etc/default/grub_installdevice
/dev/disk/by-uuid/c912a0df-d13e-4f1a-95e6-65c216a67e8a
activate
generic_mbr
--------------------------------------------------------------------------------------------------------------------------
hp350:~ # fdisk -l
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0811B55F-5728-4E6A-8C94-88635C7132B2
Device Start End Sectors Size Type
/dev/sda1 2048 16383 14336 7M BIOS boot
/dev/sda2 16384 62926847 62910464 30G Microsoft basic data
/dev/sda3 62926848 1953523711 1890596864 901.5G Microsoft basic data
-----------------------------------------------------------------------------------------------------------------------
hp350:~ # parted -l
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot
Number Start End Size File system Name Flags
1 1049kB 8389kB 7340kB primary bios_grub
2 8389kB 32.2GB 32.2GB linux-swap(v1) primary
3 32.2GB 1000GB 968GB ext4 primary legacy_boot
Error: Can't have a partition outside the disk!
Model: hp DVDRW DU8A6SH (scsi)
Disk /dev/sr0: 4640MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:
--------------------------------------------------------------------------------------------------------------------------
hp350:~ # cat /etc/default/grub_installdevice
/dev/disk/by-uuid/c912a0df-d13e-4f1a-95e6-65c216a67e8a
activate
generic_mbr
--------------------------------------------------------------------------------------------------------------------------
Also, give the output from:
blkid
and your current boot command line from in Yast=>Bootloader, the Resume= line is what I want to also see.
hp350:~ # blkid
/dev/sda1: PARTLABEL="primary" PARTUUID="c58cd97c-12ce-499a-ac14-530a1a93eba1"
/dev/sda2: UUID="06fbd5d0-760f-4d6f-bda6-a160a3647ffa" TYPE="swap" PARTLABEL="primary" PARTUUID="9e00f7ea-7ddc-4666-90a3-5aeb21b82234"
/dev/sda3: UUID="c912a0df-d13e-4f1a-95e6-65c216a67e8a" TYPE="ext4" PTTYPE="dos" PARTLABEL="primary" PARTUUID="cac4c8c0-fe0c-4bc0-9a41-43f1576d68d1"
/dev/sr0: UUID="2017-07-19-16-46-54-00" LABEL="openSUSE-Leap-42.3-DVD-x86_64033" TYPE="iso9660" PTUUID="1b681c50" PTTYPE="dos"
hp350:~ # cat /proc/cmdline
root=/dev/sda3
mrmazda:
What’s the output from
/usr/sbin/efibootmgr
hp350:~ # /usr/sbin/efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 2002,2001,2004
Boot0000* Notebook Hard Drive
Boot0001* USB Hard Drive - General USB Flash Disk
Boot0002* Internal CD/DVD ROM Drive
Boot0003* Internal CD/DVD ROM Drive (UEFI)
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Sorry to ask for still more info, but get bootinfoscript and give us the output from it.
I don’t see a boot flag anywhere, but neither do I see where the bootloader was installed. All your activity with YaST2 bootloader may have removed a needed boot flag. Efibootmgr shows the internal HD isn’t considered a boot device, but I’m not convinced whether your openSUSE is configured to boot in legacy or UEFI mode. The script will explain everything.
Well, that cannot be right. Here is an example of what the boot commandline should look like:
BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.4-default root=UUID=d66e5378-1d38-412e-92d5-afdd11323925 resume=/dev/disk/by-uuid/47dff67a-48d7-46a1-84fa-adacb49b8130 splash=verbose showopts
hkoschinski:
hp350:~ # /usr/sbin/efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 2002,2001,2004
Boot0000* Notebook Hard Drive
Boot0001* USB Hard Drive - General USB Flash Disk
Boot0002* Internal CD/DVD ROM Drive
Boot0003* Internal CD/DVD ROM Drive (UEFI)
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
… and this says that your Notebook Hard Drive (0000) is not even in the BootOrder.
And, this is UEFI-related.
mrmazda:
Sorry to ask for still more info, but get bootinfoscript and give us the output from it.
I don’t see a boot flag anywhere, but neither do I see where the bootloader was installed. All your activity with YaST2 bootloader may have removed a needed boot flag. Efibootmgr shows the internal HD isn’t considered a boot device, but I’m not convinced whether your openSUSE is configured to boot in legacy or UEFI mode. The script will explain everything.
The whole output from bootinfoscript is here https://pastebin.com/sgM4ykiT
The first lines following
Boot Info Script 0.77 [10 June 2018]
============================= Boot Info Summary: ===============================
=> Syslinux GPTMBR (4.04-5.01) is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda3
and looks at sector 1133696032 of the same hard drive
for core.img. core.img is at this location and looks
for (,gpt3)/boot/grub2. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_gpt biosdisk
-------------------------------------------------------
Operating System: openSUSE Leap 42.3
Boot files: /boot/grub2/grub.cfg /etc/fstab
/boot/grub2/i386-pc/core.img
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 16,383 14,336 BIOS Boot partition
/dev/sda2 16,384 62,926,847 62,910,464 Data partition (Windows/Linux)
/dev/sda3 B 62,926,848 1,953,523,711 1,890,596,864 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1
/dev/sda2 06fbd5d0-760f-4d6f-bda6-a160a3647ffa swap
/dev/sda3 c912a0df-d13e-4f1a-95e6-65c216a67e8a ext4
/dev/sr0 2017-07-19-16-46-54-00 iso9660 openSUSE-Leap-42.3-DVD-x86_64033
========================= "ls -l /dev/disk/by-id" output: ======================