Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

  1. #1
    Join Date
    Dec 2016
    Beans
    8

    18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    The past day or so I've decided to be an adult and finally move more of my workflow onto linux (for real this time). I've created a new partition on Windows 10, splitting my SSD into two equally sized partitions (drive letterings are C (Win 10 boot), D (HDD), E (SSD partition 2 to be used by Ubuntu). It's formatted as an NTFS file system and recognized/usable in Windows. Create a bootable USB drive using UNetbootin with the 18.04 iso. Boot up into the UEFI, switch to boot up from USB, restart the machine. This is the point where I face some difficulties and seek help.
    After selecting 'Install Ubuntu' I get stuck on this screen for a little while: https://imgur.com/rYkLaJN
    Followed by: https://imgur.com/HLpb2e0
    The installation then starts as if nothing happened, but neither partition of the NVMe drive is detected: https://imgur.com/ja9YVD6


    Next, I tried using another USB creation tool (Universal USB Installer). Different GRUB: https://imgur.com/R89C5Kw. Similar problems: https://imgur.com/dken3rB, https://imgur.com/bErr3ez. Although with this tool it doesn't even pretend to go into the installation process.


    Other things I've tried so far:

    • Check to see whether AHCI mode is enabled (it was).
    • Enable/disable secure boot.
    • Unplug my HDD so that the NVMe drive and the USB are the only drives available to the machine.
    • Disabling fast startup in Windows
    • Disabling/Enabling virtualization in the BIOS.
    • Trying to install 18.10
    • Ensuring hibernation is disabled



    My system specs:
    AMD R5 2600
    ASRock B450 mini-ITX mobo
    ADATA SX6000 512GB NVMe drive
    WD 4TB HDD


    Thank you kindly, and I truly appreciate any help on this one! (I'd say I'm definitely below average knowledge when it comes to linux, so please bear with my ignorance)
    Last edited by dfleis; March 20th, 2019 at 07:50 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    4,108

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    I believe Windows should be shut down completely - One of those images indicates Windows is hibernated.
    Last edited by Dennis N; March 20th, 2019 at 07:42 PM.

  3. #3
    Join Date
    Dec 2016
    Beans
    8

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    Thanks for the quick response. Just to be sure I have just disabled hibernation and repeated the installation progress. Still no luck and received the following screen after selecting to install ubuntu: https://imgur.com/czhgRQN

    Although the hibernation warnings are gone, the first few remain.
    Last edited by dfleis; March 20th, 2019 at 07:53 PM.

  4. #4
    Join Date
    Dec 2016
    Beans
    8

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    Setting iommu=soft in the bootloader removes the amd-Vi error, but the nouveau error remains and the installation problem persists

  5. #5
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    4,108

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    Have you googled "nouveau unknown chipset"? I get quite a few hits on that. Perhaps you can find some useful information.

  6. #6
    Join Date
    Mar 2010
    Location
    undisclosed
    Beans
    505
    Distro
    Ubuntu Studio

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    You stated that the partition is formated as NTFS. That won't work for Linux/Ubuntu. I suggest you read this webpage, by OldFred, and follow it explicitly. https://ubuntuforums.org/showthread.php?t=2147295

    Rick

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    Thanks Rick St. George

    Link is relatively complex as it tries to cover many possibilities. I think it is worth skimming thru and then try to pick what is appropriate for your case. But it does then require some understanding to know what is required.

    Note at top, many systems have solved this type of issue with UEFI & SSD firmware updates:
    If SSD, you may also need firmware updates

    Dell Precision 5820 with PCI NVME SSD UEFI update & SSD firmware update
    https://ubuntuforums.org/showthread.php?t=2402254

    Asus x541ua Update of UEFI & SSD firmware solved issues
    https://ubuntuforums.org/showthread.php?t=2414431
    How to install Ubuntu on ASUS F556U, JournalError error? add pci=nomsi
    https://askubuntu.com/questions/1079...081221#1081221

    Some older Asrock systems have Asmedia ports. Not sure if yours does or not. But any use of those ports causes issues. One user could not install, but it was a DVD drive connected to Asmedia port.

    Some other 450 motherboards need newer kernel.

    Asus B450-F Clock speeds
    https://ubuntuforums.org/showthread....3#post13845363
    Gigabyte B450 Ryzen needs kernel & mesa drivers
    https://ubuntuforums.org/showthread.php?t=2408247

    I built system in 2016 before April and it needed newer kernel & drivers. So I installed 16.04 and it worked. Assumed it may break with continued updates until released.
    I currently use 18.04LTS as main working install, but also have an install of 19.04 that seems to work on my system and it has newer kernel.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Dec 2016
    Beans
    8

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    Thanks for the responses Rick St. George and oldfred! Here's a quick summary of the new things I've tried so far


    • Formatting the second partition of the NVMe drive as NTFS and exFAT when creating the partition in Win10.
    • Try to install Ubuntu with the kernels in 18.04, 18.10, and 19.04.
    • Update the BIOS to the latest version.
    • Add parameters 'nvme_load=YES' from the grub menu (https://www.dell.com/support/article...drives?lang=en)


    Of note is that when trying to install 19.04 the screen between the grub and the installation process now gives some additional messages: https://imgur.com/GhA5Zak (incidentally, 19.04 also correctly detects the resolution of my monitor out the gates, so that was a nice treat). However, as is the case with all cases I still am unable to detect the NVMe drive at all in the installation process.

    EDIT: Setting the secure boot mode to standard (as opposed to custom) removed the MODSIGN message and the first two 'Couldn't get size...' messages (via https://ubuntuforums.org/showthread.php?t=2380700), but all other problems persist.

    EDIT2: I attempted to install 19.04 onto my USB-C connected external SSD. I went into the BIOS and selected to boot from USB to install Ubuntu (as opposed to boot from UEFI to install). This time the installer was able to successfully detect my NVMe drive and partitions. Instead of trying to install to the external device I installed to the desired NVMe partition. Installation process was fine, but upon rebooting and switching to boot from the NVMe drive I was stuck on an eternal purple screen after the grub menu. Forcing a restart and trying again gave these messages: https://imgur.com/vkxyIGt. Rebooting a third time reaches the log-in screen, but every time I enter my password I reach the desktop and then immediately am shot back to the log-in screen.

    After repeating this for a while the pattern seems to be:


    • If the installation USB stick is left plugged in, alternate between being frozen on a purple screen and the log-in screen (shooting back to the log-in screen after reaching the desktop).
    • If the USB stick is not plugged in, display https://imgur.com/vkxyIGt (without the two 'sda 9:0:0:0: [sda] ...' lines).
    • If the USB stick is plugged in after having not been, display https://imgur.com/vkxyIGt, then alternate according to the first bullet point above.
    • If the USB stick is plugged into a different USB port, display https://imgur.com/vkxyIGt.


    Other notes:




    In both cases the NVMe drive is no longer detected. I truly have no idea what's going on.
    Last edited by dfleis; March 22nd, 2019 at 08:56 AM.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    You did not mention video card? Is it nVidia?
    If so you need nomodeset boot parameter on installer and first boot or until you install nVidia driver from Ubuntu repository.
    If very new nVidia card/chip, you may need to add ppa to get very newest driver. Do not download directly from nVidia.
    Updated driver search by nVidia model, do not download, just check correct driver version
    http://www.geforce.com/drivers

    https://ubuntuforums.org/showthread.php?t=2383560

    UEFI and BIOS are totally different. May even be different drivers.
    Did you also update firmware on SSD? Many, many posts show this solves NVMe not seen. But may depend on vendor.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Dec 2016
    Beans
    8

    Re: 18.04 Installation Doesn't Detect NVMe Drive (Dual Boot)

    SSD firmware is up to date (ADATA SX6000). Regarding the bios, I'm running the latest version as found on the asrock support page https://www.asrock.com/MB/AMD/Fatal1...index.asp#BIOS. I do indeed have an nvidia card (rtx 2080).

    Adding the boot parameter nomodset (following
    https://askubuntu.com/questions/38780/how-do-i-set-nomodeset-after-ive-already-installed-ubuntu ) doesn't appear to help. I still reach https://imgur.com/vkxyIGt on the existing install and https://imgur.com/GhA5Zak (without the modsign message, as we fixed that above) if I try to reinstall ubuntu.

    EDIT: On one of may reboots and re-attempts (booting from the UEFI installer with nomodset set) the Ubuntu installer was able to detect the NVMe drive but installation eventually halted with this message https://imgur.com/dgDeQeb. Note that Win10 is on partition 1, nothing else appears with labels partition 2-4, partition 5 was the EFI and partition 6 was the target destination for the Ubuntu install. This partition structure remains even if I erase/format everything [except Win10], after partition 1 the next available is labelled as 5.

    EDIT2: I forgot to ask. How can I install nvidia drivers without being able to install/log in Ubuntu first? Is there a way for me to do this during the installation process?
    Last edited by dfleis; March 22nd, 2019 at 10:35 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •