#Installing linux mint on an external usb
1 messages · Page 1 of 1 (latest)
No but
I am at the screen directlt before it
Should i start it in normal mode
Or do i have to choose smth else cuz i am installing it on a usb stick
always normal mode.
literally no reason to EVER choose anything else
except the most extreme and rare cases
Yes as the title says
cinnamon?
Yes
ok but forewarned, it will load slower from usb
sometimes things will appear to halt or stick a few seconds during usage
ok plug 2nd usb, open terminal, and run lsblk --scsi ; lsblk -f
and show pic
i see the ventoy one
sudo umount /dev/sdc1
next u must unflag certain things on sda for safety.
so open gparted from the start menu. and choose sda in the top right selector
Yes
ok show pic of gparted , full extents of the window. do not maximize it
By boot you mean opening the install linux mint thing and choosing the usb
Ohhh thought u meant boot as like next step not checkmark
.
Yeah
ok
click the Device menu item
choose 'new partition table'
u expect to use this mobile OS on dirtyass ANCIENT motherfugger pc's?
or on reasonably current ones
Both.
how old of pc u thinking?
2000
wont boot from USB those
2007 minimum
and should be a way fucking light distro not mint cinnamon
anyways, if u wanna use this stick on newer ones, remake partition table as GPT
for that u need a 32-bit ISO (of something like puppy linux or antix 32, burned to a CD)
Okay ig
Ig that wont matter cuz i am basing this off ancient pc i saw alot
In scrap stores
so ... if it's pre 2007.. forget usb booting
maybe 2006 if you're damn lucky
do u want to continue here?
Yes
Yes
click on the "View" menu in gparted. and tick on 'show device information'
the sidebar
then show full pic
ok right click the grey empty thing. New:
new size: 20 MB show the type options.
choose 'unformatted
Yes
Keyboard layout bieng in french wouldnt matter right?
just put the letters
Yes.
change your keyboard settings to whatever now
in the setttings
before doing anything in any installer
yes
then click add
then right click on the remaining free space, and do New again
new size : 100 MiB label: ESP filesystem: fat32
Yes
click add, then show pic
Uhhh
What option is editing
There is no eddit only uhh
Delete
Format to and
Information
Yes
Done
Uhh
I may have done smth wrong
The label part of the bios_grub partition is emptt
Empty*
Closed gparted
ya
Its french but not azerty
Wait it is azerty
and make SURE each number makes the right number in editor
Well numpad works
otherwise u will be screwed
use some easy password that wont give trouble with keybd language AT ALL
and test first in text editor
in the installer, must choose exact same locale/language
and then page 5, choose the 'something else' option
ok dont screw urself for password
i say use simple one that works right in text editor
Is password even needed
eventually
tag me here when u reach page 5 in installer
or page 6
the 'something else' drive chart page
click the dropdown menu for bootloader
Yes
Yes
then click big free space under the sdc things in chart
and click +
use as: ext4, mountpoint: /
good. click install
will take maybe 45 minutes
write ur password on paper u will not lose
and username also that u choose
Should i do login automatically
K now waiting part?
reference
No its still like quarter of loading
only do this once it's totally finished
U said it would take 45 mins...
the second lexar usb , does it have a blinker light?
and is it flashing it?
Niether of them
say clearly
ok
open the DISKS application
select the non-ventoy usb on the left side
and show pic of the main ext4 partition selected
full pic
Btw ventoy usb might have a heart attack any moment
Kinda got scammed while buying it
i dont think it's doing much.
not good
if this doesn't grow any further in 15 minutes, it's time to quit the installer.
Can i sleep peacefully without it imploding because i didnt press on a certain button after x amount of time
maybe the cheapest flash memory cells on Earth. may tak hours
as long as computer is on AC power (and u dont have power failures or shutdowns expected)
It cost 70 loaves of bread
Or in currency 70 dirhams
progressing steadily?
Well i am not checking on it steadily
Cant tell
It progressed .1%
Again
Its at 6.9% now
7
Ig steadily
yeah maybe other stick is just defective or it just takes stupidly long
external drive is best to be an external USB hard drive, or USB-ssd
The one with ventoy was bought from sketchy vendor that overrprices
same model
Only way to take it out of the usb slot is through a keychain
Its prolly usedd
go to sleep. if it works it works
7.2
should be done roughly at 21%
Couldve got 64 gb usb stick for the price of the 8 gb one that has ventoy on it rn if. I didnt go to the random vendor.
Uhhh i do not know what u mean by that
just make sure it's plugged to proper mains electricity and go to sleep
Still not asleep cuz i saw a random roach getting under a couch
Its just over halfway
its done
what now
Ama install some stuff in it
Quiet slow but still usable
Retained stuff in it
Tho terribly slow at downloads and updates and opening .txt files
avoid flatpaks
absolutely avoid flatpaks.
if u installed any , uninstall them, and get the native versions
oh and one more thing, u should have the no_atime thing
No what
flatpak list will show if any.
Currently stuck at update manager
be watchful of what you choose in software manager. make sure everything u pick has system package option. not flatpak
they will take long to load each time u run
plus use up more space. though on 60 gig drive u have somewhat enough space
they will also take way longer to update
For some reason its harder to open a text document than google
because of the massive runtime environments that are like 2 - 3.5 GB
Shiiii
open separate terminal, and run flatpak list
also note, flash can wear out a lot faster on this setup. portable USB only for light use.
(unless it's usb hard drive)
Sooo will wear out faster
Oh.
to help it not wear as fast (it still will) you must set the noatime parameter in a certain file
relatime / noatime: Updates file access times relative to modification/change times (relatime) to reduce disk I/O, or disables access time updating entirely (noatime) for maximum SSD performance.
Nvm
u have terminal ?
Cant
why?
Update manager is still running
Dont seem to be able to open anythin else
It just does the mouse loading thing and nothing after
Ok
log in as usual there.
Put in the password?
Ok
you are logged in?
Y
so u can check the noatime thing
How
well first you read the fstab file
so from your TTY (real terminal): cat /etc/fstab
for the line about the filesystem root (/ ) there may be some options listed like errors=mount ro
yes. so in nano (editor) you add one word with one space after ro
and that word is (noatime)
sudo nano /etc/fstab
make very sure you are only working on the line about the filesystem root (/)
How
move cursor with arrow keys
And
so it will say :
UUID=xxxxxxxxxxxxxxxx / ext4 Errors=remount-ro,noatime 0 1
need a comma in there. i missed that before
got it?
no space between ro and noatime, just a comma
then press ctrl-o to write out (save). press enter after. and ctrl-x to exit nano
Ok
K its writing
Its done but its still showing the nano thing
And also the terminal part where i can put commands
Is this how it should work
@low stag will i break
Ctrl + x then y then enter?
ctrl-o , enter, ctrl-x
.
ok i guess both works
Would it be trouble.
good. now u can do flatpak list
to check if u installed any
and also df -h to see your space left in root
then ctrl-alt-f7 to go back to graphical desktop
Flatpak list doesnt say anything
did u use lowercase f ?
Yeah afterwards i put -help
so flatpak list exactly as i wrote it here, showed nothing?
Yeah
ok so nvm it.
I mean i cant even see the command in helpn.option
dont use flatpaks on this installation
run whereis flatpak
if paths show, that means the support for flatpak is there,
then run
flatpak list EXACTLY
then df -h to show disk space
that's it. and wait for updates to finish
Is smth broken
Do i exit terminal or do i have to run some command in it to open a specific file manager
ur still in TTY?
Uhh yeah
Do i keep.holding down button till i find it or reach end
active and busy processes appear near the top, in top
Not seeing it
Y
y ask y?
idk just. hit ctrl-alt-F7
i think u got a superbad , super slow usb stick
next time only external usb hard drives or usb -SSD enclosure
Sooo how can i scrap all ts
And js put ventoy on it
Tho i already have a stick with ventoy...
:I
Donnu what to do with it
Stunner
Smth is uhh
Shi disappearing
Oh js an invis chrome window
Not responding
Closed
Hmmm
What if i put sudo rm-rf/
Is it gonna fry the pc
might cause a fire
can u open a file manager or the System Monitor now?
No
go back to TTY, same one u used before.
Ye
No result yet
Stall
i think you have garbage usb.
because even for install, shouldn't have taken even more than 55 minutes.
Over 4 hours
Is what it took
press ctrl-c
Yes
@hard sable
Little problme i had to deal with. I am back now
i see why it's stalling. the installer didn't automatically create some swap.
Uhhh so?
Why what
Ohh
copy LIKE I PUT IT
Cant copy paste like this
TYPE
Stall
show it
Uhh small typo ama redo
What to do in case of terminal crashing?
Uhhh
Sooo what does. Prepg mintupdate do..
Accidebtly ran it
press ctrl-c again
Ok i ran pgrep mintupdate
then
pgrep mintupdate
Nothing
Says pattern that searchs for procrss name longer than 15 chars will result in zero matches
pgrep nemo
good
7745
Nothing from wha
restart back to this usb. and time it
sudo reboot
now
and then make swap otherwise this hanging can occur again
How
600 MB swap
dont worry just reboot
and time how long it takes from machine restart to the desktop
did machine restart or no?
The following will create a 600 Mebibyte swapfile (1 MiB x 600)
sudo dd if=/dev/zero of=/swapfile bs=1024k count=600(make big empty file)
sudo chmod 600 /swapfile(set linux read/write permissions on file)
sudo mkswap /swapfile(transform the big file into usable swap)
sudo swapon /swapfile(turn on swap (virtual memory) on in the system)
free -h(test to view that swap memory is now in play)
sudo xed /etc/fstab(edit the fstab file to make swap automatically available on each boot)(put this into the fstab file on new line near bottom) :
/swapfile none swap sw 0 0(save the fstab file and exit the editor)
sudo reboot
free -h(once booted back to desktop, to check memory and virtual memory (swap) )
Think there is bigger problme
usb might already be toast
Not desktop
press escape or ctrl-c
It auto blankes
hold power key down 6 seconds steady
time it to boot from usb
Blue screen of recovery
Ok at usb
At termina
Yeah uhhh
@low stag btw how faster does usb wear down when used like this
did u boot to the 62 GB usb?
Yes
and are u at desktop?
Yes
idk
dont use for heavy web browsing or nothing
just emergency use
run al this, ACCURATELY
I got discord on it so ama just copy paste it
make sure it doesnt paste single quote marks
Sudo mkswap /swapfile command stalled
Kay
stunner did i have to add numbers...
yes
?
stunner did it break
no that's normal for xed when launched via terminal
last step here
it works
and htop to be able to search and kill processes from terminal or from TTY
what??
do i get it from software manager
command above will get both at once
ok fix
sudo dpkg --configure -a
once fixed dpkg package error, hit up arrow twice to get back the apt install stacer command and run it as was
give time
that is something for kernel
that must have been from last time, update manager stalling
this is from just the dpkg command?
man
dont use for heavy web browsing or nothing
just emergency use
you have real hard drive for using OS daily
why did u bother with all this shit and waste my time?
after i am out
if ur not going to use it lightly
u can shrink the partition, to use some for data
But seeing now whatever i would do on it can be done on phone which is mainly communication
Are you gonna kill me
Also pc emitting beeps
No
i think usb is very very bad quality one
to take so long to write
open system monitor
and look at disk use
yeah leave it for an hour. if u shutdown now, usb will be broken permanently
reformat the stick in real linux to fat or exfat later.
Kay
Do i have to like
Cancel dkgp thing
If its still running
Yeah if its still running after that time
Should i shutdown now
Soo
^
those are not big. should only take 30 seconds
bleh
use a superlight browser if on USB
like palemoon
did u get stacer installed and also htop , @hard sable ?
Not yet
Its 99% stuck at reading packages
Still
Ok it passed that point
What now
Ama shut it down ig
can i just delete all contents of the usb since it was finished downloading everything and had nothing going on
thinking i should do this with a proper hdd usb
I was going to show you stacer works if needing to clean up system junk
but i suppose u can reformat the USB
i kinda gonna try doing this again once i have the proper usb thing
hdd usb
ok . do you want to reformat the 62 gig drive properly?
back to exFAT
kinda already did and put ventoy on it it seems functiona-
does it matter that it was in fat
and not exfat
kinda ventoy on it now do i strip it down
just reformat it using the DISKS app in linux
the reason is FAT has a 4 GB maximum file size per file.
if u try to add a 4.2 GB (or bigger) ISO on it (such as Ubuntu or Windows) , it will absolutely fail
its saying exfat
is that smth wierd i done i think
gparted says exfat too
ig i have to do nothing??
so it's fine then
ok
did ISOs transfer at a more reasonable rate?
like 4 to 5 minutes?
or half an hour?
@hard sable
yeah
had a problme at first cuz i pressed something i forgot at install i deleted everything and wiped and and reinstalled and it ran fine
do you want to try something else on the 8 GB stick? something light and made for persistence?
the 8 GB one
yeah thats the one i used to install mint on the 64 gb one
so move them to the big ventoy 62 GB
i'd like to show u a thing I discovered long ago by some great linux maker
lol
just sec, imma pull up the website
this is fast and light version
even lighter is antix. both have the same persistent live usb technology, because made by same developer
whats diffrence than presistance and install
with mx or antix, u have some options at beginning to enable persistence or not even do so
if u touch no key, it will boot like live usb, all default desktop
if u touch the key at initial mx (or antix) boot menu, for persistence, it offers some choices, like where u want to put persistence folders (can be on usb or another device that is present)
so it's gonna keep changes.
most of changes get written before u shutdown
not all the time
so i just download it put it on the 8 gb usb and i have simple live version that retains actions done in it?
yes
cool
for pc like 15 yrs old, or bit more, get fluxbox
newer one, can get xfce version
but, make stick with their thing
what thing
btw i have a wierd sys volume info folder that appeared in the 8gb stick
i just keep that there?
l'm bringing it up wait
windows makes that
just hang on
see that page.
u need to set it from linux computer, not Windows
the red link
unzip the appimage, check its properties that it is set executable, and then double click it
see https://mxlinux.org/wiki/help-files/help-mx-live-usb-maker/ for set up
make sure to use the default 'full featured mode' so it will work for mx or antix with ability to persist
oooo cool
so uh it appears i got confused a bit i forgot the 8 gb stick is actually 16 gb stick is there smth diff i gotta do or do i just stick with what you said?
np. u can still use mx live usb maker on it. if you wish to reserve 4 gigs just as plain data section , u can set that in the live usb maker
percent of drive to use
4 out of 16 is 25%,
so, u can have mx live maker use 75% of drive
or 80 percent
wait i am supposed to get rid of the ventoy
shouldnt matter
the mx live usb maker will likely tell u it will erase the drive u tell it to.
make sure beforehand that u safely eject the 62 gig ventoy and remove it from pc
yeah it said all data will be destroyed
the other one wasnt connected it only showed the lexar 14 gb
yeah i copied it from ventoy cuz i thought i should have mx on ventoy and put it in downloaqds
then navigated to the mx
chose it
mm
left the precentage thing on 100%
and u gave it 100
sure
and mbr mode (legacy bios pc compatibility)
idk if that's in 'advanced'
yeah uhh i kinda already proceeded-
do i have to unmount the usb
before i do anything on it
alright , just wait til it's done
no
it will do whatever it needs automatically
which iso u got?
for about how long
ah ok
i did it once but i cant recall. maybe was 10 minutes
can i use pc normally while its doing what it is doing
its a computer from a school
well i do have an absolutly ancient pc stashed
probably broke after i tried putting a laptops ram in it
what kind of cpu and RAM in the school one?
kinda have absolutly no i dea
the lenovo site holds some info of it
ama go check
it's laptop or desktop?
desktop
school one is the one i am using
mint
yes
how's the progress going on the live usb maker?
nothin
some other button to press?
cancel,about,log,help
if u want but it should already do
u know how to do from dots menu in DISKS app?
yeahhh i used
ok try again
ok
is Windows pc weaker or stronger u think, than this one?
check in Downloads folder. iso is right size?
wdym
right click it: verify ISO
then compare the sha256 checksum to official one on mxlinux.org
uhh where is it
MX-Linux /Final/Xfce files. Browse /Final/Xfce files for MX-Linux, MX-Linux project
when it redirects to there.
uh
so i just copy funni numbr
now compare to the Mint verification calculation
is that top pic what it calculated?
yeah
k
I know I did once with Antix, using ventoy. but i made ventoy with half the drive left reserved.
and when booting antix with persistence, the onscreen setup, it asks where to save persistence, and i made it go on the reserved half of the USB
is it progressing now, @hard sable
im not sure. did u click the advanced button?
this button at upper right
yes
idk show a screenshot of the options u see 😛
YES
put 5%, not 50
yes*
then u see in middle
'make ext4 filesystem even one exists'
tick that box
and if want some data partition put 10 percent at bottom left
i think could be good to have it
oh i may know why
because the GPT thing
is unchecked
if both computers u own are like 13 yrs old or NEWER, then make with gpt
60
does number go up or down?
up
can it go lower than 50?
no
ok leave the bottom left stuff alone as defaults.
just put the ext4 thing in the middle, plus the GPT checkmark
also why did you say make it 5% not 50.. there is no precentile
good catch
u talking abt
i guess it means 50 MB
nah nah . just leave the bottom left stuff alone
i would say put 95 percent for percent of drive to use
done
ama play roblox a bit
is it moving along now?
ok sure
then check
if it's still doing squat after 11 minutes, i'd say i'll show u how to use ventoy (from linux itself) and leave reserved space
as I did here, but for the third partition (sdb3) I should have made it exfat or ext4 (to hold persist files greater than 4 GB)
ok
its still 0%
unmount?
maybe the dang mx live usb thing needs it unmounted!
because this is an appimage
it may not have permissions to unmount
i mean you said it didnt matter before
i never thought of it
worth a try ig
like i really thought it'd handle it
hit stop , then retry the flash or see if it progresses
some stuff is gone
negative
lingering on a blank log?
yes?
ok nvm
close that app / appimage
let's fire up ventoy for linux
do u have the tar package?
yes
and move it to terminal?
Im thinkng u should maybe leave it on MBR if thinking to use the live stick on old computers.. idk. what do u think?
havent seen old ones actually get used in long time
my father had it from 2000
ah nvm
had some wierd ram with pipes in it
ok if u want to stay on GPT , then fine, but go to the 'partition configuration' options
set the 'leave free space at end
yes hit ok
show main window
it should have the gpt and padlocks thing
kinda already installed it instead of waiting for further instructions so i guess i hit update?
ok close that
yes
now open the DISKS app
it says there - 8
fuck
did u jump ahead before setting the -8?
yes i installed before setting -8