Clear linux not booting

I found some documentation to try and fix the issue and followed it exactly:
https://docs.01.org/clearlinux/latest/guides/maintenance/fix-broken-install.html

Here is what I see:
clrlinux@clr-live~ $ lsblk

    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    loop0    7:0    0   2.2G  1 loop 
    sda      8:0    0 698.7G  0 disk 
    ├─sda1   8:1    0   142M  0 part 
    ├─sda2   8:2    0   244M  0 part 
    └─sda3   8:3    0 698.3G  0 part 
    sdb      8:16   0   2.7T  0 disk 
    ├─sdb1   8:17   0   128M  0 part 
    └─sdb2   8:18   0   2.7T  0 part 
    sdc      8:32   1  29.5G  0 disk 
    ├─sdc1   8:33   1   2.4G  0 part 
    └─sdc2   8:34   1   100M  0 part 
    sr0     11:0    1  1024M  0 rom  

    clrlinux@clr-live~ $ sudo mount /dev/sda3 /mnt
    clrlinux@clr-live~ $ cat /mnt/usr/lib/os-release
    NAME="Clear Linux OS"
    VERSION=1
    ID=clear-linux-os
    ID_LIKE=clear-linux-os
    VERSION_ID=30770
    PRETTY_NAME="Clear Linux OS"
    ANSI_COLOR="1;35"
    HOME_URL="https://clearlinux.org"
    SUPPORT_URL="https://clearlinux.org"
    BUG_REPORT_URL="dev@lists.clearlinux.org"
    PRIVACY_POLICY_URL="http://www.intel.com/privacy"
    clrlinux@clr-live~ $ sudo swupd repair --picky --path=/mnt
    Diagnosing version 30770

Checking for corrupt files
	...100%

Starting download of remaining update content. This may take a while...

Adding any missing files
	...100%

Repairing corrupt files
 -> Hash mismatch for file: /mnt/proc -> not fixed
 -> Hash mismatch for file: /mnt/sys -> not fixed
	...100%

--picky removing extra files under /mnt/usr
REMOVING /usr/share/fonts/truetype/liberation/.uuid
REMOVING /usr/share/fonts/truetype/.uuid
REMOVING /usr/share/fonts/terminus/.uuid
REMOVING /usr/share/fonts/roboto/.uuid
REMOVING /usr/share/fonts/noto/.uuid
REMOVING /usr/share/fonts/noto-emoji/.uuid
REMOVING /usr/share/fonts/noto-cjk/.uuid
REMOVING /usr/share/fonts/cantarell/.uuid
REMOVING /usr/share/fonts/adobe-source-code-pro/.uuid
REMOVING /usr/share/fonts/X11/misc/.uuid
REMOVING /usr/share/fonts/X11/encodings/.uuid
REMOVING /usr/share/fonts/X11/Type1/.uuid
REMOVING /usr/share/fonts/X11/TTF/.uuid
REMOVING /usr/share/fonts/X11/OTF/.uuid
REMOVING /usr/share/fonts/X11/75dpi/.uuid
REMOVING /usr/share/fonts/X11/100dpi/.uuid
REMOVING /usr/share/fonts/X11/.uuid
REMOVING /usr/share/fonts/.uuid

Inspected 212442 files
  2 files did not match
    0 of 2 files were repaired
    2 of 2 files were not repaired
  18 files found which should be deleted
    18 of 18 files were deleted
    0 of 18 files were not deleted

Calling post-update helper scripts
[FATAL] cbm (../src/bootman/bootman.c:L430): Cannot determine boot device
[FATAL] cbm (../src/bootman/update.c:L144): Failed to set the default kernel to: /mnt//usr/lib/kernel/org.clearlinux.native.5.2.8-818

Repair did not fully succeed
clrlinux@clr-live~ $ 

Any help would be much appreciated.

1 Like

Can you try manually picking a boot device and selecting the right disk? I’m wondering if it’s trying to boot off your other media and not even trying the disk with CL installed.

Try mounting and listing the contents of /dev/sda1, your /boot partition to verify it is intact.

Also, check your system BIOS/EFI for any updates. I know it sounds rudimentary, but we’ve had some reports that were simply fixed by updating and it’s an easy thing to check off the diagnostics list.

Boot partition looks good:

clrlinux@clr-live~ $ sudo mount /dev/sda1 /boot
clrlinux@clr-live~ $ ls -la /boot
total 2
drwxr-xr-x 4 root root 512 Jan  1  1970 .
drwxr-xr-x 1 root root 240 Aug 14 13:43 ..
drwxr-xr-x 4 root root 512 Aug 14 02:27 EFI
drwxr-xr-x 3 root root 512 Aug 14 02:27 loader

I cant manually select a boot device in this bios as it does not recognize anything bootable. The BIOS in this machine is strange in that way, the list of bootable options is dynamic. If you plug in a usb drive it will show up on the list if you enter the bios, otherwise usb will not be on the list. IF I remove everything from the laptop, then enter the bios, and go to the menu where you define the boot preferences, the list is empty. I wiped windows from it just to give clear linux a try so I am kind of stuck in the live disk for now. I will see if I can find some way to flash the bios without needing to reload windows (I do have the HDD cloned and backed up so I can be back on my feet in about 30 minutes once I get home)

Update the bios the latest version may solve some strange problems.

Also check whether you have multiple EFI partitions – sdb1, and maybe sdc2, look suspicious. This will give us a better picture:
$ lsblk -o NAME,FSTYPE,LABEL,PARTLABEL,TYPE,MOUNTPOINT