Score:0

Ubuntu not detecting drives inside ssd while installation alongside Windows

do flag

I have a HP laptop with windows pre installed. It has a 512gb uefi, gpt ssd with 3 drives C:, D: and E:. I want to install ubuntu in E: drive and along with the applications of ubuntu. But ubuntu does not recognize the partitions C:,D: or E: while installation, which is why I need help.

Here are the partition details in windows:

Disk Management.exe

Ubuntu installation only shows:

  • /dev/nvme0n1
  • /dev/nvme1n1

Also I want to mention I have never used Linux or Ubuntu before.

in flag
How are you booting into the Ubuntu installer? Are you choosing to "Restart Windows"? If so, you will likely need to choose "Shut Down", *then* boot the machine with the Ubuntu installation device in place. Windows will occasionally "keep" devices to itself when rebooting.
David avatar
cn flag
You have one drive divided in to 3 partitions which have the Windows names c and d etc. You can not install Ubuntu into a Windows drive letter. A must read before you do anything. https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview
S.Baner avatar
do flag
@David I did try deleting the E: drive from windows and restart the ubuntu installation from bootable usb stick, but the problem still persists.
S.Baner avatar
do flag
@matigo I am not choosing restart in Windows, I am shutting down and then turning on the pc and then booting through a bootable usb stick with the iso file.
David avatar
cn flag
You need to read about how to delete a PARTITION in Windows and do that. That is how you free up space.
S.Baner avatar
do flag
@David Do you mean [This](https://i.stack.imgur.com/8EzAt.png). I deleted one partition and now have 168gb unallocated space. The problem still persists.
David avatar
cn flag
A default install should now work.
HomerSimpson avatar
sa flag
When the installer ask 'how do you want to install Ubuntu' click on 'something else'. Then you can select the free space on the disk and install Ubuntu.
oldfred avatar
cn flag
Make sure Windows fast start up & bitlocker are off, so installer can see the NTFS partitions. You may want UEFI Secure boot off, if you need nVidia proprietary driver. It can be installed with Secure boot on, but a bit more complicated about MOK keys you have to create to verify driver. https://askubuntu.com/questions/843153/unable-to-mount-windows-10-partition-it-is-in-an-unsafe-state & https://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs-filesystem-due-to-hibernation
Score:0
do flag

I figured out the problem, my laptop has an intel optane memory, which was messing up the ubuntu installation. After disabling the optane memory and restarting the installation, ubuntu detected all the partitions as expected.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.