Can EndeavorOS be installed portable on a USB drive?

:pray: for recommend this drive . i get one for try on ARM on Pinebook Pro .

so far ok. PBP no like few usb drive.

again Thank you.

5 Likes

Samsung FIT Plus 256GB Typ-A 400 MB/s USB 3.1 Flash

on odroidN2+

shjimn2@N2Plus ~> sudo hdparm -t --direct /dev/sda
[sudo] password for shjimn2: 

/dev/sda:
 Timing O_DIRECT disk reads: 532 MB in  3.00 seconds = 177.24 MB/sec
shjimn2@N2Plus ~> 


here my eMMc I boot from atm on Odroid

/dev/mmcblk0:
 Timing O_DIRECT disk reads: 400 MB in  3.01 seconds = 133.06 MB/sec
shjimn2@N2Plus ~> 

here Rpi4

rpi4shjim@Warehouse ~> sudo hdparm -t --direct /dev/sdb

/dev/sdb:
 Timing O_DIRECT disk reads: 334 MB in  3.02 seconds = 110.60 MB/sec
rpi4shjim@Warehouse ~> 

On 2015 i5 Macbook air (x86)

sda = internal ssd
sdb = SD card (boot able )
sdc = USB drive

shjimtest@Gnome ~> sudo hdparm -t --direct /dev/sdc
[sudo] password for shjimtest: 

/dev/sdc:
 Timing O_DIRECT disk reads: 574 MB in  3.00 seconds = 191.25 MB/sec
shjimtest@Gnome ~> sudo hdparm -t --direct /dev/sdb

/dev/sdb:
 Timing O_DIRECT disk reads: 252 MB in  3.00 seconds =  83.90 MB/sec
shjimtest@Gnome ~> sudo hdparm -t --direct /dev/sda

/dev/sda:
 Timing O_DIRECT disk reads: 3858 MB in  3.00 seconds = 1285.83 MB/sec
shjimtest@Gnome ~> 


little more

shjimtest@Gnome ~> sudo hdparm -Ttv /dev/sdc
[sudo] password for shjimtest: 

/dev/sdc:
 multcount     =  0 (off)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 31201/255/63, sectors = 501253132, start = 0
 Timing cached reads:   12562 MB in  1.99 seconds = 6304.11 MB/sec
 Timing buffered disk reads: 534 MB in  3.01 seconds = 177.18 MB/sec
shjimtest@Gnome ~> 

Best no post Pinebook Pro … it nasty :rofl:

2 Likes

I have blogged about that: https://www.lorenzobettini.it/2021/11/how-to-install-linux-on-a-usb-with-uefi-support/

2 Likes

Excellent blog post. FWIW, I experienced nearly identical problems (i.e., not being able to boot from my internal drive) after “successfully” installing EOS on an external SSD - hoping to achieve the same portability you sought.

In my case, I never got to the on/off flag trick (very clever indeed), but simply booted again from the ISO flash drive “Live” version, yay’ed my way to install Timeshift, and then fully restored my system backup image, wisely captured just prior to engaging in this experiment. (Timeshift continues to bail me out repeatedly from finding ways to kill my setup :grimacing:)

But your blog offers an intriguing way to circumvent this GRUB-rewriting behavior… if I get around to trying again. An external 500gig SSD drive (for about US$30 these days) makes for a tempting portable Linux brain.

sudo pacman -Sy gparted

*cough manjaro (docs) *cough

Glad you liked it :smiling_face:

By the way, I had also written another post, where you can do the same (with UEFI support) from VirtualBox (this way you can’t risk spoiling your computer internal drive boot menu):