0

i have an old motherboard witch doesn't support nvme boot i've connected nvme disk using a pci-e expandation card

nvme is detected in windows and Linux when booted up from old hdd since my motherboard doesn't support nvme boot i installed grub2 in my old hdd to boot nvme using grub the problem is grub isn't detecting nvme disk at all in grub command line :ls : gives (hd0,msdos1),(hd0,msdos2),.....(hd0,msdos10)(hd1,msdos1) (my old hdd partitions and usb flash disk )

i tried insomd pci , insmod lspci,insmod setpci , insmod pcidump , then ls
but after all Nvme isn't listed i tried EasyBSD for windows boot manager too but the same problem

after all i installed my "/boot" partition in old hdd and "/"(and swap ...) in nvme and successfully booted my ubuntu and kali now i can install and boot linux from nvme but for windows this trick doesn't work because windows can't have a separate /boot on a different partition

so QUESTION : 1- how can i make grub detect pcie nvme disk like linux kernel OR 2- how can i make windows install it's boot files on separate partition and other file on different partition OR 3-is there any other boot loader witch support both windows and linux and pci-e devices (hard disk)

  • Possible similar thread? BIOS boot on NVMe drive with old BIOS and PCIe card ubuntuforums.org/showthread.php?t=2415658 I have seen Windows installs with Boot partition on one drive & c: drive on another drive. Windows boot partition defaults to drive set as default in BIOS, so install to NVMe drive may still put its boot on HDD. But Windows has overwritten Linux partitions as it does not correctly see them, so be sure to have good backups. – oldfred Jul 5 at 19:27
  • oldfred : i had done the same step the topic is saying and have successfully booted linux from nvme as mentioned in thread , for windows i tried to install on nvme but windows doesn't accept it for installation also i doubt if windows boot manager (even if could install on separate partion using bcdedit and ...) detect nvme or not (like grub) i'd be happy if you tell me how to make windwos boot parttion separate – emaditaj Jul 5 at 21:20
  • 1
    No idea, but have seen installs as they overwrote a Linux partition with its Boot partition on a different drive. Best to ask on Windows forum or superuser.com as this is an Ubuntu question & answer site. – oldfred Jul 5 at 21:47
  • i tried adding entry too widnnows boot loader to boot windows from nvme but unfortunatlly windows boot loader doesn't detect nvme too (just like grub). the only way to to make grub detect nvme (we have to wait for grub to give an update or write a modlue ourself ) can't we use linux kernel modlues in grub ? if it's possible the problem of me and lots of other ppl is solved – emaditaj Jul 6 at 7:59
  • Most NVMe drives need both UEFI & BIOS updates to work with Ubuntu. But using a system that does not directly support in UEFI/BIOS the new NVMe drives is not a frequent problem. Most with older systems just use standard SSDs and even then have to make sure BIOS supports it. My motherboard from 2014 has a M.2 slot, but not NVMe types. NVMe drives were real expensive in 2016 when I built a new system that did support NVMe M.2 drives. – oldfred Jul 6 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.