Hi, I purchased a thinkcenter M70q (https://tinyurl.com/m5h48emh) that came pre-isntalled with windows 10 Pro. Afterwards, I purchased a 32GB Flash Drive and a 500GB Samsung External SSD, and connected the SSD via USB 3.2 Gen 2. I created a bootable ubuntu flash drive using etcher. Then installed ubuntu server 20.04 LTS: - when performing the install I had two choices for drives (one marked Samsung, and another that was bassicly gibrish (a bunch of numbers which I identified as the internal drive)), I selected the one marked as samsung - I unselected the LVM option, and kept the rest of the settings at their "default" value Result: lsblk SDA/SDA1 (465.8GB)nvme0n1/nvme0n1p1 (1GB)nvme0n1/nvme0n1p2 (475.9GB)sudo fdisk -l /dev/sda disklabel type : dossudo fdisk -l /dev/nvme0n1 disklabel type : gpt From what I can gather it seems to have created a 1GB partition on my internal drive for the OS, and ignored my request to use the external drive (hindsight 20/20, I probably should have removed the internal drive?) I also can't seem to see the windows partition on the internal drive which existested for the windows OS Fixing using boot repair: BootInfo Summary : https://paste.ubuntu.com/p/QhCTH43V6h/ Should I try to run recommended repair? I'm a bit worried, I don't have the windows 10 pro product key, as it came pre-installed on this server... Ideally, I want to be able to boot either windows or ubuntu, and I would prefer not to have to purchase a new windows 10 pro product key. Edit: Turns out the drive inside my thinkcenter is also a samsung 500GB SSD lol. I'm pretty sure I ended up reformating the entire drive and loosing windows. Not the end of the world in my case, but definitely a good lesson lol.
Last edited by cicero8; June 11th, 2022 at 02:12 AM.
UEFI systems have the Microsoft product key in the UEFI. So no new key required. You can download the Microsoft ISO and create an install flash drive. Its more difficult to create a Windows flash drive from Linux as Microsoft has made its .wim file over 4GB which then does not fit on a FAT32 partition. And you have to use FAT32 for UEFI installs. The Microsoft tools automatically split the .wim file to make it work. Also installs to any second drive where you want to separately boot that drive, particularly external drives, must be aware of this bug. Old but they do not seem to want to fix it. Many work arounds posted in bug report. You can often in UEFI disable a NVMe drive so as if you unplugged it. Or remove ESP's boot flag. Best to partition in advance using gpt (not MBR/msdos) to make sure you have an ESP on external drive. If external drive only drive seen, auto install options will then work. Posted work around to manually unmount & mount correct ESP during install #55 or( #23 & #26) https://bugs.launchpad.net/ubuntu/+s...y/+bug/1396379 Others suggest disconnecting all other drives physically or logically in UEFI settings, so install drive is first drive. Or removing boot flag/esp flag from first drive, so only ESP is install drive. (I have not had that work, but others have.) Or if you have ESP on second or external drive, you can just reinstall grub, either manually or using Boot-Repair's advanced mode & full reinstall of grub to correct drive. Windows needs multiple partitions, so erase drive & let Windows create the partitions it wants. https://msdn.microsoft.com/en-us/lib...Configurations https://askubuntu.com/questions/1274...-usb-in-ubuntu https://askubuntu.com/questions/1359...359829#1359829 Split .wim with Linux tools. https://www.dedoimedo.com/computers/...dia-linux.html The .wim too large, Windows commands to split https://www.dell.com/support/article...system?lang=en Split .wim https://ubuntuforums.org/showthread.php?t=2468464 Create installer https://tutorials.ubuntu.com/tutoria...5.1512369991#0
Last edited by oldfred; June 11th, 2022 at 04:53 AM.
UEFI boot install & repair info - Regularly Updated : https://ubuntuforums.org/showthread.php?t=2147295 Intro to Discourse: https://discourse.ubuntu.com/t/welco...and-help/49951
Ubuntu Forums Code of Conduct