0

Just messing around with my new system and finding myself stuck.

What I have :

  • Windows 10 UEFI installed on my first SATA drive, let's call it drive1 (i.e. : drive1 has an ESP partition)
  • xUbuntu x64 on a flash drive
  • 3 spare SATA drives with 1TB of unallocated memory (let's call them drive2, 3, and 4)
  • a broken BIOS which keeps me from modifying boot order.

What I want :

  • xUbuntu UEFI installed on drive1
  • drive2, drive3, and drive4 formatted and mounted within xUbuntu
  • the system to UEFI boot into drive1 xUbuntu
  • no Win10 at all!

In order to boot into live xUbuntu I have to boot with drive1 unplugged (if not, sys fall into Win10 ; broken BIOS, remember).
When re-plugging drive1 afterward and running gParted in live xUbuntu the software just won't see the hot plugged SATA drive.

How do I force "rescan" for the whole four SATA drives once hot plugged ? Is this even possible after boot?

If not, how do I get rid of Win10 and its ESP partition / replace Win10 with xUbuntu?
Am I running in circles here ? Is there a simpler solution ?

I thought about uefi-installing xUbuntu onto drive2 (with drive1 unplugged) and then reboot with the four drives plugged, but then sys will have two conflicting ESP partition...

TazMayhem
  • 143

1 Answers1

1

If I understand correctly, you don't want to preserve any data on any of your disks. If so, the easiest solution is to use Windows to delete all of the partitions on all of the disks. The computer will then be unable to boot from any of those disks and should boot to your USB Ubuntu installation medium.

Also, there's a good chance that the firmware isn't really defective, but has damaged NVRAM entries. If so, then booting into it (via a boot-time keystroke or by typing systemctl reboot --firmware-setup in Ubuntu -- but the latter doesn't always work) and picking an option to reset all settings to their default may fix the problem. You should do this before installing Ubuntu, since this action often removes all the existing NVRAM boot entries. (That's the point, really; if entries are corrupted, removing them will fix the problem.)

For further background reading, I recommend:

Rod Smith
  • 45,120
  • 7
  • 66
  • 108