[Guide] NVMe-boot w/o modding the BIOS (Clover-EFI method)

Hi all! I followed the instructions and was able to successfully install Ubuntu on my NVMe drive, but it won’t boot. Clover comes up ok, but it doesn’t show any options for booting into the OS. When I press F3, it shows a button that kicks me back into Clover. When I go into the Shell, it shows the 3 NVMe partitions that Ubuntu created during the install, but doesn’t show anything in them. I tried modifying the config.plist to directly call out each of the partitions, but it still doesn’t boot. I’m sure I must have something in the config.plist file wrong. (Maybe lots of somethings) This is my first time doing this, so it is entirely possible that I missed a step or installed Ubuntu incorrectly, but the installation proceeds fine.

I don’t think the problem is with the NVMe drivers, since I can see the NVMe drive when I map from the Clover shell, but I could be wrong.

I attached the .plist file as a .txt so you could look at it. I figured it was easier that way.

screenshot0.png



System:

- CPU: AMD Phenom II X4 955 Black Edition
- Mobo: ASUS M4A79T Deluxe
- SSD: WD Blue SN550 NVMe M.2 2280 250GB 3D NAND WDS250G2B0C

config.txt (32.6 KB)

@YME2019
Welcome to the forum !

I notice that, coincidentally, you have the same CPU than me (mine is from year 2009 !). As you can see in my post #817, I succeeded in installing 4 OSs with Clover in my NVMe SSD, and boot to each of them. So I hope I might be able to help you.

I won’t be able to tell you much what might be wrong from your .plist file. I am far from understanding all the info/data from this file. Perhaps someone else will…

However, what I can do is to explain you with as many details as you wish what I did to create a Clover key that works, and then install OSs which you can later boot to from it. It is up to you if you wish to follow my guidelines.

First, I notice that you used Clover v.5145. This version of Clover never worked for me. The only version that worked for me is v.4961. I created my Clover key with BootDisk Utility v2.1.2018.023b (and not with the latest BDUtility).

I have detailed the instructions I followed to create my Clover key in post #833.
I have also attached a copy of the files I used to that post (BDUtility.exe (v2.1.2018.023b) and CloverISO-4961.tar.lzma).

Could you indicate which version of Ubuntu you tried to install ?
If you could provide a link to the page from where you took the image file of the Ubuntu you tried to install, I could create an installation disk and try to install Ubuntu (the same one you’re trying to install) on my system, and let you know the result.

@Morbius Thanks for the welcome! I will try the previous version of Clover and BDU.



I installed Ubuntu Server 20.04 from ubuntu.com/download/server. I selected Option 2, then hit the download button. Once I had the ISO, I made a bootable USB using Rufus. (Sorry for no link. I don’t have enough posts yet…)

I’m so sorry @Morbius. i thought i posted this earlier.

Well, i did use clover v4961 but it did not work with the BDU v2.1.2018.023b. I had to use DBU v2.1.2018.024b. This version the local directory was not greyed out. I did install ubuntu, but i could install it with any version of clover.

Since I had installed it already on previous attemps, when I tried clover v4961 it immedially picked up the drive, or rather the installed ubuntu OS. I was even able to have it autoboot since clover named the drive ‘EFI’.

I will try to post the entire process i used to do it, everything i learned. what worked for me and what didn’t, whenever I have time.

My system Lenovo x230, “1vyra.in” mod. BIOS, two SSD(Sata+mSata), i5-3320M, bios in UEFI , bootloader Clover 4961
How to install Windows on SSD Samsung 980 using connecting via adapter ExpressCard to NVMe. I have used Clover to boot by copying the ‘EFI/CLOVER/drivers-Off/drivers64UFI/NvmExpressDxe-64.efi’ driver to:
• 'EFI/CLOVER/drivers64’
and to:
• ‘EFI/CLOVER/drivers64UEFI’
but when attempting to start to install Windows from under CLOVER from a USB drive the installation can’t continue, I suppose, because no integrating NVMe SSD driver from Samsung into Windows setup image, as for Samsung NVMe SSD controller represent a special class of devices alike Intel RSTe RAID controller.
I have cloned Windows on this Samsung, but when booting via Clover appears BSOD -disk is inaccessible. Using Windows TO GO on this disk as an external USB SSD was enough acceptable.
In additional, if by extracting .sys, .inf and .cat files from driver installation Samsung_NVM_Express_Driver_3.3 .exe file it can be fixed? But again is this driver suitable for such a purpose and in what way to extract .sys, .inf, and .cat files from the driver installation .exe file? I have tried “FlashBoot Pro” for integration, but without success.
I’d be grateful for the advice or assitance in this matter.

