Suchen des /dev-Eintrags zum Erstellen von Partitionen auf einer SD-Karte

Suchen des /dev-Eintrags zum Erstellen von Partitionen auf einer SD-Karte

Ich versuche, eine Partition der SD-Karte zu erstellen. Dazu folge ich diesemLernprogrammWenn ich den Befehl eingebe

ll /dev/mmcblk*

Ich schaff das

ls: cannot access /dev/mmcblk*: No such file or directory

Ich überprüfe also die Liste der Elemente in /dev, indem ich diesen Befehl eingebe

ls /dev/

Ich habe eine lange Liste mit Artikeln, aber da steht nichts wie mmcblk0oder mmcblk1. Die Liste, die ich bekomme, ist diese

autofs           dvdrw     loop4               psaux  ram6    sdb       tty10  tty24  tty38  tty51  tty8       ttyS2   ttyS5    vcs6
block            ecryptfs  loop5               ptmx   ram7    sdb1      tty11  tty25  tty39  tty52  tty9       ttyS20  ttyS6    vcs7
bsg              fb0       loop6               pts    ram8    sg0       tty12  tty26  tty4   tty53  ttyprintk  ttyS21  ttyS7    vcsa
btrfs-control    fd        loop7               ram0   ram9    sg1       tty13  tty27  tty40  tty54  ttyS0      ttyS22  ttyS8    vcsa1
bus              full      loop-control        ram1   random  sg2       tty14  tty28  tty41  tty55  ttyS1      ttyS23  ttyS9    vcsa2
cdrom            fuse      mapper              ram10  rfkill  shm       tty15  tty29  tty42  tty56  ttyS10     ttyS24  uhid     vcsa3
cdrw             hidraw0   mcelog              ram11  rtc     snapshot  tty16  tty3   tty43  tty57  ttyS11     ttyS25  uinput   vcsa4
char             hpet      mei                 ram12  rtc0    snd       tty17  tty30  tty44  tty58  ttyS12     ttyS26  urandom  vcsa5
console          input     mem                 ram13  sda     sr0       tty18  tty31  tty45  tty59  ttyS13     ttyS27  v4l      vcsa6
core             kmsg      net                 ram14  sda1    stderr    tty19  tty32  tty46  tty6   ttyS14     ttyS28  vcs      vcsa7
cpu              log       network_latency     ram15  sda2    stdin     tty2   tty33  tty47  tty60  ttyS15     ttyS29  vcs1     vga_arbiter
cpu_dma_latency  loop0     network_throughput  ram2   sda3    stdout    tty20  tty34  tty48  tty61  ttyS16     ttyS3   vcs2     vhost-net
disk             loop1     null                ram3   sda4    tty       tty21  tty35  tty49  tty62  ttyS17     ttyS30  vcs3     video0
dri              loop2     port                ram4   sda5    tty0      tty22  tty36  tty5   tty63  ttyS18     ttyS31  vcs4     zero
dvd              loop3     ppp                 ram5   sda6    tty1      tty23  tty37  tty50  tty7   ttyS19     ttyS4   vcs5

Ich habe dieses Tutorial schon einmal befolgt, aber ich habe keine Ahnung, was diesmal falsch ist. Also, bitte sagen Sie mir, wie ich die mmcblk-Liste bekomme.

Antwort1

Die SD-Karte ist nicht unbedingt als sichtbar /dev/mmcblk*. Eine andere Möglichkeit ist /dev/sd*.

Sie können den Namen entweder in der dmesgAusgabe finden. Eine andere Möglichkeit besteht darin, die Karte auszuwerfen, einzugeben ls /dev, die Karte einzulegen, den Vorgang ls /deverneut durchzuführen und den Unterschied zu ermitteln.

Antwort2

Versuchen Sie es über die Befehlszeile in der Konsole:

lsblk

Darin sollten alle Ihre Festplatten und deren Partitionen aufgelistet sein.

verwandte Informationen