
English: 
Welcome, in this video I'm going to be
going over a procedure to prepare
Raspberry Pi for to boot from a USB
Drive using a microSD card as the
bootloader so I've done some other
videos on the Raspberry Pi I'll put a
link in the description to my playlist
I'll also put a link to the hardware I'm
using and if use that link it helps me a
little bit and doesn't cost you anything
extra so what I have here is a Raspberry
Pi 4 desktop and I plugged in a
Samsung BAR Plus USB 3.0 128 gigabyte
flash drive and I plugged it in the USB
ports that are blue on the little bar
inside those are the USB 3 ports so
before I get started I want to benchmark
the microSD card the one i have in
there now is the SanDisk Extreme Pro so
I'll open up a terminal I'll type
dd if=/dev/zero
of=temp.txt

English: 
bs=1M count
=1024 oflag=
direct so this will write a bunch of
zeros to a file and it'll tell us how
fast it's doing so and the oflag direct
makes it so it doesn't use caches or
anything okay we got 34.4
megabytes per second now I'm going
to change it so the infile is the temp
file and then the outfile is /dev/null
so this will do a read test I'll change
the oflag to iflag direct I'm speeding
the video up here too so it's a lot
shorter than what is happening in real
life okay so we got 40 megabytes per
second therefore the read speed so I can
close this now and you don't have to do
that step if you don't want and I'm
using an extreme Pro it's just what
I had on hand you can use a really slow
microSD card for this part because
you're really only going to be using the

German: 
Willkommen, in diesem Video werde ich sein
ein Verfahren zur Vorbereitung durchgehen

French: 
Bienvenue, dans cette vidéo je vais être
passer en revue une procédure pour préparer

Spanish: 
Bienvenido, en este video voy a ser
repasando un procedimiento para preparar

English: 
microSD card as the boot partition so I
have the Samsung plugged in right now
you see this untitled I want to go up to
the Raspberry Pi icon I want to go down
to accessories and CD card copier it
says your copy from device I want to
choose the microSD card so that says
mmcblk0 as the copy from device copy
- I want to do the flash drive and then
I want to do new partition UUIDs this
allows you to have both drives mounted
in the same system at the same time so
then I'll hit start
it'll erase all contents of the flash
drive I want to say yes and now it's
going to start copying so this is a
brand new system I have the system is
Buster I've done all the updates on it
so I'm not going to lose any data if
something goes wrong with this
okay the copy is complete I'll hit okay
and I can close this now now I'm going
to open up a terminal
don't let this scare you if you're not
used to terminals it's not going to be
too much in here what we're going to

Italian: 
Benvenuto, in questo video lo sarò
andando oltre una procedura per preparare

English: 
type is sudo which is sudo blkid
we'll hit enter and this on the screen
here will be the drives in our system
let me make this slightly smaller text
I'll open up a new window and I'll type
sudo mousepad
/boot/cmdline.txt
hit enter and if you're experienced you
can use Nano to do this this mousepad
is just an editor on the Raspberry Pi
its graphical it's probably easier for a
lot of people so now we need to edit
this file if we look down here our
devices this mmcblk that's our SD card
and the sda1 and sda2 is the flash
drive this part UUID is the same ID here
as on the SD card right here so what you
want to do is where you see this is -02
here go down to the thumb drive and
take this ID I'll select it or
right-click on it and I'll say copy

English: 
I'll come up here select it right-click
and paste and now I can say file save
and then we can close this so if you're
wondering if you can just go over here
to your accessories and open up text
editor you have to type that sudo in
front of it to open it up as root or a
privileged user if you just try and open
it with the application itself it won't
work and now we no longer need this
terminal I'll close it down now we can
restart the machine it should boot up at
this point so I'll go up here down to
shutdown I'll hit reboot okay it's
rebooted so I can open up the terminal
here I can type sudo bklid now I
want to type sudo mousepad
/etc/fstab I'll
hit enter and now we have fstab up so
like I said this is a new system you can
screw things up here so if you made it
this far hopefully you have a backup and
this is super important oh man my
terminal here I need to scroll back up

English: 
to where I was okay and you'll see here
we have two partitions in an fstab we
have boot and just a slash so this boot
partition right here is on the USB Drive
and we want to actually mount up the one
that's on the microSD card we're using
it as a bootloader but then if you
update the system later you really want
that to be on the SD card so what I want
to do is change this part UUID to the
microSD card so if we go up here we see
this 5e3da and you're gonna have your
own numbers here actually yours might be
the same as this but I right-click on it
there hit copy go down to your FS tab
and paste that in so now that's part of
your boot go file and save will close
this I'll exit this terminal I'll go up
to the Raspberry Pi and I'll reboot the
Raspberry Pi okay it's rebooted so you
see this boot and rootfs here on the
desktop I was trying to get rid of these
deep into the system but really it's
part of the desktop that's loading those
so if you go up here to these folders

