LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   System BootOrder not Found (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/system-bootorder-not-found-4175584185/)

Ererer 07-09-2016 10:53 AM

System BootOrder not Found
 
1 Attachment(s)
I am posting here because I have boot issues with every distro I tried, and they all give a similar error, so I think that this is a hardware (BIOS) issue?

Ever since I removed Windows from my laptop ( https://www.amazon.com/Toshiba-Satel...&redirect=true ), I have had boot issues-galore. I am finally posting here because I don't want something to break.

A while back, I removed Windows, and installed a flavor of linux (don't remember). I have had boot issues-- boot delays, blank screens, no-booting-at-all, hardware lockups, etc since. I have been distro hopping to see if it is the distro's fault or not. It isn't. I have tried about 15 distros and they all get some sort of error. I have tried installing with/without secureboot, and in legacy (csm) mode. I couldn't install linux in uefi mode for the longest time until I reset my BIOS. Now it works but with errors. I would just be using legacy mode all this time to avoid all these troubles, but a few things don't work right in csm mode (acpi is one of them).

For the real issue: please check the picture attatched. This has been happening ever since I updated Fedora recently ( I've been using Fedora for some time, but with a huge boot delay and cpu lockups). Because of the error in the picture, I keep getting a new boot entry at every boot. Eventually, my computer wouldn't boot (tried fixing grub... grub wouldn't even load). So I installed OpenSUSE Leap recently to see if it was just Fedora since things update more often in Fedora-land. I deleted the 20+ Fedora entries via efibootmgr. Then I installed OpenSUSE. I still get the error from the picture, but at least now I don't have a long boot delay and cpu lockups like in Fedora. So I am happy that OpenSUSE works with this boot-entry issue. I came here for help to see if anyone knew what could be done before OpenSUSE doesn't boot anymore (from too many entries?) like Fedora did earlier.

FYI: I installed Fedora (from earlier) in UEFI mode with secureboot disabled. I currently only have OpenSUSE installed with secureboot enabled.

Has anyone had this issue? Is it because my MBR keeps looking for Windows even though it isn't there (one of those crappy dependent computers)? Is this an indication of a hardware issue? Can anyone help me fix this? Because I like OpenSUSE... it works. Thanks!

Code:

elias@opensuse:~> sudo efibootmgr -v
root's password:
Timeout: 0 seconds
BootOrder: 0008,0016,0001,0002,0003,0004,0005,0006,0007,0000
Boot0000  opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0001* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0002* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0003* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0004* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0005* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0006* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0007* opensuse-secureboot        Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0008* opensuse-secureboot        HD(1,800,4e000,b1231ca4-1748-4103-b905-525772bb2042)File(\EFI\opensuse\shim.efi)
Boot0016* UEFI: Built-in EFI Shell        Vendor(5023b95c-db26-429b-a648-bd47664c8012,)..BO

Code:

elias@opensuse:~> systemd-analyze blame
          7.205s ModemManager.service
          7.121s avahi-daemon.service
          6.812s systemd-logind.service
          6.691s SuSEfirewall2_init.service
          3.781s dev-sda3.device
          1.931s postfix.service
          1.746s plymouth-start.service
          1.420s ntpd.service
          1.068s home.mount
          1.044s var-tmp.mount
          1.043s var-spool.mount
          1.042s var-opt.mount
          1.036s var-lib-pgsql.mount
          1.034s var-lib-named.mount
          1.033s var-lib-mysql.mount
          1.032s var-lib-mariadb.mount
          1.031s var-lib-mailman.mount
          1.029s var-lib-libvirt-images.mount
          1.024s var-crash.mount
          1.022s usr-local.mount
          1.022s var-log.mount
          1.021s tmp.mount
          1.020s srv.mount
          1.017s boot-grub2-x86_64\x2defi.mount
          1.016s boot-grub2-i386\x2dpc.mount
          755ms boot-efi.mount
          718ms dev-disk-by\x2duuid-ec095e3d\x2d0c65\x2d41a2\x2dbafd\x2deba2b7c
          655ms sys-kernel-debug.mount
          653ms dev-mqueue.mount
          652ms dev-hugepages.mount
          621ms systemd-journald.service
          616ms user@1000.service
          613ms systemd-tmpfiles-setup-dev.service
          612ms console-kit-log-system-start.service
          510ms SuSEfirewall2.service
          495ms systemd-udev-trigger.service
          486ms systemd-tmpfiles-setup.service
          469ms systemd-udev-root-symlink.service
          468ms display-manager.service
          434ms apparmor.service
          369ms systemd-remount-fs.service
          350ms opt.mount
          345ms geoclue.service
          336ms bluetooth.service
          268ms plymouth-read-write.service
          200ms systemd-udevd.service
          196ms systemd-sysctl.service
          195ms nscd.service
          192ms udisks2.service
          188ms systemd-backlight@backlight:intel_backlight.service
          183ms systemd-user-sessions.service
          181ms wpa_supplicant.service
          165ms polkit.service
          145ms \x2esnapshots.mount
            97ms systemd-random-seed.service
            83ms rc-local.service
            76ms systemd-vconsole-setup.service
            71ms alsa-restore.service
            69ms systemd-readahead-replay.service
            48ms NetworkManager.service
            47ms systemd-modules-load.service
            41ms auditd.service
            37ms systemd-update-utmp.service
            25ms console-kit-daemon.service
            23ms sys-fs-fuse-connections.mount
            21ms systemd-rfkill@rfkill0.service
            21ms upower.service
            20ms systemd-tmpfiles-clean.service
            16ms systemd-readahead-collect.service
            13ms iscsi.service
            10ms systemd-update-utmp-runlevel.service
            9ms systemd-journal-flush.service
            7ms systemd-readahead-done.service
            4ms kmod-static-nodes.service
            4ms systemd-rfkill@rfkill2.service

Code:

elias@opensuse:~> sudo fdisk -l
root's password:

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DD3F89F1-685D-43A9-8D79-0D54CC9CDAAF

Device        Start      End  Sectors  Size Type
/dev/sda1      2048    321535    319488  156M EFI System
/dev/sda2    321536  4530175  4208640    2G Microsoft basic data
/dev/sda3  4530176  88422399  83892224    40G Microsoft basic data
/dev/sda4  88422400 976773119 888350720 423.6G Microsoft basic data

Hmm... fdisk mentions "Microsoft". Sketchy...
Code:

elias@opensuse:~> sudo parted -l
Model: ATA TOSHIBA MQ01ABF0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End    Size    File system    Name    Flags
 1      1049kB  165MB  164MB  fat16          primary  boot
 2      165MB  2319MB  2155MB  linux-swap(v1)  primary
 3      2319MB  45.3GB  43.0GB  btrfs          primary
 4      45.3GB  500GB  455GB  btrfs          primary

Code:

elias@opensuse:~> sudo blkid
/dev/sda1: SEC_TYPE="msdos" UUID="45D2-76C7" TYPE="vfat" PARTLABEL="primary" PARTUUID="b1231ca4-1748-4103-b905-525772bb2042"
/dev/sda2: UUID="ec095e3d-0c65-41a2-bafd-eba2b7cf7ad2" TYPE="swap" PARTLABEL="primary" PARTUUID="47490c5c-1fa6-4c4b-861c-7dd8888b679f"
/dev/sda3: UUID="cf67e55c-d5e9-4c2d-b67b-88a4df517426" UUID_SUB="5deaa7f6-de0d-43c7-8a72-1578b7b683c6" TYPE="btrfs" PARTLABEL="primary" PARTUUID="e8ab9b92-bbc0-4abc-a06c-5157fb6df4b3"
/dev/sda4: UUID="8b957722-e529-4250-a535-7548c2244d56" UUID_SUB="ab8e4432-59fc-4d30-8d26-49490b5ce2fa" TYPE="btrfs" PARTLABEL="primary" PARTUUID="9ba25762-2696-4134-9442-cfab6f85e98d"

Code:

elias@opensuse:~> sudo dmidecode -t bios
root's password:
# dmidecode 2.12
# SMBIOS entry point at 0xb9898b98
SMBIOS 2.8 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: TOSHIBA
        Version: 5.10
        Release Date: 08/10/2015
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 1024 kB
        Characteristics:
                PCI is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                BIOS ROM is socketed
                EDD is supported
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 5.10
        Firmware Revision: 5.10

Handle 0x0019, DMI type 13, 22 bytes
BIOS Language Information
        Language Description Format: Long
        Installable Languages: 2
                en|US|iso8859-1
                fr|FR|iso8859-1
        Currently Installed Language: en|US|iso8859-1

Sorry if the image attatched is blurry. :-/

Keruskerfuerst 07-09-2016 02:22 PM

You should try to disable the following:
336ms bluetooth.service
268ms plymouth-read-write.service
13ms iscsi.service
181ms wpa_supplicant.service

syg00 07-09-2016 08:54 PM

How would that solve anything ?. I don't think the OP is worried about a delay of less than a second.

@Ererer, how did you remove Win ? - did you remove the directory from the EFI partition ?. Let's see what is in that partition (just a ls from Suse will do).

Ererer 07-09-2016 09:43 PM

Quote:

how did you remove Win ? - did you remove the directory from the EFI partition ?
Since that was quite some time ago... I do remember that I kept the efi partition, but that gave me errors as to "error reading from sector efx0 (or whatever is was) on hd1". So my computer was still looking for Windows after it was removed. This caused a big boot delay and sometimes non-boot of the distros I remember. Eventually I just wiped everything to try and fix it, but that was when I couldn't boot with uefi mode anymore.

I have to add this for reference: eventually I got tired of using the buggy csm mode (I had to use it just to boot and use my computer) so I wiped everything by installing Windows again (the tech preview for 10). I then "reset" (and updated) my BIOS from Windows. Then I removed Windows, completely wiped everything, and installed a distro. Now I have been able to boot with uefi mode enabled, but with errors, lockups, and non-boots here and there. At least I don't get the "error reading from sector efx0 (or whatever is was) on hd1" anymore...

Code:

This is from YAST:

Device: /dev/sda1
Size: 156.00 MiB
Encrypted: No
Device Path: pci-0000:00:13.0-ata-1.0-part1
Device ID 1: ata-TOSHIBA_MQ01ABF050_25BYCG4KT-part1
Device ID 2: scsi-0ATA_TOSHIBA_MQ01ABF0_25BYCG4KT-part1
Device ID 3: scsi-1ATA_TOSHIBA_MQ01ABF050_25BYCG4KT-part1
Device ID 4: scsi-35000039614383daa-part1
Device ID 5: scsi-SATA_TOSHIBA_MQ01ABF0_25BYCG4KT-part1
Device ID 6: scsi-SATA_TOSHIBA_MQ01ABF_25BYCG4KT-part1
Device ID 7: wwn-0x5000039614383daa-part1
FS ID: 0x103 EFI boot
File System:
File System: FAT
Mount Point: /boot/efi

Code:

elias@opensuse:~> ls -R /boot
/boot:
boot.readme              perl-BL_delayed_exec
config-4.1.26-21-default  symvers-4.1.26-21-default.gz
dracut                    sysctl.conf-4.1.26-21-default
efi                      System.map-4.1.26-21-default
grub2                    vmlinux-4.1.26-21-default.gz
initrd                    vmlinuz
initrd-4.1.26-21-default  vmlinuz-4.1.26-21-default
message

/boot/dracut:

/boot/efi:
EFI

/boot/efi/EFI:
boot  opensuse

/boot/efi/EFI/boot:
bootx64.efi  fallback.efi

/boot/efi/EFI/opensuse:
boot.csv  grub.cfg  grub.efi  grubx64.efi  MokManager.efi  shim.efi

/boot/grub2:
backgrounds  fonts  grub.cfg  grubenv  i386-pc  locale  themes  x86_64-efi

/boot/grub2/backgrounds:

/boot/grub2/fonts:
unicode.pf2

/boot/grub2/i386-pc:

/boot/grub2/locale:
ast.mo  de.mo  fi.mo  hu.mo  ja.mo  nl.mo  pt_BR.mo  sv.mo  vi.mo
ca.mo  eo.mo  fr.mo  id.mo  ko.mo  pa.mo  ru.mo    tr.mo  zh_CN.mo
da.mo  es.mo  gl.mo  it.mo  lt.mo  pl.mo  sl.mo    uk.mo  zh_TW.mo

/boot/grub2/themes:
openSUSE

/boot/grub2/themes/openSUSE:
ascii.pf2              select_c.png            terminal_box_n.png
background.png        slider_c.png            terminal_box_nw.png
COPYING.CC-BY-SA-3.0  slider_n.png            terminal_box_se.png
DejaVuSans10.pf2      slider_s.png            terminal_box_s.png
DejaVuSans12.pf2      terminal-background.png  terminal_box_sw.png
DejaVuSans-Bold14.pf2  terminal_box_c.png      terminal_box_w.png
old-icons              terminal_box_e.png      theme.txt
README                terminal_box_ne.png

/boot/grub2/themes/openSUSE/old-icons:
debian.png  gentoo.png  linuxmint.png  opensuse.png  sabayon.png  windows.png
fedora.png  kubuntu.png  macosx.png    recovery.png  ubuntu.png

/boot/grub2/x86_64-efi:
acpi.mod              gcry_whirlpool.mod        part_msdos.mod
adler32.mod          geli.mod                  part_plan.mod
affs.mod              gettext.mod              part_sun.mod
afs.mod              gfxmenu.mod              part_sunpc.mod
ahci.mod              gfxterm_background.mod    parttool.lst
all_video.mod        gfxterm_menu.mod          parttool.mod
aout.mod              gfxterm.mod              password.mod
appleldr.mod          gptsync.mod              password_pbkdf2.mod
archelp.mod          grub.efi                  pata.mod
ata.mod              gzio.mod                  pbkdf2.mod
at_keyboard.mod      halt.mod                  pbkdf2_test.mod
backtrace.mod        hashsum.mod              pcidump.mod
bfs.mod              hdparm.mod                play.mod
bitmap.mod            hello.mod                png.mod
bitmap_scale.mod      help.mod                  priority_queue.mod
blocklist.mod        hexdump.mod              probe.mod
boot.mod              hfs.mod                  procfs.mod
bsd.mod              hfspluscomp.mod          progress.mod
btrfs.mod            hfsplus.mod              raid5rec.mod
bufio.mod            http.mod                  raid6rec.mod
cat.mod              iorw.mod                  read.mod
cbfs.mod              iso9660.mod              reboot.mod
cbls.mod              jfs.mod                  regexp.mod
cbmemc.mod            jpeg.mod                  reiserfs.mod
cbtable.mod          keylayouts.mod            relocator.mod
cbtime.mod            keystatus.mod            romfs.mod
chain.mod            ldm.mod                  scsi.mod
cmdline_cat_test.mod  legacycfg.mod            search_fs_file.mod
cmp.mod              legacy_password_test.mod  search_fs_uuid.mod
command.lst          linux16.mod              search_label.mod
configfile.mod        linuxefi.mod              search.mod
core.efi              linux.mod                serial.mod
cpio_be.mod          loadbios.mod              setjmp.mod
cpio.mod              load.cfg                  setjmp_test.mod
cpuid.mod            loadenv.mod              setpci.mod
crc64.mod            loopback.mod              sfs.mod
cryptodisk.mod        lsacpi.mod                signature_test.mod
crypto.lst            lsefimmap.mod            sleep.mod
crypto.mod            lsefi.mod                sleep_test.mod
cs5536.mod            lsefisystab.mod          spkmodem.mod
datehook.mod          lsmmap.mod                squash4.mod
date.mod              ls.mod                    syslinuxcfg.mod
datetime.mod          lspci.mod                tar.mod
diskfilter.mod        lssal.mod                terminal.lst
disk.mod              luks.mod                  terminal.mod
div_test.mod          lvm.mod                  terminfo.mod
dm_nv.mod            lzopio.mod                test_blockarg.mod
echo.mod              macbless.mod              testload.mod
efifwsetup.mod        macho.mod                test.mod
efi_gop.mod          mdraid09_be.mod          testspeed.mod
efinet.mod            mdraid09.mod              tftp.mod
efi_uga.mod          mdraid1x.mod              tga.mod
ehci.mod              memdisk.mod              time.mod
elf.mod              memrw.mod                trig.mod
eval.mod              minicmd.mod              tr.mod
exfat.mod            minix2_be.mod            true.mod
exfctest.mod          minix2.mod                udf.mod
ext2.mod              minix3_be.mod            ufs1_be.mod
extcmd.mod            minix3.mod                ufs1.mod
fat.mod              minix_be.mod              ufs2.mod
file.mod              minix.mod                uhci.mod
fixvideo.mod          mmap.mod                  usb_keyboard.mod
font.mod              moddep.lst                usb.mod
fshelp.mod            modinfo.sh                usbms.mod
fs.lst                morse.mod                usbserial_common.mod
functional_test.mod  mpi.mod                  usbserial_ftdi.mod
gcry_arcfour.mod      msdospart.mod            usbserial_pl2303.mod
gcry_blowfish.mod    multiboot2.mod            usbserial_usbdebug.mod
gcry_camellia.mod    multiboot.mod            usbtest.mod
gcry_cast5.mod        nativedisk.mod            verify.mod
gcry_crc.mod          net.mod                  video_colors.mod
gcry_des.mod          newc.mod                  video_fb.mod
gcry_dsa.mod          nilfs2.mod                videoinfo.mod
gcry_idea.mod        normal.mod                video.lst
gcry_md4.mod          ntfscomp.mod              video.mod
gcry_md5.mod          ntfs.mod                  videotest_checksum.mod
gcry_rfc2268.mod      odc.mod                  videotest.mod
gcry_rijndael.mod    offsetio.mod              xfs.mod
gcry_rmd160.mod      ohci.mod                  xnu.mod
gcry_rsa.mod          part_acorn.mod            xnu_uuid.mod
gcry_seed.mod        part_amiga.mod            xnu_uuid_test.mod
gcry_serpent.mod      part_apple.mod            xzio.mod
gcry_sha1.mod        part_bsd.mod              zfscrypt.mod
gcry_sha256.mod      part_dfly.mod            zfsinfo.mod
gcry_sha512.mod      part_dvh.mod              zfs.mod
gcry_tiger.mod        part_gpt.mod
gcry_twofish.mod      partmap.lst

Hope it's the right info :/

Ererer 07-09-2016 09:46 PM

@Keruskerfuerst thanks for "reminding" me... I needed to disable bluetooth.service anyways since it wastes precious battery on this laptop. ;-D

syg00 07-09-2016 10:34 PM

That answers one query - whether the machine would boot without the Win entry. Maybe the update did it.

Might be worth running a long smart test against the disk.

Keruskerfuerst 07-10-2016 01:18 AM

Can you disable secure boot or similar in the Bios?

This is strange:

BootOrder: 0008,0016,0001,0002,0003,0004,0005,0006,0007,0000
Boot0000 opensuse-secureboot Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0001* opensuse-secureboot Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0002* opensuse-secureboot Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)

Ererer 07-17-2016 04:20 PM

Fixed!!
 
Sorry I couldn't reply sooner... went on a tech-free vacation.

The error is gone now, and everything boots well. efibootmgr is normal; entries aren't added anymore for no reason! How I did it:

-Deleted duplicate entries in efibootmgr (except current one)
-Set boot order (efibootmgr -o 000C, OO16)
-Updated grub

Now everything works great. From me setting the boot order must have reset something. Also, I noticed that uefi: built in efi shell boots before opensuse (as seen below). That might have been the issue this whole time?
Code:

elias@opensuse:~> sudo efibootmgr -v
root's password:
BootCurrent: 000C
Timeout: 0 seconds
BootOrder: 0016,000C
Boot000C* opensuse-secureboot        HD(1,800,4e000,b1231ca4-1748-4103-b905-525772bb2042)File(\EFI\opensuse\shim.efi)
Boot0016* UEFI: Built-in EFI Shell        Vendor(5023b95c-db26-429b-a648-bd47664c8012,)..BO

FYI: I don't get cpu lockups (boot delay) with opensuse, as I have with ome other distros. I will just assume that it is a kernel issue and be happy ;-) So... I'm sticking with Opensuse. I don't want to touch anything else. I'm pretty sure it's my favorite anyways ;-D


All times are GMT -5. The time now is 07:27 AM.