This post is more than 5 years old

1 Rookie

 • 

3 Posts

9659

September 21st, 2019 09:00

I can't boot from my external ssd using usb or thunderbolt

I have a new Vostro 7590 and I want to boot off of an external ssd with Centos 7 on it (I need it for a class and yes it will boot on other computers). When I press F12 to enter the boot menu the only option to boot is Windows Boot Manager and no USB or anything else. I've tried turning off secure boot but that didn't do anything but make me type in my BitLocker code. I've also tried booting from thunderbolt (with thunderbolt boot enabled in BIOS) but no change. How do I get my laptop to recognize my external ssd as a bootable drive?

9 Legend

 • 

14K Posts

September 21st, 2019 14:00

@Invilis  is your external disk set up using the MBR partition scheme or GPT partition scheme?  If it's the former, it's meant to be booted in Legacy BIOS mode, in which case you'd need to disable Secure Boot and also enable Legacy Option ROMs to allow booting from that type of device.  If it's set up as GPT, it's meant to be booted in UEFI mode, in which case you might need to disable Secure Boot (not sure if CentOS has been updated to support Secure Boot like Ubuntu has), but you wouldn't need Legacy Option ROMs.  However, I remember discovering that my wife's XPS 13 9350 will only boot from Partition #1 of a USB device that's set up with the GPT partition scheme, even though it will happily boot from a later partition of that same USB device when it's set up as MBR.  No idea why that's the case (probably a bug) or if it applies to that system, but if your disk is GPT and the EFI boot partition isn't the first partition on disk, that could be the issue.  Otherwise, I've also seen systems that only support booting from USB "removable storage class" devices like the overwhelming majority of flash drives and will not support booting from USB "fixed disk class" devices like external hard drives and SSDs.

Lastly, unless your external SSD is in an actual Thunderbolt enclosure (as opposed to regular USB-C), then tinkering with Thunderbolt boot support won't make a difference, and I would recommend keeping that off unless you actually need it, because if you have Thunderbolt boot support enabled, Thunderbolt devices that are connected at boot get to bypass the normal Thunderbolt port security routines, which is a risk because unlike USB, Thunderbolt grants access to PCIe, which in turn allows DMA (hence the port security measure in the first place).  Thunderbolt boot support can also cause BitLocker Recovery Key prompts to appear because when boot support is enabled, Thunderbolt devices are enumerated at boot and are therefore included in the hardware and firmware environment that the TPM looks at when performing its "platform integrity check".  When that check detects a change, you'll see a Recovery Key prompt because the TPM will refuse to release the decryption key as a security measure (as you saw when you disabled Secure Boot, which is a firmware change).  If you enter the Recovery Key at that point, the TPM will "reseal" to the new hardware/firmware environment, which would include that Thunderbolt device, but the next time you try to boot without that device connected, you'll see a Recovery Key prompt because the hardware environment will have changed again.  Keeping Thunderbolt boot support disabled avoids this.

1 Rookie

 • 

3 Posts

September 22nd, 2019 14:00

@jphughan Parted -l tells me it is (msdos) MBR so I disabled secure boot but I cannot find Legacy Option ROMS. From the pictures I could find it’s supposed to be in Advanced Boot Options but I only get some boot from Network Stack or something. The boot menu says I’m in UEFI still so how do I switch?

The drive is a Samsung T5 500GB and I don’t think it has thunderbolt just usb-c so I’ll leave boot from thunderbolt off. I was thinking about cloning the drive to a 128GB usb I have (SanDisk ultra fit) and then I could use the larger drive for other things if the usb has enough space that is. Then maybe I could switch to GPT? I don’t know but it would be kind of nice; also it would be cool to switch to Linux Mint because I kind of like it more than CentOS but that would take much more Linux knowledge than I have and probably a good bit of work in order to transfer all the documents and apps over.

9 Legend

 • 

14K Posts

September 22nd, 2019 15:00

@Invilis  yes the T5 is just a USB enclosure that has a SATA SSD inside.  The X5 is Samsung's Thunderbolt enclosure that has an NVMe SSD inside.  I haven't used the Vostro 7590, but I suppose it's possible that it only supports UEFI booting.  Intel has said that their CPUs in a few years will only support UEFI, so maybe Dell has started moving that transition along early.  I know that on newer Latitude systems, it's only possible to boot in Legacy mode from external devices and not from any internal disks, so maybe they've moved on even since then.  The only other place you can look for an option to boot in Legacy mode would be to press F12 during initial startup to access the one-time boot menu and then select "Change boot options" or something like that.  If your system is like other Dell models I've worked with, there are 3 possible configurations and in that menu you'll see whichever two are NOT the mode your system is already using:

Legacy Mode, Secure Boot Off
UEFI Mode, Secure Boot Off
UEFI Mode, Secure Boot On

If even that doesn't allow you to see Legacy mode, then as I said it might not be supported on your system.

1 Rookie

 • 

3 Posts

September 27th, 2019 16:00

I think if I can figure out how to convert the MBR to a GPT without losing any data that would be the best solution

Top