#Problem with setting up Linux on external drive

120 messages · Page 1 of 1 (latest)

tight lichen
#

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?

noble nymph
#

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.

tight lichen
#

I am going to try what you just said right now @noble nymph , thanks

noble nymph
tight lichen
#

I will let you know how it goes

noble nymph
#

pretend sda in this pic is ur actual external ssd. adjust to suit your own case

tight lichen
noble nymph
#

sure

#

it'll be something like that

#

dont make a new partition table cuz that will wipe all

tight lichen
#

i should just boot from the usb?

#

never mind, i need to unflag still

noble nymph
#

yes start in the exact order i wrote

tight lichen
noble nymph
#

on laptop drive

#

is only one efi partition

#

that one

noble nymph
tight lichen
#

i see

noble nymph
#

pick it, r-clcick : manage flags

tight lichen
#

then do i remove all flags?

noble nymph
#

the esp and boot ones

tight lichen
#

done

noble nymph
#

now u say ur external ssd has stuff on it to preserve already?

tight lichen
#

yes

noble nymph
# noble nymph

call up that drive in this app. and turn info view on as shown

#

and show clear photo

tight lichen
noble nymph
#

tag me when it's posted here

#

oh

#

show the whole window

tight lichen
#

sorry that i have to do it like this, i can't send screenshots because i don't have discord on my laptop

noble nymph
#

dos partition table. still doable tho

#

which of the three partitions have ur 'to-keep' data?

tight lichen
noble nymph
#

r-click the two with keys

#

'unmount'

#

then delete sdc2 and sdc3

tight lichen
#

done

noble nymph
#

and u sure u unflagged the other ESP

#

of the internal drive

tight lichen
#

yes

noble nymph
#

ok then close gparted

tight lichen
#

i removed the esp check box and the boot check box was disabled automatically as well

noble nymph
#

107 to 200 MB for efi

tight lichen
#

i have problems when booting to the usb for some reason @noble nymph

#

I chose this and this screen comes up after

noble nymph
#

u better be sure

#

that last grub pic is NOT live grub

tight lichen
#

the brand is Intenso

noble nymph
#

live grub has the OEM option in it

#

see if u can get it to show.

tight lichen
noble nymph
#

if this is a picky uefi, u may have to redo the USB with GPT style partitioning ... ventoy is good for that

noble nymph
#

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!

tight lichen
#

i think there's a misunderstanding here

tight lichen
#

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

noble nymph
#

i dont get what ur talkinga bout now

#

what the hell is that bios pic u just sent?

#

from what machine?

tight lichen
#

everything i send is from the laptop, i am trying to install ubuntu on my external ssd using my laptop

noble nymph
#

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?

tight lichen
noble nymph
#

is that meaning the usb enclosure or flash stick?

tight lichen
#

I was trying to say that for some reason i can't boot the usb stick which i have the Ubuntu installer on

noble nymph
#

sigh

tight lichen
#

sorry for not making it clear

noble nymph
#

how did u unflagged the shit then if u werent already booted into live mode?

#

ffs

noble nymph
noble nymph
#

FUCKKKK

#

do it in the order I SAID

tight lichen
#

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

tight lichen
noble nymph
#

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

tight lichen
#

Hey @noble nymph, I managed to make some progress, however I can’t make 200MB partition efi for some reason

noble nymph
#

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

noble nymph
#

any news on this, @tight lichen ?

tight lichen
noble nymph
tight lichen
noble nymph
#

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.

noble nymph
#

@tight lichen