Линукс no devices found

Fix “No Bootable Device Found” Error After Installing Ubuntu Linux

Last updated October 5, 2021 By Abhishek Prakash 669 Comments

Did you install Linux afresh or perhaps dual booted it? And now your system shows ‘no bootable device’ error while booting? Here’s what you could do to fix the issue.

Usually, I dual boot Ubuntu and Windows but this time I decided to go for a clean Ubuntu installation i.e. eliminating Windows completely.

After the clean install of Ubuntu, I ended up with a screen saying no bootable device found instead of the Grub screen. Clearly, the installation messed up with the UEFI boot settings.

My laptop screen looked like this:

I am going to show you how I fixed no bootable device found error after installing Ubuntu in Acer laptops. It is important that I mention that I am using Acer Aspire R13 because we have to change things in firmware settings and those settings might look different from manufacturer to manufacturer and from device to device.

So before you go on trying the steps mentioned here, let’s first see what state my computer was in during this error:

  • My Acer Aspire R13 came preinstalled with Windows and with UEFI boot manager
  • Secure boot was not turned off (my laptop has just come from repair and the service guy had put the secure boot on again, I did not know until I ran up in the problem). You can read this post to know how to disable secure boot in Acer laptops
  • I chose to install Ubuntu by erasing everything i.e. existing Windows, various partitions etc.
  • After installing Ubuntu, I saw no bootable device found error while booting from the hard disk. Booting from live USB worked just fine

In my opinion, not disabling the secure boot was the reason of this error. However, I have no data to backup my claim. It is just a hunch. Interestingly, dual booting Windows and Linux often ends up in common Grub issues like these two:

If you are in similar situation, you can try the fix which worked for me.

Fix no bootable device found error after installing Ubuntu

Pardon me for poor quality images. My OnePlus camera seems to be not very happy with my laptop screen.

Step 1

Turn the power off and boot into boot settings. I had to press Fn+F2 (to press F2 key) on Acer Aspire R13 quickly. You have to be very quick with it if you are using SSD hard disk because SSDs are very fast in booting. Depending upon your manufacturer/model, you might need to use Del or F10 or F12 keys.

Step 2

In the boot settings, make sure that Secure Boot is turned on. It should be under the Boot tab.

Step 3

Go to Security tab and look for “Select an UEFI file as trusted for executing” and click enter.

Just for your information, what we are going to do here is to add the UEFI settings file (it was generated while Ubuntu installation) among the trusted UEFI boots in your device. If you remember, UEFI boot’s main aim is to provide security and since Secure Boot was not disabled (perhaps) the device did not intend to boot from the newly installed OS. Adding it as trusted, kind of whitelisting, will let the device boot from the Ubuntu UEFI file.

Читайте также:  Sound blaster pro studio windows 10

Step 4

You should see your hard disk like HDD0 etc here. If you have more than one hard disk, I hope you remember where did you install Ubuntu. Press Enter here as well.

Step 5

You should see here. Press enter.

Step 6

You’ll see in next screen. Don’t get impatient, you are almost there 🙂

Step 7

You’ll see shimx64.efi, grubx64.efi and MokManager.efi file here. The important one is shimx64.efi here. Select it and click enter.

In next screen, type Yes and click enter.

Step 8

Once we have added it as trused EFI file to be executed, press F10 to save and exit.

Reboot your system and this time you should be seeing the familiar Grub screen. Even if you do not see Grub screen, you should at least not be seeing “no bootable device found” screen anymore. You should be able to boot into Ubuntu.

If your Grub screen was messed up after the fix but you got to login into it, you can reinstall Grub to boot into the familiar purple Grub screen of Ubuntu.

I hope this tutorial helped you to fix no bootable device found error. Any questions or suggestions or a word of thanks is always welcomed.

Like what you read? Please share it with others.

Источник

Arch Linux

You are not logged in.

#1 2016-01-10 04:26:13

[Solved] cannot boot, ERROR: device «» not found, skipping fsck; re.

Please help! I screwed up my work computer and I need it back online! I looked through EVERY post on this, +wiki, here and elsewhere. Didn’t work. You are my only hope.

I just need to be able to boot in. Fixing the pacman dependency issue or GRUB, or finding out what caused the initial crash, would be an added bonus.

Timeline:
(1) Yesterday my Lenovo Ideapad Yoga 211 running vanilla Arch kernel randomly crashed. I didn’t get to see the error message if there was any.
(2) Reboot failed because of a running issue with pacman kernel update breaking dependencies. I usually just boot from a USB iso, mount everything, arch-chroot, and update kernel.
(3) This time I was tired of having to do that every time I turn on the computer, so I decided to install GRUB (saw a forum post somewhere that rEFInd was causing it? not sure.)
(4) GRUB install had no errors, but won’t even show up. Just jumps straight to boot, which drops me straight into a recovery shell.
(5) rEFInd works, but still dropped into recovery or kernel panic unless mounting USB iso. Per some forum post, copied efis from /boot/ to /boot/EFI and /boot/EFI/arch