English: 
the file manager and then you go edit -
preferences click on volume management
and then click on this mount mountable
volumes automatically on program start
up or close this I'll close this I'll
reboot it and these won't be here
anymore okay so those are gone now
I'll open up my terminal I'll type
history so I want to run my tests again
my benchmark so I'll just type
exclamation point 8 that'll run the
first one then exclamation point 9 will
do the second one so I'll do this first
okay so we got 50 megabytes per second
and before we got 34.4 megabytes per
second now this is a huge jump from what
we had before before we had 40 point 5
megabytes per second and now we have 185
megabytes per second so I like this
upgrade it's going a lot faster now like
I said you can use like a really cheap
crappy microSD card as your boot drive
you don't need a real fast one and I
have one laying around but I don't know
where it went but I imagine a lot of
people have some like old SD cards
sitting around that they don't really

German: 
Okay, die Kopie ist fertig. Ich werde auf OK klicken
und ich kann das jetzt schließen, jetzt gehe ich

French: 
ok la copie est complète, je vais bien
et je peux fermer ça maintenant maintenant je vais

English: 
need anymore
so while we're here I can open up a
couple things like a web browser this is
a new system so it hasn't been loaded
really before so I can open up
I don't know MSNBC
it's hard to tell if this loading is due
to the Raspberry Pi or the Internet
I'm filming this on March 22nd and the
coronavirus is huge right now and a lot
of people are online so Internet's been
kind of slow today but and I don't have
any affinity towards MSNBC just these
new sites tend to take a lot of load

Spanish: 
está bien, la copia está completa, voy a golpear bien
y puedo cerrar esto ahora, ahora me voy

Italian: 
va bene la copia è completa, andrò bene
e ora posso chiuderlo adesso

English: 
have a lot of stuff on them so so this
is probably loading into cache
let's open up office let's see we'll do
calc
there's calc and I understand I'm not
you know comparing this to anything you
can kind of compare to your own system
now if you have one or I may do a
benchmark video in the future
open up Writer I guess I closed the web
browser I can open it back up and this
is the four gigabyte model I don't know
if I mentioned that see what else we can
open here VLC
so this seems pretty responsive to me

French: 
il est difficile de dire si ce chargement est dû
au Raspberry Pi ou à Internet
il y a du calc et je comprends que je ne suis pas
vous savez comparer cela à tout ce que vous
ouvrir Writer je suppose que j'ai fermé le web
navigateur, je peux l'ouvrir et ce

Spanish: 
es difícil saber si esta carga se debe
a la Raspberry Pi o Internet
hay calc y entiendo que no soy
sabes comparar esto con todo lo que
abrir escritor Creo que cerré la web
navegador puedo abrirlo de nuevo y esto

German: 
Es ist schwer zu sagen, ob diese Belastung fällig ist
zum Raspberry Pi oder ins Internet
Es gibt Calc und ich verstehe, dass ich nicht bin
Sie wissen, dass Sie dies mit allem vergleichen, was Sie tun
open up Writer Ich glaube, ich habe das Web geschlossen
Browser Ich kann es wieder öffnen und dies

Italian: 
è difficile dire se questo caricamento è dovuto
su Raspberry Pi o su Internet
c'è calc e capisco di no
sai confrontarlo con qualsiasi cosa tu
Apri scrittore Immagino di aver chiuso il web
browser posso riaprirlo e questo

French: 
donc cela me semble assez réactif
le j'utilise le Raspberry Pi d'origine, il

English: 
the I use the original Raspberry Pi it
didn't seem to be all that fast but this
is I mean this is snappy so certain
things are going to be bound by the disk
speed Oh things are going to be memory
other things processor so that's all I'm
going to do for this video if you have
any questions please leave them in the
comments if you like this video please
click like if you haven't subscribed to
my channel and appreciate if you can do
that and thanks for watching until next
time goodbye

German: 
Das scheint mir also ziemlich ansprechbar zu sein
Das benutze ich mit dem originalen Raspberry Pi

Italian: 
quindi questo mi sembra abbastanza reattivo
io uso l'originale Raspberry Pi esso

Spanish: 
así que esto me parece bastante receptivo
el uso el original Raspberry Pi it