@CutieJelly
I am really puzzled to read that you could not use BDU v2.1.2018.023b because v.4961 was greyed out !
I am just wondering which version of BDU v2.1.2018.023b you used…
Probably not the one I attached in my post #833 since you first mentioned you had a problem with this BDU version in your post #830, … that is earlier !

I can assure you, and anyone else here, that when I use the 2 files I attached in my post #833 (which must be in the same folder), the local directory is not greyed out (see attached image), and I can create a Clover key that works !

Screenshot 2022-03-23 191650.jpg



Anyway, since you mentioned that it finally worked for you, you solved your problem !
And I am glad to read that, at the end, CloverISO v.4961 which I had mentioned earlier worked for you as well ! Congratulations !

@YME2019
I have good news for you !

I succeeded in installing Ubuntu Server 20.04.4 through Clover on my NVMe SSD, and I can boot from it through the Clover key !

These are the steps I followed :

1. I created a bootable USB drive from the ubuntu-20.04.4-live-server-amd64.iso from the link you mentioned. For this, I used the Balena Etcher flash utility, and not Rufus. I usually use Etcher for flashing USB drives with images of Linux installation drives, and I use Rufus with MS Windows installation drives.

2. I inserted the Clover drive in my system and booted from it. As soon as Clover starts to load, I then inserted the Ubuntu Server installation drive I created in Step 1.
[Edit : I think that you can also insert the Ubuntu Server installation drive once the Clover bootloader menu has been displayed. Then, you will see a new icon pop up in the screen. This is the icon you need to select to start the installation process in Step 3]

3. In the Clover bootloader menu, I selected the ‘Boot UEFI optical from CDROM’ icon with the left/right arrow keys, and then pressed ENTER. Doing this made the Ubuntu Server installation process start.

4. Once the Ubuntu Server installation process was completed, I removed the Ubuntu Server installation key, and I restarted the system.

5. The Clover bootloader menu now shows an new icon/entry for the Ubuntu Server. I selected this entry, to start the Ubuntu Server. Once it has completed to load, it shows a command line.

screenshot3.jpg



During the Ubuntu Server installation process in Step 3, I choose a custom installation for the storage selection, since I already have Kali Linux and Windows 11 installed on my NVMe SSD. But, for you, you may like to select an installation on the entire disk if you don’t intend to install any other OS. Well, it’s your choice.

Good luck ! And please let us know the result !

@olekor
Hello and welcome to the forum !

Can your BIOS see the NVMe SSD installed on the PCIe adapter ?
If the answer is ‘yes’, have you tried to install Windows directly on it ? So you would not need Clover.

OK, so, you want to use Clover.

Could you give details on what you mean by "the installation can’t continue" ?
If the installation processed started, and then stalled, at which point exactly was it ? And what happened ?

You cloned Windows from another Windows installed where ? On another of your SSDs (SATA ?) ?
I have no idea if doing this is possible… Maybe some others will have an answer…
As for me, I did a fresh/new installation of Windows on my NVMe SSD, and then I copied the data I needed from a HDD.

By the way, which version of Windows are you trying to install ?

@Morbius It worked, but only after I reinstalled Ubuntu with the USB I created with balenaEtcher instead of the one I created with Rufus. I really appreciate the help! Thank you!

thanks for your response.
First of all, I have used a simple PCIe-NVME adapter it’s not like the "ThinkMods NVME" adapter, which has used @Franzl_Lang for Lenovo T400 mentioned in the post #822
Secondly, the Samsung NVMe SSD controller represents a special class of devices. These devices are fully compatible with Windows but with correct integration of their drivers into Windows Setup,
so I will think to install Sabrent 1TB Rocket NVMe PCIe M.2, but it will be enough expensive toy.

Answers to questions:


A: No


A: from under Clover installation from flash drive stops when a choice disk in the table of present disks



