Score:0

Can’t boot to ubuntu usb full install

vn flag

I’m trying to install ubuntu on a kingston datatraveler 80 to have a portable os. I have follow this tutorial: https://help.ubuntu.com/community/Installation/UEFI-and-BIOS/original-attempt I have made it down to point L, but when trying to boot to the usb I se nothing but the live usb. I tryed in UEFI and Legacy on a dell xps 9560 with win 11 as the os on the build in ssd. While runing the install I remove the esp flag from the windows partition.

I’m a bit lost, and can’t seem to find right advice.

Nmath avatar
ng flag
How are you booting to the live session? It should not be plugged in. Do you have two USB flash drives? You cant install Ubuntu to the same flash drive that contained the installation media
ChanganAuto avatar
us flag
And with Windows 11 you CAN'T change it to Legacy as it is no longer supported. Same for Secure Boot that must be enabled. And, of course, you should have backups and Windows installation media to repair or reinstall Windows. The way things are going that is a very real possibility.
Nmath avatar
ng flag
Does this answer your question? [How to Create a Full Install of Ubuntu 20.04 to USB Device Step by Step](https://askubuntu.com/questions/1217832/how-to-create-a-full-install-of-ubuntu-20-04-to-usb-device-step-by-step)
sudodus avatar
jp flag
It is easier (a lot easier), if you can unplug, disconnect or otherwise disable the internal drive. That way, the installer should select the correct target for the EFI system partitition so that the target USB drive will become bootable, and you should not even need the BootRepair step (K). - I must admit, that those instructions were written long ago, and both Ubuntu and BootRepair have changed. The link in Nmath's second comment points to newer instructions, that should work better with the current version of Ubuntu.
cc flag
Look at launchpad bug 1396379 and add yourself to the "Does this affect me?" list. This silly installer bug is ancient, and wont get fixed until the "heat" is turned up.
Casper Helmark avatar
vn flag
One live usb and one to install on to. Hitting F12 and selecting the UEFI boot. I had the secure boot disabled, will I have to do a new install then? I have windows installation media, and things backup so can easely reinstall both systems.
sudodus avatar
jp flag
You can also try [this link](https://askubuntu.com/questions/16988/how-do-i-install-ubuntu-to-a-usb-key-without-using-startup-disk-creator/942312#942312), which helps you make a USB system that can boot in UEFI mode (with tweaks suitable for a USB system), If you want to, you can add some steps according to either of the instructions (the original ones linked in your question or the ones linked in Nmatths second comment).
sudodus avatar
jp flag
...continued from previous comment: if you wish, add some steps to make the drive bootable in BIOS mode (alias CSM alias legacy mode). - Reply to your latest comment: If you want to try according to another set of instructions, I think it is best to start from the beginning as described in that set of instructions (and it means a new install). What kind of internal drive is it? Can you unplug or otherwise disable it?
Casper Helmark avatar
vn flag
I will try to go through the new instructions in the morning, thanks for the fast replys. In this try i removed the esp and boot flag from the ssd EFI partion before installing, hoping not to have to unplug the ssd as it’s a laptop, but can of course try that. But the instructions that i linked to is older than I saw before its was to late.
Casper Helmark avatar
vn flag
Some time later…. I followed this link : https://askubuntu.com/questions/1217832/how-to-create-a-full-install-of-ubuntu-20-04-to-usb-device-step-by-step. I unplugged the harddrive and booted in legacy. I would say i succeded with every step, only that i had to turn of the pc before copying the boot and EFI folders to the right partition. But fixed the rest of the steps now. But there is nothing to se in the boot menu. Do i have to start from scratch cause I’d rebooted or can there be other reasons that this doesn’t work.
sudodus avatar
jp flag
"But there is nothing to se in the boot menu" - What boot menu (UEFI-BIOS menu or grub menu)? - I don't think you have to start from the beginning, if you can identify what is wrong or missing. - So what works now, and what does not work?
Casper Helmark avatar
vn flag
In UEFI-BIOS, the one reaching when hitting F12 after start . Sorry for the many probably stupid questions. Have tried in legacy an UEFI with secure boot enabled. Was doesn't work is I cant find the the place to boot from the target drive. When I boot to the live usb I can see the target drive and the grub installed ran without errors. But maybe I just don't understand how to boot from the target drive, would think it was similar to booting from the live usb?
sudodus avatar
jp flag
Yes, it should be similar to boot from a USB 'installed' drive and a USB' live' drive. If your live drive is unplugged, and only the USB 'installed' drive is plugged in, what happens when you try to boot via F12 and the temporary menu?
Casper Helmark avatar
vn flag
I get the following: “Other options: -Bios setuo, - Bios flash update, - Diagnostics, -Change boot mode settings”. Could seem like the boot and EFI folder have not been copied correctly or is it the grub file or grub install to look into?
sudodus avatar
jp flag
Maybe you can try according to [**this link** cloning an image of an installed Ubuntu 20.04 LTS system](https://help.ubuntu.com/community/Installation/UEFI-and-BIOS#Compressed_image_file). After reboot you need to `sudo apt update && sudo apt full-upgrade` to make the system up to date. - If you don't want this system for a long time, you can at least use it to inspect the boot structure and understand why your present system does not work. (And if you change your password it should be OK to use also for a longer time.)
Casper Helmark avatar
vn flag
Thanks I will try that.
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.