Hello guys, I recently installed set up a dual boot on my laptop with linux mint and windows 11. However, I want to also have dual boot on my PC, but it doesn't have any space left. I have an M.2 NVME in an external enclosure that I use as an external drive and I would want to download linux ubuntu on it. I tried doing that but I failed, I got to the point of installing Ubuntu but when I have to restart the system I can't boot to Ubuntu. I tried installing Ubuntu on the external SSD through my laptop, because I don't have any important files on there and I was scared of installind the Ubuntu on the wrong drive/messing up something with the partitions on my main PC. Can someone help me?
#Problem with setting up Linux on external drive
120 messages · Page 1 of 1 (latest)
boot the live usb up on laptop.
run gparted app and UNFLAG the laptop drives' EFI partition
then also in gparted, make a new partition table , in GPT style on the external SSD
then do a manual installation (the something else option)
click plus button to add a 200 MB efi system partition to the external ssd, then add the rest as ext4 filesystem . mountpoint at root (/)
then set the bootloader location box to be the device and partition number of the EFI u just made
once installed, that external drive should boot on any computer
reflag the original efi partition later.
I am going to try what you just said right now @noble nymph , thanks
I will let you know how it goes
pretend sda in this pic is ur actual external ssd. adjust to suit your own case
can you help me with that? I forgot to mention that my SSD has 2 partitions, one for my files and the other one meant for the OS
sure
it'll be something like that
dont make a new partition table cuz that will wipe all
wait so i don't need to do anything in gparted then?
i should just boot from the usb?
never mind, i need to unflag still
yes start in the exact order i wrote
how does that work? what do partition do i need to unflag? the windows or mint one? or the ubuntu that isn't working properly
.
i see
pick it, r-clcick : manage flags
then do i remove all flags?
the esp and boot ones
done
now u say ur external ssd has stuff on it to preserve already?
yes
call up that drive in this app. and turn info view on as shown
and show clear photo
sorry that i have to do it like this, i can't send screenshots because i don't have discord on my laptop
dos partition table. still doable tho
which of the three partitions have ur 'to-keep' data?
in the sdc1, which is 492gb
done
yes
ok then close gparted
i removed the esp check box and the boot check box was disabled automatically as well
i have problems when booting to the usb for some reason @noble nymph
I chose this and this screen comes up after
is Lite-On the brand of your usb installer stick?
u better be sure
that last grub pic is NOT live grub
the brand is Intenso
that is where it redirects me after I click on the usb boot option
if this is a picky uefi, u may have to redo the USB with GPT style partitioning ... ventoy is good for that
then ur not booting a usb
that's likely detecting the ESP on somewhere else. idk which of the other two drives
u did all the unflagging while working on the desktop or something?
u were SUPPOSED TO DO IT ON THE LAPTOP the whole time!
i think there's a misunderstanding here
i have been working on the laptop the whole time, the USB and external SSD plugged in the whole time
the only thing i do on my desktop is have discord open
i will send you the picture of the flages just to make sure
i dont get what ur talkinga bout now
what the hell is that bios pic u just sent?
from what machine?
everything i send is from the laptop, i am trying to install ubuntu on my external ssd using my laptop
ok so if u were booted into the usb flash stick the whole time why tf can't u now?
did u finish installing linux to the ssd enclosure already?
what do you mean i was booted into the usb flash stick the whole time?
so what is this statement?
is that meaning the usb enclosure or flash stick?
I was trying to say that for some reason i can't boot the usb stick which i have the Ubuntu installer on
sigh
sorry for not making it clear
literally step 1 here
i did it on linux mint
my windows brain forgot that you can use ubuntu before installing it
i thought its unusable and you cant do shit on ubuntu before you go through the installation proccess
may i know what now?
check the usb stick on ur desktop
see if it is gpt or mbr
remake to gpt the live ubuntu stick
if needed, so it will show up as a bootable in the laptop
dont have any other drive but the usb and the internal drive connected when u attempt to boot live ubuntu
once at live 'buntu desktop THEN plug in ur external enclosed ssd
#1295816480256163892 message
Hey @noble nymph, I managed to make some progress, however I can’t make 200MB partition efi for some reason
you can do it from gparted. make it 500 MB FAT32 primary
since i think ubuntu expects bigger idk why
and then add the boot and esp flags to it
then restart the installer
any news on this, @tight lichen ?
I managed to install ubuntu on my external nvme through my PC. When I connect it on my PC it works, but when I connect it on my laptop for some reason I don’t get the option to boot to Ubuntu…
cuz bootloader ended up on the wrong place
What’s the fix?
plug the external drive to your Desktop PC
boot up Ubuntu
then open and maximize a terminal
run lsblk -o name,model,size,fstype,partuuid,mountpoint ; efibootmgr
and show result.
@tight lichen