Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #207737

Re: What's the device name of my microSD card?

From Paul Sutton <zleap@disroot.org>
Newsgroups linux.debian.user
Subject Re: What's the device name of my microSD card?
Date 2019-04-21 20:20 +0200
Message-ID <xPpei-5cT-17@gated-at.bofh.it> (permalink)
References <xPp4B-59j-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 21/04/2019 19:02, Erik Josefsson wrote:
>
> I have just assembled a [Teres machine] to learn how to set it up from
> the instructions on http://box.redpill.dk/ mentioned before on this list.
>
> I run into my ignorance already at instruction 2: "Locate device name
> of your microSD card".
>
> It turns out when I use completion with ls /dev/disk/by-id/ that my
> new USB microSD card reader says that my micro SD card has two names:
>
>     usb-Generic_STORAGE_DEVICE_000000001532-0:0
>     usb-Generic_STORAGE_DEVICE_000000001532-0:0-part1
>
> This ambiguity becomes problematic when I try instruction 4)
> "Decompress and copy image onto card" with "Fast method" b):
>
>     sudo sh -c 'zcat core-lime2-1.0b17.img.gz >
>     /dev/disk/by-id/my-sd-card'
>
> I guess that the placeholder "my-sd-card" is neither of the two names
> above.
>
> Basically: How do I find out the device name of my microSD card?
>
> Best regards.
>
> //Erik
>
> [Teres machine]
> https://www.olimex.com/Products/DIY-Laptop/KITS/TERES-A64-BLACK/

Not to sure if this helps.  if you run lsblk it will list devices
connected to the system,  just plugged in a usb flash disk and it showed
up as

sdg      8:96   1   3.8G  0 disk
├─sdg1   8:97   1   640M  0 part /media/psutton/Rescatux0.51b3
└─sdg2   8:98   1   704K  0 part

from the man page (man lsblk)

NAME
       lsblk - list block devices

Worth a try

if you run

lsblk | tee lsblkoutput.txt

Output will be directed to the console AND the file lsblkoutput.txt.

  

Hope this helps

Paul

-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What's the device name of my microSD card? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-04-21 20:10 +0200
  Fwd: What's the device name of my microSD card? Patrick Wiseman <pwiseman@gmail.com> - 2019-04-21 20:20 +0200
  Re: What's the device name of my microSD card? Paul Sutton <zleap@disroot.org> - 2019-04-21 20:20 +0200
    Re: What's the device name of my microSD card? Patrick Wiseman <pwiseman@gmail.com> - 2019-04-21 20:40 +0200
      Re: What's the device name of my microSD card? Patrick Wiseman <pwiseman@gmail.com> - 2019-04-21 21:00 +0200
    Re: What's the device name of my microSD card? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-04-21 20:40 +0200
      Re: What's the device name of my microSD card? David Wright <deblis@lionunicorn.co.uk> - 2019-04-21 22:10 +0200
        Re: What's the device name of my microSD card? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-04-21 23:10 +0200
          Re: What's the device name of my microSD card? David Wright <deblis@lionunicorn.co.uk> - 2019-04-22 03:10 +0200
          Re: What's the device name of my microSD card? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-04-22 09:40 +0200
    Re: What's the device name of my microSD card? Jonas Smedegaard <jonas@jones.dk> - 2019-04-21 21:30 +0200
  Re: What's the device name of my microSD card? Reco <recoverym4n@enotuniq.net> - 2019-04-21 20:30 +0200
    Re: What's the device name of my microSD card? Reco <recoverym4n@enotuniq.net> - 2019-04-21 21:20 +0200
    Re: What's the device name of my microSD card? Jonas Smedegaard <jonas@jones.dk> - 2019-04-21 21:20 +0200

csiph-web