Boot from NVMe SSD
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Boot from NVMe SSD
Hi all
I recently scored a free 256GB NVMe drive.
I bought a PCI-E interface for it, and installed L19.1 onto it, but can't get the computer to boot to it.
Can anyone suggest how to do this: or is there a better way to connect this drive?
Thanks
Edwin
I recently scored a free 256GB NVMe drive.
I bought a PCI-E interface for it, and installed L19.1 onto it, but can't get the computer to boot to it.
Can anyone suggest how to do this: or is there a better way to connect this drive?
Thanks
Edwin
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Boot from NVMe SSD
is the drive seen by the BIOS at all ?
ie: is the hardware seeing that new drive ?.
ie: is the hardware seeing that new drive ?.
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: Boot from NVMe SSD
That suggests a hardware issue -- either the NVMe device itself or system compatibility. Was it working when you got it? Some of them do tend to run quite hot which can lead to a rather short lifespan if proper heat dissipation is lacking.
Re: Boot from NVMe SSD
When you say "pci-e interface" do you mean an adapter like this...
https://www.overclockers.co.uk/aqua-com ... 00-aq.html
I might be well off the mark but my understanding is that if your motherboard doesn't have an m.2 slot then you can't boot from one that is attached using a pci-e adpater. I'm not sure if this is the case if your m.2 drive is sata but i'd imagine it is. I guess you're trying to boot from a bus that your motherboard can't boot from, even if it is a sata drive. Without an m.2 slot your motherboard will probably only be able to boot from sata or usb.
https://www.overclockers.co.uk/aqua-com ... 00-aq.html
I might be well off the mark but my understanding is that if your motherboard doesn't have an m.2 slot then you can't boot from one that is attached using a pci-e adpater. I'm not sure if this is the case if your m.2 drive is sata but i'd imagine it is. I guess you're trying to boot from a bus that your motherboard can't boot from, even if it is a sata drive. Without an m.2 slot your motherboard will probably only be able to boot from sata or usb.
Re: Boot from NVMe SSD
Even an M.2 slot on the MB does not "Guarantee" it be recognized as a bootable block device by the BIOS. But it's a good start. This should be a commonly standard BIOS supported configuration before much longer, but we are still in a transition period.
Re: Boot from NVMe SSD
Minty00, yes, not that one but a similar one.
Once the LM live CD booted, it recognised the SSD, and installed LM onto it.
I'm wondering if it's possible to install LM onto it, and have the /boot partition on the HDD point to the SSD. Would that work?
Once the LM live CD booted, it recognised the SSD, and installed LM onto it.
I'm wondering if it's possible to install LM onto it, and have the /boot partition on the HDD point to the SSD. Would that work?
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Boot from NVMe SSD
It won't work unless your BIOS supports booting from PCIe.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Boot from NVMe SSD
I know this thread is more than a year old, but I'm posting this information in case it could be helpful. I have been booting a Samsung M.2 drive using a PCI-E adapter on my P6X58D-E motherboard even though the BIOS doesn't see it. My system specs are listed below. The key seems to be that I have another hard drive that 'is' recognized by the BIOS running another linux OS. When I boot that drive, GRUB sees my M.2 and let's me boot it. There are couple wonky things, though. When I boot the M.2 drive, I get a frequency mismatch message that I just continue past. It hasn't affected my workflow, or at least I don't think it has. Also, the kernel I want to boot on the M.2 drive must also be installed in the other linux OS. So, if I update to a newer kernel on the M.2 drive, but don't on the other linux OS, then it will still boot to the older kernel. I basically just keep both running the same kernel. I haven't messed with trying to edit GRUB.
Code: Select all
System:
Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc
v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin 4.4.4 dm: LightDM 1.26.0
Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine:
Type: Desktop Mobo: ASUSTeK model: P6X58D-E v: Rev 1.xx serial: <filter>
BIOS: American Megatrends v: 0803 date: 08/06/2012
CPU:
Topology: Quad Core model: Intel Core i7 930 bits: 64 type: MT MCP
arch: Nehalem rev: 5 L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44900
Speed: 1604 MHz min/max: 1600/2801 MHz boost: enabled Core speeds (MHz):
1: 1604 2: 1604 3: 1604 4: 1604 5: 1604 6: 1603 7: 1604 8: 1604
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: eVga.com.
driver: nvidia v: 450.80.02 bus ID: 04:00.0 chip ID: 10de:1c03
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 450.80.02
direct render: Yes
Drives:
Local Storage: total: 3.18 TiB used: 333.20 GiB (10.2%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXE7 scheme: GPT
ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
speed: 3.0 Gb/s serial: <filter> rev: 4B6Q scheme: MBR
ID-3: /dev/sdb vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
speed: 3.0 Gb/s serial: <filter> rev: 3B6Q scheme: GPT
Re: Boot from NVMe SSD
Thanks for posting this. I'm having a very similar issue and will now try this.
Re: Boot from NVMe SSD
I had the same problem, but I solved with a motherboard BIOS upgrade.
Usually the update contains Add NVME support.
Usually the update contains Add NVME support.
-
- Level 1
- Posts: 1
- Joined: Thu May 06, 2021 12:00 am
Re: Boot from NVMe SSD
Hi, the post of jaimevjr help me. But i also consulted other forums.
I installed the system by usb, but grub reported an error and couldn't boot.
I also used an adapter to connect the nvme to the "pcie". As my card is old, bios did not recognize the nvme.
So, I needed to use another "hd".
I created a partition (ext4) in "hd" and copied the entire contents of the /boot folder to this partition.
I changed /etc/fstab and included this partition.
I restarted the system.
Next, I set up nvme0n1p1 (with / from the installation I did) and chrooted (usually used to restore grub) I generated grub.cfg with grub2.mkconfig. This way grub.cfg will have the correct uuid. I do "exit" of chroot. I ran grub2.install. All of this was done in old installation that i had in "hd".
With the procedure described i had success with boot.
Ty
I installed the system by usb, but grub reported an error and couldn't boot.
I also used an adapter to connect the nvme to the "pcie". As my card is old, bios did not recognize the nvme.
So, I needed to use another "hd".
I created a partition (ext4) in "hd" and copied the entire contents of the /boot folder to this partition.
I changed /etc/fstab and included this partition.
I restarted the system.
Next, I set up nvme0n1p1 (with / from the installation I did) and chrooted (usually used to restore grub) I generated grub.cfg with grub2.mkconfig. This way grub.cfg will have the correct uuid. I do "exit" of chroot. I ran grub2.install. All of this was done in old installation that i had in "hd".
With the procedure described i had success with boot.
Ty
-
- Level 12
- Posts: 4289
- Joined: Tue May 28, 2019 4:27 pm
Re: Boot from NVMe SSD
@ rodrigooeiras
Welcome to the forums.
You'd be better off making a new post ( it is free ) as your problem may have a different cause as you have different hardware etc.
When you make your new post, go to this link and follow all the instructions and most definitely number 5:
http://forums.linuxmint.com/viewtopic.php?f=17&t=83444
Good luck.
Welcome to the forums.
You'd be better off making a new post ( it is free ) as your problem may have a different cause as you have different hardware etc.
When you make your new post, go to this link and follow all the instructions and most definitely number 5:
http://forums.linuxmint.com/viewtopic.php?f=17&t=83444
Good luck.