1

I had a dual boot installation with Win10 and Ubuntu running side by side on a 255GB NVMe SSD, but my laptop would occasionally not boot into the SSD, but would after one or two reboots, randomly deciding to not boot into the SSD sometimes, somewhat. So I thought I'll remove Ubuntu and get Windows' bootloader back through a bootable UBS running Windows installer. Unfortunately, for some reason, it didn't work, and I now couldn't boot into Windows. And to further cause problems, I couldn't make it detect my SSD even when booting (which was fixed, I actually re-enabled Secure Boot so it just wouldn't show up my SSD with grub command line showing up first thing).

So I thought that I'll just rescue this in whatever state it is by installing Ubuntu and deleting all of the contents of the SSD to start afresh. But, the installer does not detect the SSD at all. I tried to use fdisk, but the only disk it shows is the flash drive itself.

This laptop I'm using is a Thinkpad T495, and although I don't know at all what can I do to save it, I think there's a problem with some BIOS setting as I probably messed up something there. I think maybe the Boot Mode (UEFI/Legacy) or something of that sort. Any help would be much appreciated.

I never had anything but Win10 on it before dual-booting. Hell, I bought it less than 2 months ago

hardbodybrain
  • 21
  • 1
  • 6

1 Answers1

0

from my experience most often microsoft windows comes pre-installed with mbr partition type (which is not what ubuntu installer works with). My advice in your case would be:

  • run Ubuntu live CD
  • choose "try Ubuntu without installing"
  • fire up gPartEd on Ubuntu live usb (install if not yet there)
  • change partition type to gpt
  • install windows 10
  • install Ubuntu again and let grub bootloader handle choosing between windows and ubuntu partition

OR if you don't need windows, simply install Ubuntu right after your partition is changed to gpt.

As far as I remember you'll have to disable secure boot for the ubuntu installation and GRUB to be possible.

Jan Myszkier
  • 1,273