rEFInd:
(1) /boot/EFI/vmlinuz —> tries to mount /dev/mapper/arch_airootfs, kernel panic
(2) /boot/EFI/systemd/systemd-bootx64.efi —> tries to mount ‘ ‘, drops to recovery rootfs. Similar error: https://bbs.archlinux.org/viewtopic.php?id=142052
(3) /boot/EFI/arch/vmlinuz —> tries to mount ubuntu_os (. ) with correct partUUID and label. mounts successfully, but since ubuntu_os is blank, it drops to recovery rootfs. No idea where it got this value from.
(4) /boot/vmlinuz —> tries to mount arch_os with correct UUID and label, «waiting 10 seconds», kernel panic. Similar error: https://bbs.archlinux.org/viewtopic.php?id=184554

Tried several times:
genfstab -U /mnt > /mnt/etc/fstab
mkinitcpio -p linux
pacman -S linux systemd

sda1 is /boot, sda2 is /, sda3 is /home. sda4 and 5 are blank. sdb is the pen drive iso.

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

Skype Linux Mint: no device found when running as user

Skype Linux Mint: no device found when running as user

Post by carlitador » Fri Oct 04, 2019 8:37 am

I have a problem with Skype on my PC with Linux Mint 19. When I run Skype, it doesn’t recognize any of my devices anymore whereas it was working perfectly before. I tried to launch Skype as root typing: sudo skypeforlinux and then Skype sees all my devices.. This makes me believe that there is a permission problem on my devices but I have no idea how to fix it. Any idea?

Thank you very much
Cheers

Re: Skype Linux Mint: no device found when running as user

Post by MrEen » Fri Oct 04, 2019 1:40 pm

Hi carlitador, and welcome to the forum.

It sounds to me like either a permissions issue, or your running pulseaudio as the user root.

Читайте также:  The isle mac os

Run sudo chown -Rc $USER:$USER $HOME in the terminal. The list of files that fly by are root owned files in your home directory, that have no business being root owned. Make sure before you run that command that you’re not in a window with elevated privileges. You should see a $ before the cursor, not a #.

After that, a reboot may be necessary to make sure everything fires up correctly.

Re: Skype Linux Mint: no device found when running as user

Post by ajgreeny » Fri Oct 04, 2019 3:14 pm

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Sat Oct 05, 2019 3:50 am

Hi carlitador, and welcome to the forum.

It sounds to me like either a permissions issue, or your running pulseaudio as the user root.

Run sudo chown -Rc $USER:$USER $HOME in the terminal. The list of files that fly by are root owned files in your home directory, that have no business being root owned. Make sure before you run that command that you’re not in a window with elevated privileges. You should see a $ before the cursor, not a #.

After that, a reboot may be necessary to make sure everything fires up correctly.

Re: Skype Linux Mint: no device found when running as user

Post by MrEen » Sat Oct 05, 2019 1:07 pm

I don’t use skype myself, so I don’t know how much more use I can be.

You can see if cat

/.config/skypeforlinux/logs/skype-startup.log offers a hint as to why it doesn’t see the devices.

There’s some potentially useful info in this thread. The downgrading idea might be appropriate for you.

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Sun Oct 06, 2019 12:49 pm

I don’t use skype myself, so I don’t know how much more use I can be.

You can see if cat

/.config/skypeforlinux/logs/skype-startup.log offers a hint as to why it doesn’t see the devices.

There’s some potentially useful info in this thread. The downgrading idea might be appropriate for you.

I tried different versions of skype already. I am using the lowest now as its the only one I can run as root to be able to use devices. But in the past I was using a more recent version so I really dont know what happened.

Thank you again

Re: Skype Linux Mint: no device found when running as user

Post by MrEen » Sun Oct 06, 2019 1:03 pm

I copied the first line of that output and pasted it into a search engine. The first hit was exactly like your issue, but a mod sent a private message to the user so now idea if/how it may have been solved.

The other hits didn’t seem to apply to your situation.

At this point, unless another user comes along with better ideas, I’d suggest Timeshifting back to when Skype was working, if you’ve got Timeshift set up. If you’re able to do that and it works, I’d suggest running all updates one at a time afterwards and testing Skype after each update. I’d start with the kernel. Then at least you’d know which update broke Skype and for now at least could put that update on hold.

Sorry I can’t think of anything else to try.

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Mon Oct 07, 2019 5:32 am

I copied the first line of that output and pasted it into a search engine. The first hit was exactly like your issue, but a mod sent a private message to the user so now idea if/how it may have been solved.

