[SOLVED] UEFI no such device on slacks root partition.
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
after many hours of frustration. I finally got it to almost working using this (Crap) OS boot manager (BIOS) I ended up going to UEFI w/csm along with a wait state for selecting boot options.
If it selects the BIOS OS Boot Manager using that then it slips into Slackware grub with like it should. But if I remove the time out, then it goes into the BIOS Boot Manager and locks up , grub rescue>
Code:
error no such drive:
142d8df6-d0df-4518-b15d-138c36ec4863
unknown file system
yeah thanks, so I work up this morning got to wondering about this issue, thinking about what more might it be. whittling it down to what haven't I tried yet? the only thing I could come up with is fast boot, which I've read about but it has never effect my laptop, always having it on.
So I got this ho 840 g2 with a good amount of options to pick from, and finally I decide to go UEFI everything, and this BIOS has that capability to go pure uefi. All of the OS'es are UEFI capable. but over a short period of time I find that I cannot use the UEFI w/o old school csm to help it.
so yeah , I turned off 'fast boot' and it is working. so with my moving things about like I did, and still not getting the desired results, and seeing that I was better off with the way I had it. well I just wasted a bunch of hours.
Okay I think I got somewhat screwed up I got the uefi install , then grub uefi installed too via slack docs. and in lue of trying to explain in detail because I do not even know how to put it all in to words ect...
first vfat is Windows, Linux fat32 efi, second is FreeBSD fat16 efi. AND, with FBSD own efibootmgr it shows slack, and windows, and itself, I changed the order to freebsd first but that is not working, that is what leads me to think it is that grub install thing I did that is booting my systems.
Code:
#grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug
and
#grub-install --target=x86_64-efi /dev/sda
First, grub won't work in Legacy mode as you have a GPT but no Bios Boot partition. For this reason, you can only boot in EFI mode if using grub.
Second, which software gives the error mentioned in your first post?
Third, please indicate us the content of /dev/sda1 and /dev/sdb5. Mount each of them one at a time, for instance as /mnt then type either "find /mnt" or "tree /mnt" and post the ouptut.
Fourth, download and copy to a small usb stick this ISO image: https://slint.fr/testing/grub/detect.iso
It will make a rescue boot disk that you can use to boot any of your installed systems until you completely solve this issue.
To coy it to the stick (I'll assume it's named /dev/sdc, adapt the name as need be, but check the device name carefully!):
Code:
cp detect.iso /dev/sdc
PS the ISO is very small (7.8M) but to avoid wasting the remaining free space on the USB stick, just use fdisk or cfdisk after having copied the ISO on it to create a third partition then put a file system in it.
Last edited by Didier Spaier; 11-08-2019 at 11:07 AM.
Reason: PS added.
OK this is where I am NOW at. fresh windows 10 install, fresh Slackware 14.2+ elilo, fresh FreeBSD install, all uefi. UEFI w/o csm windows 10 crashes, I have to enter boot selection then travel down and find the oses bootx64.efi file and select that to get anyone of these to boot into themselves.
NO efibootmgr install by me in anything. I did how ever install easyUEFI for windows and created list for slack, and freebsd to be added, made slack first to boot, and nhahaha NOPE that didn't work.
First, grub won't work in Legacy mode as you have a GPT but no Bios Boot partition. For this reason, you can only boot in EFI mode if using grub.
Second, which software gives the error mentioned in your first post?
Third, please indicate us the content of /dev/sda1 and /dev/sdb5. Mount each of them one at a time, for instance as /mnt then type either "find /mnt" or "tree /mnt" and post the ouptut.
Fourth, download and copy to a small usb stick this ISO image: https://slint.fr/testing/grub/detect.iso
It will make a rescue boot disk that you can use to boot any of your installed systems until you completely solve this issue.
To coy it to the stick (I'll assume it's named /dev/sdc, adapt the name as need be, but check the device name carefully!):
Code:
cp detect.iso /dev/sdc
PS the ISO is very small (7.8M) but to avoid wasting the remaining free space on the USB stick, just use fdisk or cfdisk after having copied the ISO on it to create a third partition then put a file system in it.
Code:
sda1 vfat FEB8-B7A6 d0b1076d-0768-4088-808b-37440a968aed
that up there is EFI partition fat32 for windows, and linux OS'es
------------
bash-5.0# mount /dev/sda1 /mnt
bash-5.0# ls /mnt
EFI
bash-5.0# ls /mnt/EFI
Boot Microsoft Slackware
bash-5.0# umount /mnt
bash-5.0# mount /dev/sda5 /mnt
mount: /mnt: special device /dev/sda5 does not exist.
bash-5.0# mount /dev/sda6 /mnt
mount: /mnt: special device /dev/sda6 does not exist.
bash-5.0# mount /dev/sda7 /mnt
mount: /mnt: special device /dev/sda7 does not exist.
bash-5.0# mount /dev/sda8 /mnt
mount: /mnt: special device /dev/sda8 does not exist.
they are FreeBSD format it too has a fat16 efi because it cannot use fat32 so it makes its own fat16 efi.
------------------------------
I do not actaully need to boot stick, I can fanagle my BIOS for boot options to load the *.efi file to whatever I want to boot, this is just the BIOS OS BOOT MANAGER booting not what I need.
tough this was about when I had it using slacks grubx64.efi it was going into resuce grub> less I did it the round about way to get it, via by BIOS BOOT OPTIONS. then manually selecting the same file to boot.
Then according to the EFI shell specification if every thing else fails then the EFI shell should execute the script starup.nsh. Please provide its content, for instance typing "cat /path/to/startup", replacing /path/to/ by the real path to this file.
anyways, I ended up having to reestablish my efi partition on the same drive because I wanted to, and reading this https://forums.freebsd.org/threads/c...on-uefi.68141/ link in here, saying the boot is default if the BIOS cannot find anything else to use it uses that bootx64.efi, I moved windows one out and put in grubx64.efi -> bootx64.efi so it defualts to grabing that and I get my linux grub efi menu ...
it is right back to how it was in the first place, and efibootmgr is useless on my system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.