A: I have cloned windows 11 installed on my ThinkPad x230 by using "EaseUS Partition Master"

@YME2019

Congratulations ! Glad that you made it.
Which version of Clover and BDUtility did you finally use to create your Clover key ?

@olekor
If you wish to install Windows 11 on your Samsung NVMe SSD, the best advice I can give you is :
1. Delete everything you have installed on this drive earlier when you tried to clone Windows 11 from another drive
2. Make a fresh installation of Windows 11 on it through Clover (you will need an installation disk for Windows 11, and, of course, a Clover key)
3. Transfer all the data you need from your previous Windows installation, and reinstall all the applications you need.
It’s a tedious task but, at least, it will work.

For your information, I have Windows 11 installed on my NVMe SSD through Clover. It works perfect !

believe me, I tried all the options, got acquainted with the experience of using Samsung disks, and everywhere it is mentioned about integrating Samsung drivers, even if the BIOS has supported NVME. Maybe if using the "ThinkMods NVME" adapter, which has comes with an embedded bootloader, which can be booted from any stock BIOS. It contains Clover, pre-configured with special NVMe drivers that can then boot your SSD, even without stock BIOS support or use Coreboot, which has its own NVMe support, you can instead boot directly to the SSD without touching Clover, but all of this requires additional attempts and expenses.

@Morbius I used the version of Boot Disk Utility you posted as well as the version of Clover you recommended. When I only used those versions of BDU and Clover, it didn’t work. I had to reinstall Ubuntu with the new USB I created with BalenaEtcher. Not sure which one worked or if it required both changes. Thanks again for the help. Probably going to set it up to auto-boot now, since I don’t intend to install any other OS on this machine.

MB: GA-Z68M-D2H
RAM: Kingston 1600 4x4
CPU: i5 2550K
GPU: GTX970
SSD: x4 Adapter + 512G NVME
the uefi bios of this MB has a bug that limit the x4 slot to x1 speed(~180max),so i’m trying clover.
win10 installde sucessfully to the nvme drive,everything seems working fine,but all the settings in clover dosen’t save to plist file,but can be changede and savede from plist file("#"infront of key name means ingore?),so i lookde around in the file,saw some werid values in it,i have 4x4 kingston ram,but shows 4x2 in the plistfile,turns out BDU didn’t change any settings,and just put the files in there as it was in the image from github.then i deleted every entry in the plist file and boot in to it,mouse doesn’t work in clover,boot into
win10,everything still works
so my questions:
A: clover setting does’t save when changed from bootloader gui,is it normal?
B: dose the plist file mean anything for windows? or i’m just being lucky,should
i change some settings for my hardwear?cause if theres any hidden issue i’d like to fix it now not bump into it later.
C: the win10 install media is in the second partition of the clover usb,i can only boot into it with F3>UEFI external boot,can i boot it in bios mode form clover?i need to use it to inatall win10 for another bios system.
D: can use the readonly switch on the usb drive or remove it after boot into win10? i dont want other program have acces to it.

@BBR

I was successful in installing several OSs on my non-bootable NVMe SSD as you can see in post #817:

I have also helped others to install and use Clover (on this forum and other forums too).

I won’t be able to answer all your questions (and, frankly, I am not sure that I fully understand them). However, regarding your question C :

Obviously you can’t. This is because, after you have started Clover from your Clover USB key, you are in an EFI environment created by Clover and your initial Bios environment is irrelevant.

Do you mean you want to reuse your Clover key for another Bios system on another computer ?
I doubt that this would be recommended, and I am not even sure that it is feasible.
Based on my experience, if you want to use Clover on several computers, I would suggest you create several Clover keys, one for each system.

Anyway, the most important is that, from what you said, you can boot into your Windows 10 installed on your NVMe SSD through Clover. Congratulations for successfully installing Clover !

Can anyone advise on a working option to add a graphics setting in the Clover for a Matrox G200 (Emulex) WDDM driver that is found onboard on most HP DL Proliant servers. I have come across this problem myself, and can’t find anyone who solved this apart from adding a second PCI graphics card on this unit. The Clover boot gets stuck at the “6” prompt when booting with the the Matrox driver.

In the Clover configuration!

does this method also works for booting linux based OS? I intent to install proxmox on my samsung PM991 nvme. Will never use windows