The other hits didn’t seem to apply to your situation.

At this point, unless another user comes along with better ideas, I’d suggest Timeshifting back to when Skype was working, if you’ve got Timeshift set up. If you’re able to do that and it works, I’d suggest running all updates one at a time afterwards and testing Skype after each update. I’d start with the kernel. Then at least you’d know which update broke Skype and for now at least could put that update on hold.

Sorry I can’t think of anything else to try.

Re: Skype Linux Mint: no device found when running as user

Post by MrEen » Mon Oct 07, 2019 8:46 pm

/.config/skypeforlinux directory while the program is not running, then fire it up and see if things have improved.

Re: Skype Linux Mint: no device found when running as user

Post by thx-1138 » Mon Oct 07, 2019 10:51 pm

Читайте также:  Windows installation or recovery media missing

Re: Skype Linux Mint: no device found when running as user

Post by MrEen » Tue Oct 08, 2019 7:33 pm

Nice finds, thx-1138!

You’ll most likely need to run sudo chown -Rc $USER:$USER $HOME again as running skype as root would’ve probably changed the permissions again.

After that, I’m thinking the chances are good the newest skype will work after running sudo chmod 4755 /usr/share/skypeforlinux/chrome-sandbox

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Wed Oct 09, 2019 3:01 am

Nice finds, thx-1138!

You’ll most likely need to run sudo chown -Rc $USER:$USER $HOME again as running skype as root would’ve probably changed the permissions again.

After that, I’m thinking the chances are good the newest skype will work after running sudo chmod 4755 /usr/share/skypeforlinux/chrome-sandbox

Hi MrEen,
I ran the first command again and it is not working.
For the second one, I don’t have any file called «chrome-sandbox» in sudo chmod 4755 /usr/share/skypeforlinux/. I think the guy who ran this command in Manjaro uses Skype in Chrome which I don’t. I have the desktop app
Their problem looks different because they cannot even start the app. I am able to use Skype BUT no devices are recognized.

Re: Skype Linux Mint: no device found when running as user

Post by thx-1138 » Wed Oct 09, 2019 3:16 am

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Wed Oct 09, 2019 3:25 am

Re: Skype Linux Mint: no device found when running as user

Post by thx-1138 » Wed Oct 09, 2019 3:37 am

Can’t really offer any other suggestion myself. i’d try chmod-ing the chrome-sandbox in 8.53.0.85,
maybe also try the flatpak version as an alternative (which also appears to have similar issues. ),
and if that didn’t do it, return back to older 8.50.0.38.
Then try out newer versions every now & then,
with the hope it does get fixed (and / or with the above additional workaround as well in mind).

Ie. i don’t really think it’s an issue with your system per se, i simply think that Microsoft has messed it up for some people
(that is, judging by reading similar ioctl failed threads over at Microsoft’s Skype forums as well).

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Wed Oct 09, 2019 6:07 am

Ie. i don’t really think it’s an issue with your system per se, i simply think that Microsoft has messed it up for some people
(that is, judging by reading similar ioctl failed threads over at Microsoft’s Skype forums as well).

Re: Skype Linux Mint: no device found when running as user

Post by MrEen » Wed Oct 09, 2019 7:23 am

There is still the other «fix» from those links: sudo sh -c ‘echo «kernel.unprivileged_userns_clone=1» > /etc/sysctl.d/00-local-userns.conf’

WARNING : I do not understand that command, so I have no idea on the implications involved. If it were me, I’d run that command to see if it works, then delete the file if I didn’t feel safe using it, to at least confirm that solves the issue.

Re: Skype Linux Mint: no device found when running as user

Post by carlitador » Wed Oct 09, 2019 8:38 am

There is still the other «fix» from those links: sudo sh -c ‘echo «kernel.unprivileged_userns_clone=1» > /etc/sysctl.d/00-local-userns.conf’

WARNING : I do not understand that command, so I have no idea on the implications involved. If it were me, I’d run that command to see if it works, then delete the file if I didn’t feel safe using it, to at least confirm that solves the issue.

Re: Skype Linux Mint: no device found when running as user

Post by thx-1138 » Wed Oct 09, 2019 9:18 am

. it’s already enabled in current Ubuntu kernels, at least in 5.x ones. sudo sysctl -a | grep userns_clone
My ‘hope’ was, as Mr.Een already said above, that maybe, *just maybe*,
chmoding 4755 the chrome-sandbox would make the trick (which is also not really the greatest idea security-wise.
at least when it comes to proprietary software — but it’s at least somewhat better than running the whole of Skype with root privs).

It’s not the first time that people have complained that without sudo they either couldn’t start it at all,
or they couldn’t. log-in, or this or that etc etc. ie. don’t be surprised, it’s quite a bit of a ‘broken’ software under Linux.

Источник

Оцените статью