• Labeling micro-SD cards ?

    From R.Wieser@3:770/3 to All on Monday, October 17, 2022 08:17:26
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black
    backside) of the card (the written text is easy to rub off, even after a
    couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back
    into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nev young@3:770/3 to R.Wieser on Monday, October 17, 2022 07:31:34
    On 17/10/2022 07:17, R.Wieser wrote:
    Hello all,

    So, how you people mark/label your micro-SD cards to keep them apart ?

    I keep them in the micro SD -> SD adapters when not in use. They're big
    enough to write on or take a sticky label.

    --
    Nev
    It causes me a great deal of regret and remorse
    that so many people are unable to understand what I write.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 10:27:19
    Nev,

    I keep them in the micro SD -> SD adapters when not in use. They're big enough to write on or take a sticky label.

    Yeah, I wrote I (try to) do the same. But just imagine /somehow/ having forgotten that and asking yourself which of the two, three is which ...

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From JJenssen@3:770/3 to All on Monday, October 17, 2022 11:06:12
    Am 17.10.22 um 08:17 schrieb R.Wieser:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    Regards,
    Rudy Wieser



    Hi Rudy,

    I'm binding small pockets of scrap paper that I label before folding.
    Never had to guess what is in there.

    ___

    Regards
    JJenssen

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 10:37:02
    Nev,

    I keep them in the micro SD -> SD adapters when not in use.

    Another possible "funny" situation: Removing the micro-SD card from the RPi and than seeing two (or more) empty SD -> SD adapters infront of you. :-(
    :-)

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dave@3:770/3 to nev young on Monday, October 17, 2022 10:45:28
    On 17/10/2022 07:31, nev young wrote:
    On 17/10/2022 07:17, R.Wieser wrote:
    Hello all,

    So, how you people mark/label your micro-SD cards to keep them apart ?

    I keep them in the micro SD -> SD adapters when not in use. They're big enough to write on or take a sticky label.

    This. But I also put a file SD.txt in the root partition containing a
    log of what the card has been used for. Unless I forget.
    --
    Dave

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to R.Wieser on Monday, October 17, 2022 11:21:27
    On Mon, 17 Oct 2022 08:17:26 +0200
    "R.Wieser" <address@not.available> wrote:

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    I spy a market opportunity - micro-SD cards with a tiny e-in
    display on them- you write a file in the root partition to control it. Big
    pile of vulture capital required.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ian@3:770/3 to R.Wieser on Monday, October 17, 2022 10:45:23
    On 2022-10-17, R.Wieser <address@not.available> wrote:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    Regards,
    Rudy Wieser

    A short code on each (A01, A02 etc), written on the front with a very fine sharpie, and a database / spreadsheet / text file / notepad (the physical
    kind) to record what each code means. Just a letter or number would be fine
    if you don't have many.



    --
    Ian

    "Tamahome!!!" - "Miaka!!!"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 12:44:43
    Guys,

    Why is it that you don't read the *whole* message before responding ?

    [quote=me]
    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled)
    [quote]

    Yes, *I KNOW* how to put those micro-SD cards into (a bigger) something that
    I /can/ label and have done so. Thats not the problem. What is is when
    they are *NOT* inside those somethings.

    Like when having just removed one from my RPi. Should I just put it into
    the first empty "pocket" that I can find and hope that whatever it is
    labeled with is whats actually on the micro-SD card ? Thats not a
    question if, but just when that will go wrong*. :-(

    * and with Murphies Law in mind that will happen when I can least use it
    and/or causes the biggest damage.

    IOW, even if I put the actual, long description on the "pocket" I still need
    to match the micro-SD card up with its own "pocket".

    ... for which some method of labeling the micro-SD card is needed. :-)

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ian@3:770/3 to Ian on Monday, October 17, 2022 11:02:55
    On 2022-10-17, Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
    On 2022-10-17, R.Wieser <address@not.available> wrote:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label >> (would make the whole to thick to fit into the RPi's slot) and I've not been >> able to find a pen thats able to reliable write on the (mostly black
    backside) of the card (the written text is easy to rub off, even after a
    couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back >> into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    Regards,
    Rudy Wieser

    A short code on each (A01, A02 etc), written on the front with a very fine sharpie, and a database / spreadsheet / text file / notepad (the physical kind) to record what each code means. Just a letter or number would be fine if you don't have many.

    E.g.:

    https://www.jusme.com/perm/sd-cards.jpg



    --
    Ian

    "Tamahome!!!" - "Miaka!!!"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Monday, October 17, 2022 11:03:14
    On a sunny day (Mon, 17 Oct 2022 12:44:43 +0200) it happened "R.Wieser" <address@not.available> wrote in <tijbn5$2mn$1@gioia.aioe.org>:

    Guys,

    Why is it that you don't read the *whole* message before responding ?

    [quote=me]
    I've been trying to keep the cards apart to meticulously putting them back >> into their SD card "pockets" (which I do have labeled)
    [quote]

    Yes, *I KNOW* how to put those micro-SD cards into (a bigger) something that >I /can/ label and have done so. Thats not the problem. What is is when
    they are *NOT* inside those somethings.

    Like when having just removed one from my RPi. Should I just put it into
    the first empty "pocket" that I can find and hope that whatever it is
    labeled with is whats actually on the micro-SD card ? Thats not a
    question if, but just when that will go wrong*. :-(

    * and with Murphies Law in mind that will happen when I can least use it >and/or causes the biggest damage.

    IOW, even if I put the actual, long description on the "pocket" I still need >to match the micro-SD card up with its own "pocket".

    ... for which some method of labeling the micro-SD card is needed. :-)

    Regards,
    Rudy Wieser

    On my Samsung micro SDcards, those are red-white colored,
    I have a number written with permanent marker in black,
    and I keep a list of those numbers and what is on the cards.
    When the numbers get bigger this will need an other solution,
    perhaps using an engraving pen (I have one too).

    Else I just stick it in the laptop with adaptor and see what is on it.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 13:13:54
    Ahem,

    I spy a market opportunity - micro-SD cards with a tiny
    e-in display on them-

    Yeah! Thats the thing I need. So, when will you have your first prototype ready ? :-p

    you write a file in the root partition to control it.

    That made me check if I could actually put something on the micro-SD card
    that I could easily check (an empty file with the filename being the "label"
    of the card perhaps) - without having to boot it.

    Although I can access the "recovery partition" using a Windows machine, I
    don't see it when I look at the same card mounted (next to the one thats
    booted from) on my Rpi. Vise-verse, although the RPi show both a "root" and "boot" folder, neither of those are visible on the Window machine.

    IOW, although it would be /something/, I don't really like the idea of
    having to manage two description files, one for each OS ...

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 13:44:14
    Jan,

    On my Samsung micro SDcards, those are red-white colored,

    Thats the other problem : I've got exactly *one* micro-SD card which is
    /not/ plain black with white lettering.

    perhaps using an engraving pen (I have one too).

    An *engraving* pen ? One that goes /into/ whatever surface you apply it on (etching it) ? I don't think that the plastic (over the chip) on either the front or back is thick enough for that ...

    Else I just stick it in the laptop with adaptor and see what is on it.

    Ahem suggested something that made me think of the same. Alas, my PC only shows the "recovery" partition (of a NOOBS installation), and when I put the adapter in the RPi only see the "boot" and "root" partitions. :-\

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ian@3:770/3 to R.Wieser on Monday, October 17, 2022 11:57:49
    On 2022-10-17, R.Wieser <address@not.available> wrote:

    1) most of my micro-SD cards are plain black with white lettering, so a dark-colored sharpie would be almost invisible (I already tried)

    2) When writing on the plastic the "ink" doesn't really seem to dry, and can easily be rubbed off (I tried several pens)

    Use "Tipp-ex" as a primer? Or white spray paint?


    --
    Ian

    "Tamahome!!!" - "Miaka!!!"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 13:28:24
    Ian,

    A short code on each (A01, A02 etc), written on the front with a very
    fine sharpie

    That was pretty-much what I was thinking of too (just the backside instead
    of the front).

    A few problems:

    1) most of my micro-SD cards are plain black with white lettering, so a dark-colored sharpie would be almost invisible (I already tried)

    2) When writing on the plastic the "ink" doesn't really seem to dry, and can easily be rubbed off (I tried several pens)

    3) A big problem: I don't think I can write as small as what you showed in
    that image you posted without making an unrecognisable mess outof it. :-\

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ian@3:770/3 to R.Wieser on Monday, October 17, 2022 11:55:33
    On 2022-10-17, R.Wieser <address@not.available> wrote:

    3) A big problem: I don't think I can write as small as what you showed in that image you posted without making an unrecognisable mess outof it. :-\

    I feel your pain! I need magnifying lenses to write/see them...

    Random thought - use colour codes? Pick a few suitable colours and just draw several lines across - a-la resistor colour codes. 4 colours x 4 lines is
    256 combinations.


    --
    Ian

    "Tamahome!!!" - "Miaka!!!"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Thomas Kempkes@3:770/3 to R.Wieser on Monday, October 17, 2022 13:44:25
    R.Wieser <address@not.available> wrote:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    I did not try it, but maybe try writing to the surface with a laser
    engraver?

    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    I don't...

    Regards,
    Rudy Wieser

    BYe Thomas

    --
    The best things in life are free, but the
    expensive ones are still worth a look.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Monday, October 17, 2022 13:10:48
    On 17/10/2022 07:17, R.Wieser wrote:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    Regards,
    Rudy Wieser


    But a 40 card holder with a writeable lid thingie.
    (e.g. https://www.amazon.co.uk/Water-Resistant-Nintendo-Organizer-Protector-Carabiner/dp/B07Z1S1TS5/ref=sr_1_11
    )

    Learn discipline when taking out and replacing cards

    --
    "An intellectual is a person knowledgeable in one field who speaks out
    only in others...”

    Tom Wolfe

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Ian on Monday, October 17, 2022 14:12:02
    Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
    On 2022-10-17, R.Wieser <address@not.available> wrote:

    1) most of my micro-SD cards are plain black with white lettering, so a dark-colored sharpie would be almost invisible (I already tried)

    2) When writing on the plastic the "ink" doesn't really seem to dry, and can
    easily be rubbed off (I tried several pens)

    Use "Tipp-ex" as a primer? Or white spray paint?

    I'd use a dot of coloured paint. Wipe the majority of it off so it doesn't leave a blob with any thickness.

    If using a spray, you'd need to mask off the contacts first.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nospam@3:770/3 to address@not.available on Monday, October 17, 2022 08:27:31
    In article <tiis1u$15dm$1@gioia.aioe.org>, R.Wieser
    <address@not.available> wrote:

    So, how you people mark/label your micro-SD cards to keep them apart ?

    micro-sd card case.

    example:
    <https://m.media-amazon.com/images/I/71Ld4xZflSS._AC_SL1500_.jpg>

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to The Natural Philosopher on Monday, October 17, 2022 13:44:16
    On Mon, 17 Oct 2022 13:10:48 +0100
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    But a 40 card holder with a writeable lid thingie.
    (e.g. https://www.amazon.co.uk/Water-Resistant-Nintendo-Organizer-Protector-Carabiner/dp/B07Z1S1TS5/ref=sr_1_11
    )

    Learn discipline when taking out and replacing cards

    Never drop it!

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Theo on Monday, October 17, 2022 14:52:54
    On 17 Oct 2022 14:12:02 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    I'd use a dot of coloured paint. Wipe the majority of it off so it
    doesn't leave a blob with any thickness.

    Hmm how well does nail varnish work ?

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to pNaonStpealmtje@yahoo.com on Monday, October 17, 2022 16:15:34
    On a sunny day (Mon, 17 Oct 2022 16:11:12 GMT) it happened Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote in <tijus3$3fr8o$1@dont-email.me>:

    http://panteltje.com/pub/SD_card_pencil_markins_IXIMG_0880.JPG

    Sorry, was wrong link, this one:
    and then store in this transparent thing from ebay:
    http://panteltje.com/pub/SDcard_card_transparent_storage_IXIMG_0886.JPG

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Monday, October 17, 2022 16:11:12
    On a sunny day (Mon, 17 Oct 2022 13:44:14 +0200) it happened "R.Wieser" <address@not.available> wrote in <tijf6l$1ncv$2@gioia.aioe.org>:

    Jan,

    On my Samsung micro SDcards, those are red-white colored,

    Thats the other problem : I've got exactly *one* micro-SD card which is
    /not/ plain black with white lettering.

    perhaps using an engraving pen (I have one too).

    An *engraving* pen ? One that goes /into/ whatever surface you apply it on >(etching it) ? I don't think that the plastic (over the chip) on either the >front or back is thick enough for that ...

    This also works, pencil writing on the SDcard adaptor
    http://panteltje.com/pub/SD_card_pencil_markins_IXIMG_0880.JPG

    and then store in this transparent thing from ebay:
    http://panteltje.com/pub/SD_card_pencil_markins_IXIMG_0880.JPG
    so yo ucan stil lread what is on it.


    Else I just stick it in the laptop with adaptor and see what is on it.

    Ahem suggested something that made me think of the same. Alas, my PC only >shows the "recovery" partition (of a NOOBS installation), and when I put the >adapter in the RPi only see the "boot" and "root" partitions. :-\

    I dunno, dmesg shows /dev/sdc1 and /dev/sdc2 on my laptop
    mount /dev/sdc1 /mnt/sdc1
    mount /dev/sdc2 /mnt/sdc2
    ls -rtl /mnt/sdc2
    total 76
    drwxr-xr-x 2 root root 4096 Sep 27 2020 sys/
    drwxr-xr-x 2 root root 4096 Sep 27 2020 proc/
    etc

    ls -rtl /mnt/sdc1
    panteltje20: ~ # lb /mnt/sdc1
    total 54465
    -rwxr-xr-x 1 root root 166 Dec 31 1979 cmdline.txt*
    -rwxr-xr-x 1 root root 18693 May 27 2020 COPYING.linux*
    -rwxr-xr-x 1 root root 1594 Sep 30 2020 LICENCE.broadcom*
    etc

    What more do you want?
    You can change directory to /mnt/sdc2/root/ or any other directory
    panteltje20: ~ # cd /mnt/sdc2/root/
    panteltje20: /mnt/sdc2/root # ls -rtl
    total 368
    drwxr-xr-x 3 root root 4096 Jan 12 2021 compile/
    drwxr-xr-x 2 root root 4096 Jan 19 2021 sound/
    drwxr-xr-x 2 root root 4096 Jan 19 2021 sounds/
    etc

    Regards,
    Rudy Wieser

    More partitiosn? dmesg should show those
    else
    panteltje20: ~ # fdisk /dev/sdc

    Command (m for help): p

    Disk /dev/sdc: 32.0 GB, 32010928128 bytes
    64 heads, 32 sectors/track, 30528 cylinders, total 62521344 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x4f8384919

    Device Boot Start End Blocks Id System
    /dev/sdc1 8192 532479 262144 c W95 FAT32 (LBA) /dev/sdc2 532480 62521343 30994432 83 Linux

    All fails?
    dd if=/dev/sdc of=whatever bs=512 skip=0 count=1
    copy any sector[s]

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Ahem A Rivet's Shot on Monday, October 17, 2022 17:48:54
    On 17/10/2022 14:52, Ahem A Rivet's Shot wrote:
    On 17 Oct 2022 14:12:02 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    I'd use a dot of coloured paint. Wipe the majority of it off so it
    doesn't leave a blob with any thickness.

    Hmm how well does nail varnish work ?

    very well

    --
    It’s easier to fool people than to convince them that they have been fooled. Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to R.Wieser on Monday, October 17, 2022 18:02:28
    R.Wieser <address@not.available> wrote:

    3) A big problem: I don't think I can write as small as what you showed in that image you posted without making an unrecognisable mess outof it. :-\


    Same here. I use the kind of scotch tape that can be written on.
    Put the end of the tape over the back edge of the card and double
    it over, sticky side in, so it adheres to front and back of the
    card with an overlap of maybe 2 mm. Then trim the edges so it's
    no wider than the card. The "tail" can be as long as you like.
    Usually an inch or two is enough.

    Getting the tape to fold flat is probably the hardest part.

    The tails don't stay stuck forever, but last long enough to be
    quite useful. Being transparent one can't write on both sides,
    but a sufficiently dextrous person might embed a slip of paper
    for sake of opacity. I'm not that dextrous 8-(

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nev young@3:770/3 to R.Wieser on Monday, October 17, 2022 19:25:38
    On 17/10/2022 09:27, R.Wieser wrote:
    Nev,

    I keep them in the micro SD -> SD adapters when not in use. They're big
    enough to write on or take a sticky label.

    Yeah, I wrote I (try to) do the same. But just imagine /somehow/ having forgotten that and asking yourself which of the two, three is which ...

    OK.
    Try "painting" the micro SD with Tipex then writing on it.


    --
    Nev
    It causes me a great deal of regret and remorse
    that so many people are unable to understand what I write.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 17, 2022 20:25:36
    Jan,

    This also works, pencil writing on the SDcard adaptor

    The "SDcard adapter" is not the problem, I can, and already have stuck descriptive labels to them.

    The problem is that I have the need to mark the micro-SD cards themselves.
    Mine are mostly black on both sides, with white text on the front, and a smooth, shiny backside.

    IOW, a backside onto which pens do not even want to write, and a frontside which leaves /very/ little space to write anything. Couple that with having
    a problem with writing legible, and than /that/ small I have quite a problem ...

    I dunno, dmesg shows /dev/sdc1 and /dev/sdc2 on my laptop

    :-) My Desktop runs windows. No 'dmesg' on it.

    But I've just taken a look at what 'dmesg' shows on my RPi, and am afraid
    that I do not even understand a quarter of it. Sorry.


    Only when I inserted the USB dongle with another micro-SD card I was able to see an "sda", and "fdisk /dev/sda" showed five partitions on it, numbered 1,
    2, 5, 6, 7, with one W98 fat16, one W95 fat32, two Linux and one extended.

    I take it that the two Linux partitions where the ones auto-mounted as
    "boot" and "root"

    I've not tried to mount either of the "w95" partitions, as I am not at all
    sure what would happen.

    Botton line : being able to look into the w95 "restore" partition - just to check and/or change a files name - is not something I would (currently)
    easily be able to do.

    Also, although I /think/ I found the booted micro-SD card under "mmc", but
    when I tried to "sudo fdisk /dev/mmc" all I got was a 'not found' error.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to R.Wieser on Tuesday, October 18, 2022 07:15:53
    R.Wieser <address@not.available> wrote:
    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    0.5mm mechanical pencil and very abbreviated names. This is far from
    perfect - it rubs off over time. I'm in the habit of attempting to
    mark everything in pencil though, whether it seems likely to work or
    not, and usually it can at least be viewed by tilting with a light
    source behind you and seeing the reflection of the graphite.

    Where there's print on the card, it can usually be overcome by just
    going back-and-forth a few times while drawing the letters, so that
    they're bolder and therefore stand out more.

    It works well enough for me that I mainly just keep my Micro SD
    cards in a little tub and fish them out as required. It does help
    that they're a bunch bought as a bulk lot of used cards on Ebay,
    and many have different manufacturer's markings.

    Alternatively maybe thin vinyl decals would work? Maybe you could
    custom-cut them with a "Cricut" or similar machine if you have
    access to one (not tested - I'm still waiting to find myself a
    cheap second-hand one of these to mess around with one day)?

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 18, 2022 08:01:10
    Kev,

    So, how you people mark/label your micro-SD cards to keep them apart ?

    0.5mm mechanical pencil and very abbreviated names. This is far from
    perfect - it rubs off over time.

    I've done the same, with pencels and "sharpie's". And yes, thats
    pretty-much the problem I have too : it rubs off/smears out /way/ too
    easily. :-(

    I think I've might have found a solution for a number of problems all at
    once though : a Dymo LetraTag (a handheld, battery-fed model). I don't have
    to write anything myself, its black letters on a white background, and its smallest font allows for quite a number of letters in two lines. Although I had my doubts if the plastic labels themselves would be thin enough they do
    do seem to be.

    Funny: I've had the LettraTag for a while now (labeled the SD "sleeves" with it), but always assumed that the labels would be to thick for the micro-SD
    card to be able to fit in the RPi or its "sleeve". As it turns out my presumption made a fool outof me. :-( :-)

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to R.Wieser on Tuesday, October 18, 2022 17:48:44
    R.Wieser <address@not.available> wrote:
    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    I've not tried, but given what you've tried that hasn't worked, have you considered a quick blast of spray paint to create a writable surface? If
    you want something more controllable, perhaps a thin coat of white-out (remember that from typing class?) would work.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Tuesday, October 18, 2022 17:00:40
    On Tue, 18 Oct 2022 08:01:10 +0200, "R.Wieser" <address@not.available> declaimed the following:


    I've done the same, with pencels and "sharpie's". And yes, thats >pretty-much the problem I have too : it rubs off/smears out /way/ too
    easily. :-(

    Check office supply (or art supply) stores for a silver or gold fine point "paint" marker.


    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to scott@alfter.diespammersdie.us on Wednesday, October 19, 2022 01:52:39
    <scott@alfter.diespammersdie.us> wrote:
    I've not tried, but given what you've tried that hasn't worked, have you considered a quick blast of spray paint to create a writable surface? If
    you want something more controllable, perhaps a thin coat of white-out (remember that from typing class?) would work.

    Yes, much easier and less messy than spray paint: correction fluid /
    tipp-ex / wite-out is the way to go.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 19, 2022 07:56:44
    Dennis,

    Check office supply (or art supply) stores for a silver or gold
    fine point "paint" marker.

    Yep, tried those too. :-)

    Didn't really want to attach itself to the (smooth, shiny) surface I tried
    them on, and, after having dried, effectivily crumbled off when touched normally.

    Alas ...

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to R.Wieser on Wednesday, October 19, 2022 09:19:20
    On Wed, 19 Oct 2022 07:56:44 +0200, R.Wieser wrote:

    Didn't really want to attach itself to the (smooth, shiny) surface I
    tried them on, and, after having dried, effectivily crumbled off when
    touched normally.

    Does roughening the surface with fine sandpsaper (aka flourpaper) help?






    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 19, 2022 14:16:42
    Martin,

    Does roughening the surface with fine sandpsaper (aka flourpaper) help?

    I've not tried that. But I rather not as I've got little idea in how thick that that plastic layer is and presuming I could easily destroy the chip -
    or even just the microscopic wires connecting it to the rest.

    But I think I found a workable solution in using the (plastic, rather thin) labels produced by a hand-held Dymo LetraTag. And added, rather large, pre (next to being able to easily remove them) : I do not need to try to
    scribble the text myself. :-)

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From David Higton@3:770/3 to R.Wieser on Wednesday, October 19, 2022 14:53:18
    In message <tio3m7$1d52$1@gioia.aioe.org>
    "R.Wieser" <address@not.available> wrote:

    Dennis,

    Check office supply (or art supply) stores for a silver or gold fine
    point "paint" marker.

    Yep, tried those too. :-)

    Didn't really want to attach itself to the (smooth, shiny) surface I tried them on, and, after having dried, effectivily crumbled off when touched normally.

    I had the same experience when I tried that a couple of years or so back.

    David

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 19, 2022 17:17:48
    Martin,

    But I think I found a workable solution in using the (plastic, rather
    thin) labels produced by a hand-held Dymo LetraTag.

    Neat, though it might make the uSD little thick to go into some
    sockets I've seen.

    That is why I never tried the, as far as I could tell, bulky paper ones (had some numbered "dots" laying around which I used for marking other stuff),
    but forgot all about the Dymo plastic ones.

    By the way, I've tried to the label on both the back and the front side.
    While putting them on the front side seems to make it a bit more difficult
    to put the card into the RPi slot, I'm a bit hesitant to put them on the
    back (where they do not seem to give as much trouble), as that moves the
    cards contacts further away from the contacts on the RPi ...

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to R.Wieser on Wednesday, October 19, 2022 14:40:15
    On Wed, 19 Oct 2022 14:16:42 +0200, R.Wieser wrote:

    I've not tried that. But I rather not as I've got little idea in how
    thick that that plastic layer is and presuming I could easily destroy
    the chip - or even just the microscopic wires connecting it to the rest.

    That is certainly a sensible approach.

    I've just taken a close look at both a Sandisk and a Kingston uSD card.
    Both seem to have the same structure: I think the body of the thing, which
    has the raised 'handle' and the writing on it, is a single, solid piece of plastic. I think the contacts and connectors to the chip are plated on the other side, and then overlaid with a layer of black plastic: a careful
    feel with a fingernail shows that the plain black, shiny lower surface
    overlays the contacts: the contacts are inset slightly relative to the undersurface.

    Obviously, doing anything to the undersurface could damage the uSD card,
    but carefully sanding or painting the top surface shouldn't damage it.

    But I think I found a workable solution in using the (plastic, rather
    thin) labels produced by a hand-held Dymo LetraTag.

    Neat, though it might make the uSD little thick to go into some sockets
    I've seen.


    And added, rather large, pre (next to being able to easily remove
    them) : I do not need to try to scribble the text myself. :-)

    I keep my unused uSD cards in the standard SD card adapters they come
    with. So far, the few I have stay in the devices I bought them for (Pi2,
    Pi zero, and a Medion PNA), but if I kept a library of them,I think I'd
    write on the standard card adapter and do something cryptic with coloured
    dots or a single letter to show which uSD card should be in a particular standard SD card adapter.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to All on Wednesday, October 19, 2022 14:33:12
    I use paper sticky labels foldered over on them selves and sticking to a
    few millimeters of each side of the microSD card. With care they last a
    while are are easy to replace when they fail. I haven't found the extra thickness interfers with inserting the card.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to R.Wieser on Wednesday, October 19, 2022 16:06:10
    On Wed, 19 Oct 2022 17:17:48 +0200, R.Wieser wrote:

    By the way, I've tried to the label on both the back and the front side. While putting them on the front side seems to make it a bit more
    difficult to put the card into the RPi slot, I'm a bit hesitant to put
    them on the back (where they do not seem to give as much trouble), as
    that moves the cards contacts further away from the contacts on the RPi
    ...

    Good point.

    All my uSD cards have glossy black back surfaces.

    Those of my uSD cards that aren't in RPis look to have a matt enough front surface for good paint or felt-tip adhesion.

    One of my Kingstons has a self-adhesive 8mm coloured coloured dot, written
    on with a biro, attached to its front surface. It slips into the full-size
    SD adapter with plenty of clearance and the dot is showing no sign at all
    of coming off.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andrew Smallshaw@3:770/3 to R.Wieser on Wednesday, October 19, 2022 17:48:12
    On 2022-10-17, R.Wieser <address@not.available> wrote:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    Personally I use a Dymo-style thermal labelling machine, the tape
    does need trimming down but in a small font size I get get a two
    lines of a word or two each on the front. I undersize my labels
    to keep them clear of the very edges of the card but that is more
    wear resistance than anything else. Failing that I'd resort to my
    selection of small, quick drying paints with built in brushes for
    colour coding. Other people know them as nail varnish.


    --
    Andrew Smallshaw
    andrews@sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Harnden@3:770/3 to Ahem A Rivet's Shot on Wednesday, October 19, 2022 18:24:55
    On 17/10/2022 13:44, Ahem A Rivet's Shot wrote:
    On Mon, 17 Oct 2022 13:10:48 +0100
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    But a 40 card holder with a writeable lid thingie.
    (e.g.
    https://www.amazon.co.uk/Water-Resistant-Nintendo-Organizer-Protector-Carabiner/dp/B07Z1S1TS5/ref=sr_1_11
    )

    Learn discipline when taking out and replacing cards

    Never drop it!


    That's punch cards!

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Richard Harnden on Thursday, October 20, 2022 00:30:34
    On Wed, 19 Oct 2022 18:24:55 +0100, Richard Harnden wrote:

    On 17/10/2022 13:44, Ahem A Rivet's Shot wrote:
    On Mon, 17 Oct 2022 13:10:48 +0100 The Natural Philosopher
    <tnp@invalid.invalid> wrote:

    But a 40 card holder with a writeable lid thingie.
    (e.g.
    https://www.amazon.co.uk/Water-Resistant-Nintendo-Organizer-Protector- Carabiner/dp/B07Z1S1TS5/ref=sr_1_11
    )

    Learn discipline when taking out and replacing cards

    Never drop it!


    That's punch cards!

    ... not so bad if you had added sequence numbers AND had a card sorter
    handy.

    However, I discovered all that later: my first computer was an Elliott 503
    that spoke Algol 60 and was programmed with 8 track paper tape written and edited on a Friden Flexowriter. Dropped your program? No problem: get a
    grip on the end of the tape, throw the tape down the nearest stair well
    and use a tape winder. Job done.

    Consequently my subsequent introduction to 80 column cards and 12-key
    punches was quite a shock. Didn't take long to learn that having the 30 or
    so cards that defines a skeleton COBOL program in my briefcase could save
    a lot of time when bug fixing.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to R.Wieser on Thursday, October 20, 2022 10:37:10
    On 17/10/2022 19:25, R.Wieser wrote:
    :-) My Desktop runs windows. No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

    * automount Flash media plugged into the Windows computer
    * read the Linux filesystems with ls


    But I've just taken a look at what 'dmesg' shows on my RPi, and am afraid that I do not even understand a quarter of it. Sorry.


    Why not learn what it means?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to All on Thursday, October 20, 2022 14:32:56
    On 20-10-2022 11:37, mm0fmf wrote:
    Why not learn

    Well, it is Rudy.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to A. Dumas on Thursday, October 20, 2022 14:48:09
    On 20/10/2022 13:32, A. Dumas wrote:
    On 20-10-2022 11:37, mm0fmf wrote:
    Why not learn

    Well, it is Rudy.

    Exactly. I thought the name was familiar and noticed sometime back
    threads from him follow a similar pattern. Ask a question and then keep
    poking holes in any replies. Lather, rinse, repeat.

    My reply about using WSL etc. was hopefully for people other than Rudy
    who may find it helpful to have a free Linux machine on their Windows
    machine to help them with their Pi endeavours. I didn't expect Rudy to actually install it and use it. It would spoil his ability to drag out
    this thread.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Clive Reuben@1:142/104 to R.Wieser on Thursday, October 20, 2022 19:14:19
    On 17 Oct 2022, R.Wieser said the following...

    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on
    label (would make the whole to thick to fit into the RPi's slot) and
    I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub
    off, even after a couple of hours)


    How about these? Easy to write on with a marker...

    https://www.amazon.com/WOVTE-Plastic-Jewelery-Included-Transparent/dp/B014J45ZG Q/

    |07-|15seeLive|08|15{ "|07Sysop|15": ["|07oNyX bBs|15"] }

    |15onyxbbs.mywire.org:2300-tel / :2200-ssh / onyxwww.mywire.org-web
    |07fsxnet / fidonet / tqwnet / dovenet / gamenet / sfnet|14

    ... I'm locked inside a chocolate factory... DON'T send help!

    --- Mystic BBS v1.12 A48 2022/07/15 (Raspberry Pi/32)
    * Origin: oNyX bBs - onyxbbs.mywire.org:2300/2200 (1:142/104)
  • From R.Wieser@3:770/3 to All on Friday, October 21, 2022 11:36:08
    mm0fmf,

    Ask a question and then keep poking holes in any replies.

    In my nick of the woods thats called "weighing pros and cons" and keeping
    the suggester in the loop. An attempt at exchanging information. Not all "you could possibly try {X}" suggestions are good, and not all of them are workable to me - as I have mentioned. Or, in your parlance "poked a hole
    in".

    My reply about using WSL etc. was hopefully for people other than Rudy who may find it helpful to have a free Linux machine on their Windows machine
    to help them with their Pi endeavours.

    Lets go thru your "suggestion", shall we ?

    You suggested to install WSL, without bothering to consider if that is
    actually possible on my 'puter - you where able(?), so everyone else is too.

    You suggested to install software, without considering what my stance in
    regard to installing random stuff is - you simply do not care.

    You suggested to install a heavyweight program/framework just so I can do on
    a Windows machine what I already can do on my RPi - Which is pain daft.

    All that because I mentioned that the suggestion of putting a file somewhere that I could than use to identify the uSD card doesn't quite work for both
    the RPi and my Windows machines ? And a problem that was already
    nullified by me physically labeling the uSD card itself - as I posted the
    day before ?


    Besides that, accessing those partitions /should/ be something the RPI
    should be able to do itself, as it 1) created those partition itself 2)
    already accesses those partitions as part of its boot process.

    The only question is how.

    I wrote what I tried and what results I got- hoping to get some more information/help so I could access either of the mentioned "w95" partitions (that I saw using fdisk), so I could put a file there.

    But instead of doing that you thought it would be a good idea to "suggest"
    (or should I say : demand ?) that I implement your solution which involves installing /lots/ of stuff on another computer *just so I can access a Linux partition* ?

    Kid, thats daft. Over-engeneered stupidity.

    Also :KISS. The less changes that need to be made to effect a solution, the less chance something wil go wrong. Thats not rocket science.

    Regards,
    Rudy Wieser

    P.s.
    Don't try to bullshit people here by claiming that /you already knew/ (how?)
    I would not install it, but just did it to suggest random other people to do so.
    All you did there is showing that you purposely created a situation to be
    able to complain about it to someone else (Dumas). Which makes you, at
    best, an ass.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to All on Friday, October 21, 2022 11:45:28
    On 20/10/2022 10:37, mm0fmf wrote:
    On 17/10/2022 19:25, R.Wieser wrote:
    :-)  My Desktop runs windows.  No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

        * automount Flash media plugged into the Windows computer
        * read the Linux filesystems with ls


    How is this done? I recently tried and found the following problem:

    <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>

    ---
    Prerequisites

    You will need to be on Windows 11 Build 22000 or later to access this
    feature. You can join the Windows Insiders Program to get the latest
    preview builds.
    ---


    I have Windows 10, incompatible with W11. Can I do it?

    My non windows solution has always been to plug the SD card adapter into
    a USB socket of one of my other rPis.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Pancho on Friday, October 21, 2022 12:27:43
    On 21/10/2022 11:45, Pancho wrote:
    On 20/10/2022 10:37, mm0fmf wrote:
    On 17/10/2022 19:25, R.Wieser wrote:
    :-)  My Desktop runs windows.  No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

         * automount Flash media plugged into the Windows computer
         * read the Linux filesystems with ls


    How is this done? I recently tried and found the following problem:

    <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>

    ---
    Prerequisites

    You will need to be on Windows 11 Build 22000 or later to access this feature. You can join the Windows Insiders Program to get the latest
    preview builds.
    ---


    I have Windows 10, incompatible with W11. Can I do it?

    My non windows solution has always been to plug the SD card adapter into
    a USB socket of one of my other rPis.


    Easiest thing is to boot a linux live CD or live USB or install virtual
    box and have a linux virtual machine. Then you aren't handicapped by
    Microsofts inadequacies.

    --
    “I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”

    ― Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to The Natural Philosopher on Saturday, October 22, 2022 13:48:09
    On 21/10/2022 12:27, The Natural Philosopher wrote:
    On 21/10/2022 11:45, Pancho wrote:
    On 20/10/2022 10:37, mm0fmf wrote:
    On 17/10/2022 19:25, R.Wieser wrote:
    :-)  My Desktop runs windows.  No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

         * automount Flash media plugged into the Windows computer
         * read the Linux filesystems with ls


    How is this done? I recently tried and found the following problem:

    <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>

    ---
    Prerequisites

    You will need to be on Windows 11 Build 22000 or later to access this
    feature. You can join the Windows Insiders Program to get the latest
    preview builds.
    ---


    I have Windows 10, incompatible with W11. Can I do it?

    My non windows solution has always been to plug the SD card adapter
    into a USB socket of one of my other rPis.


    Easiest thing is to boot a linux live CD or live USB or install virtual
    box and have a linux virtual machine. Then you aren't handicapped by Microsofts inadequacies.


    Easier to just use an rPi.

    I did use to use VirtualBox, but switched to Hyper-V when I need my VMs
    to boot with the host booting, there was a cludgy way to do it in
    VirtualBox, but it was a standard feature with Hyper-V.

    Anyway, I pretty much gave up using traditional VMs when WSL 2 appeared.
    That enabled me to run Linux Docker machines and I had the rPi if I
    required a proper Linux machine, for stuff like reading Ext4. It would
    be nice to read Ext4 SD cards in WSL2, but I'm not going to run out and
    buy a new machine, to get W11.

    Anyway, I was interested in the RPi Imager/headless install Andy Burns
    was talking about. After some fannying around, I re-remembered that the
    SD card boot partition is FAT anyway, so I didn't need Ext4 to see what
    was going on.

    The RPi imager drops a shell script in the boot partition, firstrun.sh.

    SSH worked for me with both password authentication and with public-key
    only authentication. A little bit irritating that the password
    authentication didn't copy a public key across.


    However, all in all, It is nice to be able to do a WIFI headless instal.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to Pancho on Sunday, October 23, 2022 12:33:48
    On 21/10/2022 11:45, Pancho wrote:
    On 20/10/2022 10:37, mm0fmf wrote:
    On 17/10/2022 19:25, R.Wieser wrote:
    :-)  My Desktop runs windows.  No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

         * automount Flash media plugged into the Windows computer
         * read the Linux filesystems with ls


    How is this done? I recently tried and found the following problem:

    <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>

    ---
    Prerequisites

    You will need to be on Windows 11 Build 22000 or later to access this feature. You can join the Windows Insiders Program to get the latest
    preview builds.
    ---


    I have Windows 10, incompatible with W11. Can I do it?

    My non windows solution has always been to plug the SD card adapter into
    a USB socket of one of my other rPis.


    Don't know. The Windows machines here are all Win10 Pro or Win10
    Enterprise. WSL and/or WSL2 install fine on W10. Try it and see if it
    works. If it doesn't automount, you just have to manually mount it with
    the right fstype, not the end of the world.

    You can probably use Cygwin to achieve the same end but WSL/WSL2 seem to install with less effort IMHO.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to All on Sunday, October 23, 2022 15:25:17
    On 23/10/2022 12:33, mm0fmf wrote:
    On 21/10/2022 11:45, Pancho wrote:
    On 20/10/2022 10:37, mm0fmf wrote:
    On 17/10/2022 19:25, R.Wieser wrote:
    :-)  My Desktop runs windows.  No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

         * automount Flash media plugged into the Windows computer
         * read the Linux filesystems with ls


    How is this done? I recently tried and found the following problem:

    <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>

    ---
    Prerequisites

    You will need to be on Windows 11 Build 22000 or later to access this
    feature. You can join the Windows Insiders Program to get the latest
    preview builds.
    ---


    I have Windows 10, incompatible with W11. Can I do it?

    My non windows solution has always been to plug the SD card adapter
    into a USB socket of one of my other rPis.


    Don't know. The Windows machines here are all Win10 Pro or Win10
    Enterprise. WSL and/or WSL2 install fine on W10. Try it and see if it
    works.

    Yes, I have WSL2, I use WSL2 regularly.

    If it doesn't automount, you just have to manually mount it with
    the right fstype, not the end of the world.


    Mount what exactly?

    AIUI, The hypervisor on Windows (e.g. Hyper-V, Virtual Box) has tended
    to get devices handed to it by Windows. If Windows cannot handle a
    device, such as an Ext4 USB, Windows will not make the device available
    to the hypervisor.

    Now, some hypervisors enable hardware passthru, which may make things
    such as the USB device directly available to the VM. I've played with
    this in the past and generally found it to be a pain. A promise that it
    will work, that suddenly vanishes when some arcane gotcha brings the
    whole plan grinding to a halt.

    In this case, the WSL2 gotcha was I need a specific build which I don't
    have, and it is far from obvious that I could have even if I spent hours researching it.

    You can probably use Cygwin to achieve the same end but WSL/WSL2 seem to install with less effort IMHO.


    It sounds suspiciously like a wild goose chase.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to Pancho on Sunday, October 23, 2022 16:28:09
    On 23/10/2022 15:25, Pancho wrote:
    On 23/10/2022 12:33, mm0fmf wrote:
    On 21/10/2022 11:45, Pancho wrote:
    On 20/10/2022 10:37, mm0fmf wrote:
    On 17/10/2022 19:25, R.Wieser wrote:
    :-)  My Desktop runs windows.  No 'dmesg' on it.


    So install WSL on the Windows system and you can use that to

         * automount Flash media plugged into the Windows computer
         * read the Linux filesystems with ls


    How is this done? I recently tried and found the following problem:

    <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>

    ---
    Prerequisites

    You will need to be on Windows 11 Build 22000 or later to access this
    feature. You can join the Windows Insiders Program to get the latest
    preview builds.
    ---


    I have Windows 10, incompatible with W11. Can I do it?

    My non windows solution has always been to plug the SD card adapter
    into a USB socket of one of my other rPis.


    Don't know. The Windows machines here are all Win10 Pro or Win10
    Enterprise. WSL and/or WSL2 install fine on W10. Try it and see if it
    works.

    Yes, I have WSL2, I use WSL2 regularly.

    If it doesn't automount, you just have to manually mount it with the
    right fstype, not the end of the world.


    Mount what exactly?


    ISTR the command used was something like

    wsl --mount \\.\PHYSICALDRIVE3

    I know we did this at work to write files to an ext4 partition on an
    SDcard for an RPi Zero being used to do some USB gadget software
    debugging. We don't have any Win11 machines. This was during lockdown
    and someone would have to had to get permission to visit the office, get
    their keycard enabled, driven to the office, put the card in many of the
    Linux lab machines, copy the file and drive back. Which was why WSL was
    used. I'll ask the guy who did it how he did it next time I see him.

    AIUI, The hypervisor on Windows (e.g. Hyper-V, Virtual Box) has tended
    to get devices handed to it by Windows. If Windows cannot handle a
    device, such as an Ext4 USB, Windows will not make the device available
    to the hypervisor.

    Now, some hypervisors enable hardware passthru, which may make things
    such as the USB device directly available to the VM. I've played with
    this in the past and generally found it to be a pain.

    I use lots and lots of Virtualbox VMs (running Linux and Windows) on a
    Windows 2019 server and we have the VMs accessing the Windows Server USB
    and PCI root complex hardware without any issue.

    You can probably use Cygwin to achieve the same end but WSL/WSL2 seem
    to install with less effort IMHO.


    It sounds suspiciously like a wild goose chase.


    I gave up using Cygwin as WSL does what was needed better. YMMV

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jeff Jonas@3:770/3 to All on Monday, October 24, 2022 02:13:12
    Yes, *I KNOW* how to put those micro-SD cards into (a bigger) something
    that I /can/ label and have done so.

    Good!
    The handiest holder I found is this:
    https://www.amazon.com/Bandc-Storage-Holder-Memory-Included/dp/B018RUWK98/ A file folder label fits perfectly in the center.

    Thats not the problem.
    What is is when they are *NOT* inside those somethings.

    One fellow suggested a "readme" file on the SD card itself
    so they're kinda self-identifying.

    When possible, I use a descriptive label on the file system
    despite the 11 characters limit.

    The bottom line:
    I agree that they're too small to label at home.
    Even permanent markers rub off over time.
    Kinda like trying to mark keys.

    --

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Othello@3:770/3 to R.Wieser on Sunday, October 23, 2022 22:56:39
    On 10/17/2022 2:17 AM, R.Wieser wrote:
    Hello all,

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    Besides the surface of the card being tiny, you can't use a stick-on label (would make the whole to thick to fit into the RPi's slot) and I've not been able to find a pen thats able to reliable write on the (mostly black backside) of the card (the written text is easy to rub off, even after a couple of hours)

    I've been trying to keep the cards apart to meticulously putting them back into their SD card "pockets" (which I do have labeled), but would really
    like the be able to mark the micto-SD cards themselves.

    So, how you people mark/label your micro-SD cards to keep them apart ?

    Regards,
    Rudy Wieser


    I have had good success using a paint pen. Sharpie for example makes
    paint versions of their markers. The tip is fine enough to write an
    identifier on the chip and will not rub off easily.

    Look for "paint pen fine tip"
    Amazon has dozens of examples. Not very expensive either.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 24, 2022 08:29:34
    Othello,

    Look for "paint pen fine tip"
    Amazon has dozens of examples. Not very expensive either.

    Thank you.

    Alas, I've already tried to use something of the kind (a "silver" pen), but that both didn't really want to stick (on the smooth-and-shiny backside) and (thus?) rubbed/broke off when even normally used.

    I've found a solution in using a literal label. Which solved a number of problems at the same time : I don't need to try to write anything that
    small, it comes with its own background (allowing me to put it on the
    front), and its even removable.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Monday, October 24, 2022 06:54:39
    On a sunny day (Mon, 24 Oct 2022 08:19:50 +0200) it happened "R.Wieser" <address@not.available> wrote in <tj5b7p$1c4j$1@gioia.aioe.org>:

    2) I can put a file on the card using an RPi, but I than can't read it under >Windows - and vice-versa. Making it a lot less usefull.

    I have an USB card reader, can be used on your running PI to check any cards.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 24, 2022 08:19:50
    Jeff,

    Yes, *I KNOW* how to put those micro-SD cards into (a bigger) something
    that I /can/ label and have done so.

    Good!
    The handiest holder I found is this:
    [snip]

    Thats not the problem.

    :-) I think you missed the above "thats not the problem" line.

    Thats not the problem.
    What is is when they are *NOT* inside those somethings.

    One fellow suggested a "readme" file on the SD card itself
    so they're kinda self-identifying.

    1) That won't help me much when I have a few micro-SD cards laying on the
    table in front of me. Or one micro-SD card and several SD card adapters to put it in.

    2) I can put a file on the card using an RPi, but I than can't read it under Windows - and vice-versa. Making it a lot less usefull.

    The bottom line:
    I agree that they're too small to label at home.

    :-) Although my fine-motor skills agree with you, a few people have
    suggested just that. And one of them even posted an image of his, very readable, handwring.

    Also, I and at least one other person here have used a Dymo LetraTag to
    create a label (with two lines with upto 8 chars per line) which, after a
    bit of trimming, fit neatly on the front of a Micro-SD card.

    IOW, Problem solved.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Monday, October 24, 2022 12:18:08
    On 24/10/2022 12:10, R.Wieser wrote:
    Jan,

    I have an USB card reader, can be used on your running PI to check any
    cards.

    Yes, you can - but as mentioned only the "boot" and "root" partitions are auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32 partitions stay invisible.

    Under Windows I can not see the Linux "boot" and "root" partitions at all, and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
    one, likely the first, FAT16 one).

    And although I'm, as written, quite sure that the RPi can access the "W95" FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an easy fashion (a shell script perhaps?).

    Find out their labels, and edit /etc/mnttab to mount them at boot time.
    Or find out their labels and write a one line script to mount them under
    user control.

    If you have a GUI on the pi they should be visible to whatever partition
    editor you have.

    And should be mountable from there also




    I might try to figure it out some day, but currently I'm happy with being able to physically label it.

    Regards,
    Rudy Wieser



    --
    A lie can travel halfway around the world while the truth is putting on
    its shoes.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Monday, October 24, 2022 13:10:24
    Jan,

    I have an USB card reader, can be used on your running PI to check any
    cards.

    Yes, you can - but as mentioned only the "boot" and "root" partitions are auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32 partitions stay invisible.

    Under Windows I can not see the Linux "boot" and "root" partitions at all,
    and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
    one, likely the first, FAT16 one).

    And although I'm, as written, quite sure that the RPi can access the "W95" FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an
    easy fashion (a shell script perhaps?).

    I might try to figure it out some day, but currently I'm happy with being
    able to physically label it.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Monday, October 24, 2022 12:11:01
    On a sunny day (Mon, 24 Oct 2022 13:10:24 +0200) it happened "R.Wieser" <address@not.available> wrote in <tj5rmc$uvl$1@gioia.aioe.org>:

    Jan,

    I have an USB card reader, can be used on your running PI to check any
    cards.

    Yes, you can - but as mentioned only the "boot" and "root" partitions are >auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32 >partitions stay invisible.

    Under Windows I can not see the Linux "boot" and "root" partitions at all, >and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
    one, likely the first, FAT16 one).

    And although I'm, as written, quite sure that the RPi can access the "W95" >FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an >easy fashion (a shell script perhaps?).

    I might try to figure it out some day, but currently I'm happy with being >able to physically label it.

    Yea, my error perhaps
    Many many years ago I bought a book on Unix
    Then much later when I found a CD with SLS Linux (maybe around 1998 or so?)
    it took me about an hour to get into it and never left Unix again
    FIle structure, shells, basic commands is something you SHOULD
    really learn when using a raspberry IMO to get out of it what's in there.
    I hardly ever use the GUI other than for programs I wrote that use one
    and webbrowser
    Replaced the whatever GUI that came with the latest raspbian release with fvwm and xfm
    and do everything (almost) from the command line.
    9 virtual screens, easy to switch between those with the keyboard or mouse, dmesg
    mount unmount
    ls
    cd
    grep
    gcc!!
    So many things that make using a raspberry or Unix system so nice.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Binaries@3:770/3 to R.Wieser on Monday, October 24, 2022 16:12:50
    On 2022-10-17 06:17:26 +0000, R.Wieser said:

    Over time I've acquired a few micro-SD cards for my RPi's, and have a
    problem with labeling them.

    I started using QR codes printed on a labelling machine - that can
    point to either the card's .local address if it's something like
    Homebridge or pi-hole. Extendable idea to point to a locally-hosted
    more descriptive web page maybe.

    Obviously the amount of data you can encode on what is probably a 9mm
    square code is limited.

    --
    not_me

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris@3:770/3 to R.Wieser on Monday, October 24, 2022 15:32:41
    On Monday, 24 October 2022 at 22:07:57 UTC+11, R.Wieser wrote:
    Jan,
    I have an USB card reader, can be used on your running PI to check any cards.
    Yes, you can - but as mentioned only the "boot" and "root" partitions are auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32 partitions stay invisible.

    Under Windows I can not see the Linux "boot" and "root" partitions at all, and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
    one, likely the first, FAT16 one).

    And although I'm, as written, quite sure that the RPi can access the "W95" FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an easy fashion (a shell script perhaps?).

    I might try to figure it out some day, but currently I'm happy with being able to physically label it.

    Regards,
    Rudy Wieser

    Check out "Linux Reader" from www.diskinternals.com

    The free version allows you to freely mount & examine Linux formatted (and others) partitions from Windows (read only).
    --
    Cheers,
    Chris.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 25, 2022 08:21:13
    Chris,

    Check out "Linux Reader" from www.diskinternals.com

    Thanks. As it so happens I, while looking for something simpler than WSL, found it too. Might even try to use it. :-)

    On the other hand, the RPi /should/ be able to access a W95 FAT16/32
    partition without the need of any additional software ...

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 25, 2022 08:02:11
    Binaries,

    I started using QR codes printed on a labelling machine

    Although that could certainly work, its also means that you would always
    need the QR code scanning hardware and a computer pulling up the associated information active/running. Not really something I would be doing for a once-in-a-while (might be weeks apart) situations.

    Thank you for the suggestion though.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From David Taylor@3:770/3 to R.Wieser on Tuesday, October 25, 2022 07:44:10
    On 25/10/2022 07:02, R.Wieser wrote:
    Although that could certainly work, its also means that you would always
    need the QR code scanning hardware and a computer pulling up the associated information active/running. Not really something I would be doing for a once-in-a-while (might be weeks apart) situations.

    Thank you for the suggestion though.

    Regards,
    Rudy Wieser

    Your phone may already have the "QR scanning hardware" and you could keep the associated information on your Web site. The QR code could be just the URL.
    --
    Cheers,
    David
    Web: https://www.satsignal.eu

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 25, 2022 15:04:42
    David,

    Your phone may already have the "QR scanning hardware" and you could keep
    the associated information on your Web site.

    Neither of which I have. :-)

    The QR code could be just the URL.

    I've just taken a peek at the different QR types. The smallest one, "Micro
    QR" has 35 "numerical characters". I'm not sure if those are automatically translated to characters / a string.

    But assuming those "numerical characters" contain 4 bits a piece and the character encoding would use 6 bits per char you would be left with about 23 chars - which is enough for an URL.

    The biggest problem is that even that "Micro QR" is a 15x15 grid, making, on
    a 9x9mm surface, its squares less than a mm across ...

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to R.Wieser on Tuesday, October 25, 2022 13:47:21
    R.Wieser <address@not.available> wrote:
    Chris,

    Check out "Linux Reader" from www.diskinternals.com

    Thanks. As it so happens I, while looking for something simpler than WSL, found it too. Might even try to use it. :-)

    On the other hand, the RPi /should/ be able to access a W95 FAT16/32 partition without the need of any additional software ...

    It is, assuming the partition is in good order. I just do:

    sudo mount /dev/sda1 /mnt

    (assuming the USB drive is sda, which it probably is if you booted from SD card)

    and then poke around in /mnt to see what's there. Then:

    sudo umount /mnt

    Rinse and repeat for the remaining sda2, sda3, etc.

    That works irrespective of distro, desktop environment, fancy GUI
    automounter, etc etc.

    If it fails to detect the partition type it suggests something is quite
    wrong with the partition, as most common formats can be autodetected.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 25, 2022 15:12:59
    Theo,

    I just do:

    sudo mount /dev/sda1 /mnt

    and then poke around in /mnt to see what's there. Then:

    sudo umount /mnt

    Thanks. I guessed as much, but had nothing to go on.

    And I read somewhere I had to create that "mnt" directory first ? You do
    not seem to do so.

    And a question : do you know wat happens when you (try to) eject the USB
    dongle containing the uSD card you just mounted a partition of ? I would
    not like to have either the boot uSD or the mounted one trashed.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to R.Wieser on Tuesday, October 25, 2022 14:19:38
    R.Wieser <address@not.available> wrote:
    Theo,

    I just do:

    sudo mount /dev/sda1 /mnt

    and then poke around in /mnt to see what's there. Then:

    sudo umount /mnt

    Thanks. I guessed as much, but had nothing to go on.

    And I read somewhere I had to create that "mnt" directory first ? You do
    not seem to do so.

    Most distros already have an empty /mnt directory there, ready for something
    to be mounted.

    And a question : do you know wat happens when you (try to) eject the USB dongle containing the uSD card you just mounted a partition of ? I would not like to have either the boot uSD or the mounted one trashed.

    If you use the desktop environment 'eject' button, it may or may not remove
    the mountpoints. In the above it's done as root, and a regular user won't
    be able to unmount something mounted by root, so the eject complains
    something is still using the device.

    If you 'sudo umount' it first, everything should be fine.

    You can also just forcibly do 'sudo umount /dev/sda1; sudo umount /dev/sda2; ...' to make sure everything is unmounted first, irrespective of whatever
    the desktop does.

    If in doubt, 'sync' to ensure anything unwritten is flushed to the disc before removing it.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Tuesday, October 25, 2022 14:56:02
    On 25/10/2022 07:21, R.Wieser wrote:
    Chris,

    Check out "Linux Reader" from www.diskinternals.com

    Thanks. As it so happens I, while looking for something simpler than WSL, found it too. Might even try to use it. :-)

    On the other hand, the RPi /should/ be able to access a W95 FAT16/32 partition without the need of any additional software ...

    It almost certainly can. Certainly my desktop can see everything on my
    PIs SD card - or could when it was inserted to build it. The PI doesn't
    mount more than the boot and root partitions though by default.

    If you want it to, edit /etc/mnttab

    --
    It’s easier to fool people than to convince them that they have been fooled. Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Tuesday, October 25, 2022 15:02:34
    On 25/10/2022 14:12, R.Wieser wrote:
    Theo,

    I just do:

    sudo mount /dev/sda1 /mnt

    and then poke around in /mnt to see what's there. Then:

    sudo umount /mnt

    Thanks. I guessed as much, but had nothing to go on.

    And I read somewhere I had to create that "mnt" directory first ? You do
    not seem to do so.

    And a question : do you know wat happens when you (try to) eject the USB dongle containing the uSD card you just mounted a partition of ? I would not like to have either the boot uSD or the mounted one trashed.

    umount /mnt

    /mnt may or may not be created by default - I think /media/<username> is
    often used to mount removable drives at least on my desktop linux

    This is all superstructure though - as root you can mount a drive
    partition any damn where you please, even to the point of screwing up
    your machine if e.g. you decide to mount it over /bin!!!!

    Regards,
    Rudy Wieser



    --
    Outside of a dog, a book is a man's best friend. Inside of a dog it's
    too dark to read.

    Groucho Marx

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 25, 2022 17:15:00
    Theo,

    And I read somewhere I had to create that "mnt" directory first ?
    You do not seem to do so.

    Most distros already have an empty /mnt directory there, ready for
    something to be mounted.

    Ah. Understood.

    And a question : do you know wat happens when you (try to) eject the
    USB dongle containing the uSD card you just mounted a partition of ?
    ...
    If you use the desktop environment 'eject' button, it may or may not
    remove the mountpoints.

    Thats currently what I know too. "it may or may not". :-)

    If in doubt, 'sync' to ensure anything unwritten is flushed to the disc before removing it.

    So, either unmount or flush. I had hoped to hear (for sure) that under raspberian the "eject" would automatically unmount first. The less stuff
    you have to remember the better.

    In the above it's done as root, and a regular user won't be able
    to unmount something mounted by root, so the eject complains
    something is still using the device.

    I had not considered that. Hmm... Not being able to eject some removable
    USB stick "root" forgot to take with him. Oh well. I guess nothing a shutdown won't solve. :-)

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to The Natural Philosopher on Tuesday, October 25, 2022 16:10:26
    On Tue, 25 Oct 2022 15:02:34 +0100
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    This is all superstructure though - as root you can mount a drive
    partition any damn where you please, even to the point of screwing up
    your machine if e.g. you decide to mount it over /bin!!!!

    Much more subtle fun is to be had by mounting something over /tmp
    on a running system - there will usually be processes with files open on
    the masked filesystem which can cause no end of confusion.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Tuesday, October 25, 2022 18:56:02
    On 25/10/2022 16:15, R.Wieser wrote:


    So, either unmount or flush. I had hoped to hear (for sure) that under raspberian the "eject" would automatically unmount first. The less stuff you have to remember the better.
    Eject is equivalent to unmount on any device that doesnt have a physical
    eject mechanism


    --
    "A point of view can be a dangerous luxury when substituted for insight
    and understanding".

    Marshall McLuhan

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Tuesday, October 25, 2022 21:01:31
    On 25/10/2022 20:45, R.Wieser wrote:
    TNP,

    And a question : do you know wat happens [snip]

    umount /mnt

    Yes, thats what theo already said. I was asking about what happens when you forget to do so.

    Well unless yuou pull the live card out of its socket, nothing.
    If you IMMEDIASTELY pull it out, and you are writing to it, it may get corrupetd. But mostly the cards get data flushed to them quickly, so
    provided its idle, it may end up needin an fsck, bu thats all.

    /mnt may or may not be created by default - I think /media/<username> is
    often used to mount removable drives at least on my desktop linux

    Both can ofcourse be checked.

    On my RPi :
    /mnt is present and seems to be empty.
    When I inserted an USB adapter for a second uSD card it was mounted on /media/pi

    that is because it was mounted by pi the user not root.

    Hmm... Can't sudo mount anything on /mnt (owned by root), but can on /media/pi

    should be able to

    dmseg was suggesting to do e2... something (I assume an chkdisk equivalent) on sda7, and now that partition isn't auto-mounted anymore. Oh well, I didn't pick that card for nothing. :-)

    e2fsck?
    Means the partition is not internally consistent

    Regards,
    Rudy Wieser



    --
    “It is dangerous to be right in matters on which the established
    authorities are wrong.”

    ― Voltaire, The Age of Louis XIV

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Tuesday, October 25, 2022 21:45:38
    TNP,

    And a question : do you know wat happens [snip]

    umount /mnt

    Yes, thats what theo already said. I was asking about what happens when you forget to do so.

    /mnt may or may not be created by default - I think /media/<username> is often used to mount removable drives at least on my desktop linux

    Both can ofcourse be checked.

    On my RPi :
    /mnt is present and seems to be empty.
    When I inserted an USB adapter for a second uSD card it was mounted on /media/pi

    Hmm... Can't sudo mount anything on /mnt (owned by root), but can on
    /media/pi

    dmseg was suggesting to do e2... something (I assume an chkdisk equivalent)
    on sda7, and now that partition isn't auto-mounted anymore. Oh well, I
    didn't pick that card for nothing. :-)

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Wednesday, October 26, 2022 05:37:22
    On a sunny day (Tue, 25 Oct 2022 21:45:38 +0200) it happened "R.Wieser" <address@not.available> wrote in <tj9e8k$1m6g$1@gioia.aioe.org>:

    TNP,

    And a question : do you know wat happens [snip]

    umount /mnt

    Yes, thats what theo already said. I was asking about what happens when you >forget to do so.

    /mnt may or may not be created by default - I think /media/<username> is
    often used to mount removable drives at least on my desktop linux

    Both can ofcourse be checked.

    On my RPi :
    /mnt is present and seems to be empty.
    When I inserted an USB adapter for a second uSD card it was mounted on >/media/pi

    Hmm... Can't sudo mount anything on /mnt (owned by root), but can on >/media/pi

    dmseg was suggesting to do e2... something (I assume an chkdisk equivalent) >on sda7, and now that partition isn't auto-mounted anymore. Oh well, I >didn't pick that card for nothing. :-)

    What I always do is:
    if dmesg shows say sdb2
    mkdir /mnt/sdb2
    mount /dev/sdb2 /mnt/sdb2
    cd /mnt/sdb2 to view whts there

    This seems to be common practice and never caues problems
    when finsished with that partition do
    umount /dev/sdb2

    But I am always root, maybe be pees need to sudo
    ;-)

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 26, 2022 08:41:50
    TNP,

    Well unless yuou pull the live card out of its socket, nothing.

    Again, not the question. Imagine the following : I insert an USB adapter
    with an uSD card, off of which two partitions get auto-mounted. Than I
    open a console and manually mount a third. What happens when I click the "eject" button (at the top right-ish of the screen) ? Does the manually mounted partition get unmounted first too ? Or do I need to manually
    unmount it first (which would be a problem just waiting to happen) ?

    On my RPi :
    /mnt is present and seems to be empty.
    When I inserted an USB adapter for a second uSD card it was mounted on
    /media/pi

    that is because it was mounted by pi the user not root.

    In that case, how do I mount a partition as myself, the user "pi" ? The
    last time I forgot to prepend "sudo" before "mount" I got the reply "mount: only root can do that".

    Hmm... Can't sudo mount anything on /mnt (owned by root), but can on
    /media/pi

    should be able to

    Hmm... I just retried it (double checking) and indeed the partition
    appeared there. I have no idea what, or even /if/ I did anything different. :-|

    e2fsck?

    Yep, thats the one.

    Means the partition is not internally consistent

    That is what I guessed from that message (and the errors shown below it in dmesg) too. What I didn't expect that it would be running for half an hour and, in the end, throwing the towel in the ring leaving me with an trashed partition / unusable installation.

    Currently I can't even manually mount the partition anymore. :-(

    One other question : Automount creates, before mounting the partition, a folder with with a name ("boot", "root") it probably gets from the to-be-mounted partition itself. Do you have any idea how I can retrieve the same (so I can take a swing at creating a simple bash script for it) ?

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 26, 2022 09:09:53
    Jan,

    What I always do is:
    if dmesg shows say sdb2
    mkdir /mnt/sdb2
    mount /dev/sdb2 /mnt/sdb2
    cd /mnt/sdb2 to view whts there

    This seems to be common practice and never caues problems
    when finsished with that partition do
    umount /dev/sdb2

    :-)

    I was just asking NTP the question how I can extract the name of the to-be-mounted partition from the partition itself (mimicking what automount does). But if that can't be done that one is a good second-placer.

    ... wait, now I think of it, the to-be-mounted partitions ID is unique,
    while a partitions name doesn't need to be. Hmmm... There is perhaps something to be said for that "common practice". :-)

    I just decided that I dislike the way I have to first create a directory to
    be able to mount a partition on it, and after unmounting having to remove
    that directory again. I've just taken a peek at the man pages for both
    mount and unmount, but have not been able to spot anything which automates
    it. Have I overlooked something ?

    Or perhaps a better question : can I invoke automount in some way for it ?

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Wednesday, October 26, 2022 08:21:44
    On a sunny day (Wed, 26 Oct 2022 09:09:53 +0200) it happened "R.Wieser" <address@not.available> wrote in <tjambn$sjc$2@gioia.aioe.org>:

    Jan,

    What I always do is:
    if dmesg shows say sdb2
    mkdir /mnt/sdb2
    mount /dev/sdb2 /mnt/sdb2
    cd /mnt/sdb2 to view whts there

    This seems to be common practice and never caues problems
    when finsished with that partition do
    umount /dev/sdb2

    :-)

    I was just asking NTP the question how I can extract the name of the >to-be-mounted partition from the partition itself (mimicking what automount >does). But if that can't be done that one is a good second-placer.

    ... wait, now I think of it, the to-be-mounted partitions ID is unique,
    while a partitions name doesn't need to be. Hmmm... There is perhaps >something to be said for that "common practice". :-)

    I just decided that I dislike the way I have to first create a directory to >be able to mount a partition on it, and after unmounting having to remove >that directory again.

    If you created /mnt/sdb2 or something like that,
    no need to remove it after unmounting (I have a whole range on this laptop for example...

    ls -rtl /mnt
    drwxr-xr-x 2 root root 48 Jan 17 2012 sda6/
    drwxr-xr-x 2 root root 48 Jan 17 2012 sda4/
    drwxr-xr-x 2 root root 48 Jan 17 2012 iso/
    drwxr-xr-x 2 root root 48 Jan 20 2012 sdc8/
    drwxr-xr-x 2 root root 48 Jan 29 2012 sdd1/
    drwxr-xr-x 5 root root 104 Feb 15 2012 sda7/
    drwxr-xr-x 2 root root 48 Jun 12 2012 sdc/
    drwxr-xr-x 2 root root 48 Jun 16 2012 sdc7/
    drwxr-xr-x 2 root root 48 Jun 16 2012 sdc6/
    drwxr-xr-x 2 root root 48 Jun 16 2012 sdc5/
    drwxr-xr-x 2 root root 48 Jun 16 2012 sdc4/
    drwxr-xr-x 2 root root 48 Jun 16 2012 sdc3/
    drwxr-xr-x 2 root root 48 Jun 16 2012 sdc2/
    drwxr-xr-x 2 root root 48 Jul 27 2012 pantel9/
    drwxr-xr-x 2 root root 48 Jul 27 2012 pantel10/
    drwxr-xr-x 2 root root 48 Jul 27 2012 pantel11/
    drwxr-xr-x 2 root root 48 Jul 27 2012 pantel12/
    drwxr-xr-x 5 root root 168 Mar 18 2013 sda8/
    drwxr-xr-x 2 root root 48 Apr 12 2013 sda11/
    drwxr-xr-x 2 root root 48 Feb 26 2014 loop/
    drwxr-xr-x 2 root root 48 May 17 2016 sdd2/
    drwxr-xr-x 26 root root 776 Jun 7 2016 sda3/
    drwxr-xr-x 2 root root 48 Oct 9 2016 sdd8/
    drwxr-xr-x 5 root root 1072 Dec 8 2018 sda9/
    drwxr-xr-x 2 root root 48 Oct 16 2019 sdb1/
    drwxr-xr-x 5 root root 216 Oct 18 2019 sda5/
    drwxr-xr-x 2 root root 48 Nov 23 2019 sda10/
    drwxr-xr-x 2 root root 48 Jun 19 2020 sdd4/
    drwxr-xr-x 2 root root 48 Jun 19 2020 sdd5/
    drwxr-xr-x 2 root root 48 Jun 19 2020 sdd6/
    drwxr-xr-x 2 root root 48 Jun 19 2020 sdd7/
    drwxr-xr-x 2 root root 48 Jun 19 2020 sdd3/
    drwxr-xr-x 3 root root 72 Feb 7 2022 sda2/
    drwxr-xr-x 2 root root 48 Mar 10 2022 sdc1/

    ls -rtl shows last one used last, often saves looking through a list.
    I have specified that in bash and zsh (a better shell) as just 'l'
    in .bashrc
    alias l='ls -rtl'
    alias d='ls'
    alias lb='ls -rtl --color=none'

    Just saves typing...
    Using zsh as shell even saves more typing.

    The '/mnt/loop' is an other story, used to mount OS images.
    mount -o loop=/dev/loop0 bluray.iso /mnt/loop
    looks at a DVD

    Or to get more into that
    mount -o offset=62914560 /dev/dvd /mnt/dvd
    ####mount -o loop,ro,offset=62914560 /dev/dvd /mnt/dvd
    Offset in bytes, for example 512 * sector size indicated as start for that partition in fdisk,
    or found with
    partx -a /mnt/dvd/raspberry_pi_plus_wolfram_language_plus_mathematica.img


    There are so many tricks...

    At least the command line speaks (sort of) English,
    much better than pushing around on a rat or mouse or whatever.




    I've just taken a peek at the man pages for both
    mount and unmount, but have not been able to spot anything which automates >it. Have I overlooked something ?

    Or perhaps a better question : can I invoke automount in some way for it ?

    Using automount was dis-encouraged for security reasons last time I heard about it.
    People would find an USB stick in the parking lot of the company,
    plug it in, it auto-mounted and installed some virus that send all company data to some adversary.

    I never use automount.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to R.Wieser on Wednesday, October 26, 2022 09:22:53
    On 2022-10-25, R.Wieser <address@not.available> wrote:
    Theo,

    And I read somewhere I had to create that "mnt" directory first ?
    You do not seem to do so.

    Most distros already have an empty /mnt directory there, ready for
    something to be mounted.

    Ah. Understood.

    And a question : do you know wat happens when you (try to) eject the
    USB dongle containing the uSD card you just mounted a partition of ?
    ...
    If you use the desktop environment 'eject' button, it may or may not
    remove the mountpoints.

    Thats currently what I know too. "it may or may not". :-)

    If in doubt, 'sync' to ensure anything unwritten is flushed to the disc
    before removing it.

    So, either unmount or flush.

    No ALWAYS unmount the file system. The "sync" flush is an extra step. As
    far as I know "umount" does what sync does before it unmounts the
    filesystem anyway.

    I had hoped to hear (for sure) that under
    raspberian the "eject" would automatically unmount first. The less stuff you have to remember the better.

    In the above it's done as root, and a regular user won't be able
    to unmount something mounted by root, so the eject complains
    something is still using the device.

    I had not considered that. Hmm... Not being able to eject some removable
    USB stick "root" forgot to take with him. Oh well. I guess nothing a shutdown won't solve. :-)

    Regards,
    Rudy Wieser



    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 26, 2022 11:40:25
    Jan,

    If you created /mnt/sdb2 or something like that,
    no need to remove it after unmounting

    I also considered that, but would not like to have all those empty folders there.

    ls -rtl shows last one used last, often saves looking through a list.

    ... Though that would certainly help finding the mounted partition back (I
    was also thinking about that).

    There are so many tricks...

    At least the command line speaks (sort of) English,
    much better than pushing around on a rat or mouse or whatever.

    Have you ever tried to play an FPS game *without* pushing a dead opossum
    around ? :-p

    (Not that I'm a gamer myself mind you).

    Using automount was dis-encouraged for security reasons last
    time I heard about it.

    It came as part of my RPi OS installation, and I don't mind at all.

    People would find an USB stick in the parking lot of the company,
    plug it in, it auto-mounted and installed some virus that send all
    company data to some adversary.

    There is a reason why my RPi is, apart from when needed for a particular experiment, allways offline. Though in my case I considered the threat to possibly come from the other direction.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Jan Panteltje on Wednesday, October 26, 2022 11:04:58
    On 26/10/2022 09:21, Jan Panteltje wrote:
    People would find an USB stick in the parking lot of the company,
    plug it in, it auto-mounted and installed some virus that send all company data
    to some adversary.

    I never use automount.

    That is autorun.

    Automount just makes the file system available.

    As I said. to fix the root partition on an SD card you cant obviously
    boot from it,
    so you need to boot from something else, and then attach the offending
    card via a card reader.

    Its less easy to do this in windows so its best dine on a pi if you dont
    have a linux desktop

    All you need is a working SD card and an sd cared reader to plug into
    the USB port on the Pi.
    That will automagically register itself as probably three devices in the
    /dev pseudo 'filesystem'
    One will be the whole card itself, which is useful when formatting it,
    and the other two will be the partitions normally created on a Pi card.
    I dont know what they will be called tho.

    Under a *86 linux they would be /dev/sd[a,b,c][blank, 0,1.2]

    On the actual pi slot reader itself they are /dev/mmcblk01[p1,p2]

    So the USB card reader might be either of those. /dev/sd* or /dev/mmcblk02*
    So the step is to boot from a clean card and plug te dodgy card in a
    reader into the PI USB port and then see what's in /dev

    Dmsg might help

    For instance, my Pi went down in a power cut and rebooted when tthe
    power came on. This is what dmesg said :

    [ 2.255688] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [ 2.270238] mmcblk0: p1 p2
    [ 2.298428] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [ 2.308659] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [ 2.326898] mmc1: new high speed SDIO card at address 0001
    [ 2.866154] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
    [ 2.875202] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
    [ 2.883136] EXT4-fs (mmcblk0p2): recovery complete
    [ 2.935135] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data
    mode. Opts: (null)
    [ 2.948608] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 2.970171] devtmpfs: mounted

    Card was slightly inconsistent, so it fixed it with e2fsck and then
    mounted it

    --
    “It is not the truth of Marxism that explains the willingness of intellectuals to believe it, but the power that it confers on
    intellectuals, in their attempts to control the world. And since...it is
    futile to reason someone out of a thing that he was not reasoned into,
    we can conclude that Marxism owes its remarkable power to survive every criticism to the fact that it is not a truth-directed but a
    power-directed system of thought.”
    Sir Roger Scruton

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Wednesday, October 26, 2022 11:08:32
    On 26/10/2022 07:41, R.Wieser wrote:
    e2fsck?
    Yep, thats the one.

    Means the partition is not internally consistent
    That is what I guessed from that message (and the errors shown below it in dmesg) too. What I didn't expect that it would be running for half an hour and, in the end, throwing the towel in the ring leaving me with an trashed partition / unusable installation.

    Currently I can't even manually mount the partition anymore. 🙁

    No, that's part of the spec, mount will not mount a partition it
    considers corrupt. Most *nixes will perform an fsck during boot and
    before mounting to check and repair this.

    Ive only ever had it render a disk completely unbootable, and that was
    when it was running these checks when the power went out, again....


    One other question : Automount creates, before mounting the partition, a folder with with a name ("boot", "root") it probably gets from the to-be-mounted partition itself.

    No, it doesn't

    These folders are created on the root partition itself as part of the installation.
    Basically the boot process from memory will run some code that it finds
    on a specific part of the boot device, install a kernel in memory, and
    that kernel will first and foremostly mount not the partition called
    'root' but a compete root filesystem, on /
    That filesystem on a PI has the two 'folders' - root and boot. IIRC the
    boot sectors on the disk are then remounted on /boot. /root is I think
    (not sure here) merely root's 'home directory'

    On my Pi its empty.

    My pi reports that '/dev/root' is the name of the partition it mounts as
    '/' but
    it doesnt create that - its merely convention

    This is the command file for what partitions are automatically mounted


    $ more /etc/fstab
    proc /proc proc defaults 0 0 PARTUUID=e12508fd-01 /boot vfat defaults 0 2 PARTUUID=e12508fd-02 / ext4 defaults,noatime 0 1



    The root partitions will be mapped to a *device* /dev/root but that
    does not actually exist.

    $ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 15G 2.0G 12G 14% /
    devtmpfs 213M 0 213M 0% /dev
    tmpfs 217M 0 217M 0% /dev/shm
    tmpfs 217M 20M 198M 9% /run
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 217M 0 217M 0% /sys/fs/cgroup
    /dev/mmcblk0p1 44M 23M 21M 52% /boot

    however the device mounted on boot DOES exists

    A better way to understand what's mounted using fstab is to use the
    'mount' command e,g,
    $ mount | grep /dev/mm
    /dev/mmcblk0p2 on / type ext4 (rw,noatime)
    /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)


    Here you can see the raw partitons that are turned into block devices in
    /dev as mmcblk0p1 and mmcblk0p2 are mounted on / and /boot

    $ ls -l /dev/mmcblk0p1
    brw-rw---- 1 root disk 179, 1 Oct 5 11:17 /dev/mmcblk0p1

    As do all the other partitions on the SD card.

    ls -l /dev/mmcblk*
    brw-rw---- 1 root disk 179, 0 Oct 5 11:17 /dev/mmcblk0
    brw-rw---- 1 root disk 179, 1 Oct 5 11:17 /dev/mmcblk0p1
    brw-rw---- 1 root disk 179, 2 Oct 5 11:17 /dev/mmcblk0p2

    So, these are the actual partitions I would need to rub e2fsck on but of
    course if its the root partition you need it to be able to run anything
    at all.
    Hence why you need to have an SD card reader attached to another working
    setup.

    And that card reader will NOT appear as /dev/mmcblk0 but might appear as /dev/mmcblk1

    I don't know. I've run off my sphere of competence
    As I say I am not sure exactly whats going on, but if yu have a
    corrupted card, stick it in a usb card reader in a working pi and do an
    ls -l /dev/mm* and see if you can spot any partitions that you can run
    e2fsck on


    Do you have any idea how I can retrieve the
    same (so I can take a swing at creating a simple bash script for it) ?

    Regards,
    Rudy Wieser


    I am not 100% clear on what exactly is your situation, but at some level
    you need enough of a working system to run e2fsck on whatever partition
    you have that is wonky.

    And yes, it may take hours on a Pi. On a big partition.



    If you have (another?) working Pi you could equip it with a USB SDcard
    reader, and boot from a clean install, then run e2fsck from that on the
    dodgy card in the reader

    I do not know what in fact that partition would be called.

    --
    Any fool can believe in principles - and most of them do!

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Jan Panteltje on Wednesday, October 26, 2022 11:14:52
    On Wed, 26 Oct 2022 05:37:22 GMT, Jan Panteltje wrote:

    On a sunny day (Tue, 25 Oct 2022 21:45:38 +0200) it happened "R.Wieser" <address@not.available> wrote in <tj9e8k$1m6g$1@gioia.aioe.org>:

    TNP,

    And a question : do you know wat happens [snip]

    umount /mnt

    Yes, thats what theo already said. I was asking about what happens when >>you forget to do so.

    /mnt may or may not be created by default - I think /media/<username>
    is often used to mount removable drives at least on my desktop linux

    Both can ofcourse be checked.

    On my RPi :
    /mnt is present and seems to be empty.
    When I inserted an USB adapter for a second uSD card it was mounted on >>/media/pi

    Hmm... Can't sudo mount anything on /mnt (owned by root), but can on >>/media/pi

    dmseg was suggesting to do e2... something (I assume an chkdisk
    equivalent) on sda7, and now that partition isn't auto-mounted anymore.
    Oh well, I didn't pick that card for nothing. :-)

    What I always do is:
    if dmesg shows say sdb2 mkdir /mnt/sdb2 mount /dev/sdb2 /mnt/sdb2 cd /mnt/sdb2 to view whts there

    $ df -h

    works well if you just want to see what storage devices are mounted, their sizes and free space.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to R.Wieser on Wednesday, October 26, 2022 11:32:22
    On Wed, 26 Oct 2022 11:40:25 +0200
    "R.Wieser" <address@not.available> wrote:

    Have you ever tried to play an FPS game *without* pushing a dead opossum around ? :-p

    "The Golden Shot" springs to mind - "right, right, left a bit, up a bit, FIRE!".

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Jim Jackson on Wednesday, October 26, 2022 11:30:06
    On Wed, 26 Oct 2022 09:22:53 -0000 (UTC)
    Jim Jackson <jj@franjam.org.uk> wrote:

    No ALWAYS unmount the file system. The "sync" flush is an extra step. As
    far as I know "umount" does what sync does before it unmounts the
    filesystem anyway.

    Correct - and a flush does not guarantee that there will be no
    fresh dirty pages pile up while it's going on or between the flush and the
    pull while an unmount *first* makes the filesystem unavailable to the OS,
    then flushes the buffers and finally returns to the user.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Jim Jackson on Wednesday, October 26, 2022 12:57:27
    On 26/10/2022 10:22, Jim Jackson wrote:
    As
    far as I know "umount" does what sync does before it unmounts the
    filesystem anyway.

    Absolutely it does.

    I only use sync to stop a machine in a hurry with internal disks.

    I.e.

    #sync;sync; halt;

    will generally pull a machine down hard and fast without compromising
    its root file system.

    Its wise to try and use a more sophisticated shutdown first, but if that
    hangs, halt is your last resort before pushing the powers switch or
    worse, yanking out the power cord

    --
    "Anyone who believes that the laws of physics are mere social
    conventions is invited to try transgressing those conventions from the
    windows of my apartment. (I live on the twenty-first floor.) "

    Alan Sokal

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to address@not.available on Wednesday, October 26, 2022 11:31:26
    On a sunny day (Wed, 26 Oct 2022 11:40:25 +0200) it happened "R.Wieser" <address@not.available> wrote in <tjav5n$110f$1@gioia.aioe.org>:

    Jan,

    If you created /mnt/sdb2 or something like that,
    no need to remove it after unmounting

    I also considered that, but would not like to have all those empty folders >there.

    ls -rtl shows last one used last, often saves looking through a list.

    ... Though that would certainly help finding the mounted partition back (I >was also thinking about that).

    There are so many tricks...

    At least the command line speaks (sort of) English,
    much better than pushing around on a rat or mouse or whatever.

    Have you ever tried to play an FPS game *without* pushing a dead opossum >around ? :-p

    Opossum :-) no I am no gamer, do not even know what FPS game is..
    Writing code and designing electronics is more fun of a game for me
    I do have xmajong or something, and had a chess game on the laptop
    but after I did beat the local champion in chess last century and he got really upset
    I have not played chess anymore, he accused me of strange moves well
    what do you expect from a beginner..


    (Not that I'm a gamer myself mind you).

    Using automount was dis-encouraged for security reasons last
    time I heard about it.

    It came as part of my RPi OS installation, and I don't mind at all.

    People would find an USB stick in the parking lot of the company,
    plug it in, it auto-mounted and installed some virus that send all
    company data to some adversary.

    There is a reason why my RPi is, apart from when needed for a particular >experiment, allways offline. Though in my case I considered the threat to >possibly come from the other direction.

    One RP4 4G is offline and recording security cameras and playing background music,
    logging radiation and temperature and air presure from my weather station,
    does GPS for time and more.

    The other PI4 8 GB runs Chromium and Firefox browsers and uses a Huawei 4G stick for net connection
    and is configured as a router.
    So this laptop running NewsFleX Usenet reader connects to the net via that one. Both Pi 4 have a 4 TB or there about Toshiba USB harddisks, RTL_SDR 1ppm sticks for radio spectrum analyzer, etc.
    IR camera
    Anyways,
    http://panteltje.com/panteltje/newsflex/download.htm
    http://panteltje.com/panteltje/pic/index.html

    I can do more with a 18F14K22 Microchip PIC that it seems others need raspies for.
    http://panteltje.com/panteltje/pic/gm_pic2/
    http://panteltje.com/panteltje/pic/gm_pic/
    compare to this:
    https://www.tomshardware.com/news/raspberry-pi-pico-w-geiger-counter
    http://panteltje.com/panteltje/pic/scope_pic/
    all just some lines of ASM.

    I have some more older raspis that do all sort of things, for example
    http://panteltje.com/panteltje/raspberry_pi_FDS132_matrix_display_driver/index.html

    Plus some PCs
    Not one distro I ever loaded is original, all has been modified.
    same GUI on all : 9 virtual desktops, 8 of those with xterm or rxvt.
    fwm and xfm.
    I do not see added value in the complexity modern desktop add.
    At least not for me, I can write what I need.
    Bloat seems to be the future, maybe it sells better...
    When the nukes fall we will all have to go back to smoke signs anyways ;-)

    Sorry got carried away...

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Martin Gregorie on Wednesday, October 26, 2022 12:59:44
    On 26/10/2022 12:14, Martin Gregorie wrote:
    On Wed, 26 Oct 2022 05:37:22 GMT, Jan Panteltje wrote:

    On a sunny day (Tue, 25 Oct 2022 21:45:38 +0200) it happened "R.Wieser"
    <address@not.available> wrote in <tj9e8k$1m6g$1@gioia.aioe.org>:

    TNP,

    And a question : do you know wat happens [snip]

    umount /mnt

    Yes, thats what theo already said. I was asking about what happens when >>> you forget to do so.

    /mnt may or may not be created by default - I think /media/<username>
    is often used to mount removable drives at least on my desktop linux

    Both can ofcourse be checked.

    On my RPi :
    /mnt is present and seems to be empty.
    When I inserted an USB adapter for a second uSD card it was mounted on
    /media/pi

    Hmm... Can't sudo mount anything on /mnt (owned by root), but can on
    /media/pi

    dmseg was suggesting to do e2... something (I assume an chkdisk
    equivalent) on sda7, and now that partition isn't auto-mounted anymore.
    Oh well, I didn't pick that card for nothing. :-)

    What I always do is:
    if dmesg shows say sdb2 mkdir /mnt/sdb2 mount /dev/sdb2 /mnt/sdb2 cd
    /mnt/sdb2 to view whts there

    $ df -h

    works well if you just want to see what storage devices are mounted, their sizes and free space.


    Not on a pi. df -h reports "/dev/root mounted on /"

    There is no /dev/root.

    $mount
    ..
    ..is a far better option




    --
    "The most difficult subjects can be explained to the most slow witted
    man if he has not formed any idea of them already; but the simplest
    thing cannot be made clear to the most intelligent man if he is firmly persuaded that he knows already, without a shadow of doubt, what is laid
    before him."

    - Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Wednesday, October 26, 2022 14:10:59
    On 26/10/2022 13:28, R.Wieser wrote:
    TNP,

    Currently I can't even manually mount the partition anymore.

    No, that's part of the spec

    Duh. What I ment to say is that e2fsck action, suggested by dmesg and /supposedly/ fixing whatever was wrong with that partition (if anything, 'cause it worked before), rendered it untouchable (read: trashed it). I will likely have to reformat and reimage the card.

    No, it doesn't

    These folders are created on the root partition itself as part of the
    installation.

    A bit of misunderstanding : I was talking about the uSD card in an USB adapter. When its inserted into the RPi it gets auto-mounted as "boot" and "root" subdirectories in the /media/pi directory. When ejecting the
    adapter those "boot" and "root" folders disappear again. So, where does
    the RPi get /those/ "boot" and "root" names from ?

    Ah, ok. That is probably part of the Pis own software doing that.

    I am not 100% clear on what exactly is your situation, but at some level
    you need enough of a working system to run e2fsck on whatever partition
    you have that is wonky.

    All my actions where done on the uSD card in the USB adapter. And it was e2fsck which trashed that partition to begin with and than threw the towel.
    I don't think that running it a second time time will help.

    It may well do actually.

    Back in the day with Linux, I sometimes ran fsck several times to
    gradually fix a crashed disk *enough* to get data off it.

    But I am slightly concerned that it got into that state to start with.
    Its not 100%, but my experience of crashed disks is that if fsck and
    friends dont fix them, then an fdisk wont either, and you need to run a
    sector by sector check. And make sure that every sector is readable and writeable.

    I suppose you could reinstall using the DD method and see if it works,
    my gut tells me it probably wont..


    In the case of a reasonably cheap SD card, I might think solution by
    credit card is the better option and replace the card.


    Regards,
    Rudy Wieser



    --
    A lie can travel halfway around the world while the truth is putting on
    its shoes.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 26, 2022 15:05:37
    Jan,

    Opossum :-) no I am no gamer, do not even know what FPS game is..

    FPS, short for "First Person Shooter" ? As opposed to the point-and-click
    "go there, do that" strategy games. Hm. Would also need a "pointer
    device" ...

    but after I did beat the local champion in chess last century
    and he got really upset I have not played chess anymore, he
    accused me of strange moves

    Whut ? That sounds as if he was not a chess player at all, just someone
    who learned to recognise a set of moves and memorized how to respond to
    them.

    I can do more with a 18F14K22 Microchip PIC that it seems others
    need raspies for.

    I used Microchip, and later on some Atmel ones.

    To be honest, I bought my first RPi with microcontroller stuff in mind. I
    was not amused to discover that the RPi runs a multi-tasking system, not allowing for precise timing on its I/O pins.

    So, I kept most of my hobby on the Windows 'puter (Assembly programming),
    using one RPi to view YouTube stuff with while I'm eating (love it that all
    the ads get stripped), and the other one to do ... well, whatever run into which needs simple I/O controlling. I did buy a few I/O modules though,
    just to see what I could do with them.

    I do not see added value in the complexity modern desktop add.

    Neither do I, nor do I appreciate that MS thinks they are allowed to access someones 'puter whenever they like it. So, I kept myself on XP. I /might/ even go use Win7, but currently I have no need to switch.

    IOW, technology wise I'm quite the conservative : as long as it works, why replace it ?

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 26, 2022 14:28:51
    TNP,

    Currently I can't even manually mount the partition anymore.

    No, that's part of the spec

    Duh. What I ment to say is that e2fsck action, suggested by dmesg and /supposedly/ fixing whatever was wrong with that partition (if anything,
    'cause it worked before), rendered it untouchable (read: trashed it). I
    will likely have to reformat and reimage the card.

    No, it doesn't

    These folders are created on the root partition itself as part of the installation.

    A bit of misunderstanding : I was talking about the uSD card in an USB
    adapter. When its inserted into the RPi it gets auto-mounted as "boot" and "root" subdirectories in the /media/pi directory. When ejecting the
    adapter those "boot" and "root" folders disappear again. So, where does
    the RPi get /those/ "boot" and "root" names from ?

    I am not 100% clear on what exactly is your situation, but at some level
    you need enough of a working system to run e2fsck on whatever partition
    you have that is wonky.

    All my actions where done on the uSD card in the USB adapter. And it was e2fsck which trashed that partition to begin with and than threw the towel.
    I don't think that running it a second time time will help.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to All on Wednesday, October 26, 2022 17:20:52
    TNP,

    So, where does the RPi get /those/ "boot" and "root" names from ?

    Ah, ok. That is probably part of the Pis own software doing that.

    "Probably" ? :-)

    The question is if I can retrieve such a name myself - from an unmounted partition ofcourse.

    I suppose you could reinstall using the DD method and see if it works, my
    gut tells me it probably wont..

    My bad, I used "reimage" where I should have just used "reinstall". And as
    I'm quite lazy (I'm a (hobby) programmer) I wil probably put a NOOBS file on
    it and let it run its course.

    But that means I have to reformat to FAT32 first, and I will than do a full format to at least /try/ to catch any bad blocks.

    I really should take the time to figure out how a standard install works though. I've already got the 2020-02-13-raspbian-buster.img file
    downloaded, but do not have any idea what to expect after I DD that to an
    uSD card. And that makes me hesitant. :-\

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to R.Wieser on Wednesday, October 26, 2022 17:24:24
    On 26/10/2022 16:20, R.Wieser wrote:
    TNP,

    So, where does the RPi get /those/ "boot" and "root" names from ?

    Ah, ok. That is probably part of the Pis own software doing that.

    "Probably" ? :-)

    The question is if I can retrieve such a name myself - from an unmounted partition ofcourse.

    blkid and lsblk will give info about unmounted but connected partitions
    as well as mounted partitions.

    On a raspberry pi (u)SD card after writing the RPi image there are 2 partitions, one FAT32 labelled 'boot' and one ext4 labelled 'root'. The
    boot prtition can be read on any Windows machine. Both partitons can be
    read on any Linux/Unix machine.


    I really should take the time to figure out how a standard install works though. I've already got the 2020-02-13-raspbian-buster.img file
    downloaded, but do not have any idea what to expect after I DD that to an
    uSD card. And that makes me hesitant. :-\


    You can use balenaEtcher or Unetbootin (or similar) to write the image
    to an SD card. There is no need for hesitance.
    (However dd will (should) work too.)
    Get a newer image! https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2022-09-26/2022-09-22-raspios-bullseye-armhf.img.xz


    Regards,
    Rudy Wieser




    --
    Chris Elvidge
    England

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to Chris Elvidge on Wednesday, October 26, 2022 17:44:59
    On 26/10/2022 17:24, Chris Elvidge wrote:
    On 26/10/2022 16:20, R.Wieser wrote:
    TNP,

    So, where does the RPi get /those/ "boot" and "root" names from ?

    Ah, ok. That is probably part of the Pis own software doing that.

    "Probably" ? :-)

    The question is if I can retrieve such a name myself - from an unmounted
    partition ofcourse.

    blkid and lsblk will give info about unmounted but connected partitions
    as well as mounted partitions.

    On a raspberry pi (u)SD card after writing the RPi image there are 2 partitions, one FAT32 labelled 'boot' and one ext4 labelled 'root'. The
    boot prtition can be read on any Windows machine. Both partitons can be
    read on any Linux/Unix machine.

    Sorry, ext4 partition is labelled 'rootfs'



    I really should take the time to figure out how a standard install works
    though. I've already got the 2020-02-13-raspbian-buster.img file
    downloaded, but do not have any idea what to expect after I DD that to an
    uSD card. And that makes me hesitant. :-\


    You can use balenaEtcher or Unetbootin (or similar) to write the image
    to an SD card. There is no need for hesitance.
    (However dd will (should) work too.)
    Get a newer image! https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2022-09-26/2022-09-22-raspios-bullseye-armhf.img.xz



    Regards,
    Rudy Wieser






    --
    Chris Elvidge
    England

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to R.Wieser on Wednesday, October 26, 2022 20:44:01
    On 26/10/2022 20:33, R.Wieser wrote:
    In my case using a NOOBS install there are four partitions

    That must be to cater for more than you need. My straight RASPIOS is
    only two

    --
    How fortunate for governments that the people they administer don't think.

    Adolf Hitler

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From R.Wieser@3:770/3 to when on Wednesday, October 26, 2022 21:33:47
    Chris,

    blkid and lsblk will give info about unmounted but connected partitions as well as mounted partitions.

    Thanks. lsblk seems to be the one which can, when asked nicely, output the partition label.

    The boot prtition can be read on any Windows machine. Both partitons can
    be read on any Linux/Unix machine.

    In my case using a NOOBS install there are four partitions (ignoring the Extended partition which can't be mounted). Two FAT (off of which Windows ofcourse only wants to show one, 'cause removable media) and two Linux partitions (which are the ones that get auto-mounted). Accessing one of the FAT partitions from within the RPi takes more work.

    Hmmm... Am I missing a swap partition ?

    but do not have any idea what to expect after I DD that to an
    uSD card. And that makes me hesitant. :-\

    There is no need for hesitance.

    Ackk.... Such an assurance without anything to back it up causes the
    opposite to happen in me. :-|

    Get a newer image!

    Thanks for the link. I guess I was unlucky in, last week, finding that
    2020 download.

    Some trimming of it (hacking ! :-) ) showed me a list of earlier versions. Alas, even though each of those downloads is accompnied by an "info" file
    there is nothing in there explaining why it exists (how its different from
    the previous version).

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to R.Wieser on Wednesday, October 26, 2022 22:19:38
    On 26/10/2022 20:33, R.Wieser wrote:
    Chris,

    blkid and lsblk will give info about unmounted but connected partitions as >> well as mounted partitions.

    Thanks. lsblk seems to be the one which can, when asked nicely, output the partition label.

    The boot prtition can be read on any Windows machine. Both partitons can
    be read on any Linux/Unix machine.

    In my case using a NOOBS install there are four partitions (ignoring the Extended partition which can't be mounted). Two FAT (off of which Windows ofcourse only wants to show one, 'cause removable media) and two Linux partitions (which are the ones that get auto-mounted). Accessing one of the FAT partitions from within the RPi takes more work.

    NOOBS partitioning (I have never used it!!) caters for more than one OS installation (AFAICS), so has >2 partitions. It includes a recovery
    partition and a NOOBS data partition.
    For an explanation, see this pdf - https://www.brobwind.com/wp-content/uploads/2015/12/NOOBS-partitioning-explained-%C2%B7-raspberrypi_noobs-Wiki-%C2%B7-GitHub.pdf
    I found it by searching 'Raspberry Pi NOOBS four partitions'

    Unless you _want_ >1 OS on the SD card, stick to downloading an OS and
    writing the card as recommended previously.

    If you have a Windows PC, install VirtualBox and a Linux distro of your
    choice. Or WSL2 can mount ext4. See - https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk


    --
    Chris Elvidge
    England

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Chris Elvidge on Thursday, October 27, 2022 09:18:20
    "Chris Elvidge" <chris@mshome.net> wrote in message news:tjc89c$2i0sh$1@dont-email.me...
    NOOBS partitioning (I have never used it!!) caters for more than one OS installation (AFAICS), so has >2 partitions. It includes a recovery
    partition and a NOOBS data partition.
    For an explanation, see this pdf - https://www.brobwind.com/wp-content/uploads/2015/12/NOOBS-partitioning-explained-%C2%B7-raspberrypi_noobs-Wiki-%C2%B7-GitHub.pdf

    NOOBS is a good easy starting point for a straightforward computer with
    nothing "clever" about the setup. But it is not very flexible.

    I discovered this after I installed NOOBS and Raspbian on a 16 GB card and later wanted to move the filesystem onto a 32 GB card so I had a bigger
    "system drive". It was easy to copy the 16 GB card to a 32 GB card with
    Win32 Disk Imager or a similar tool. But partition-expansion tools would not work: no matter what I tried I still had a 16 GB partition on a 32 GB card
    with the other 16 GB unused. There was something about the way NOOBS creates partitions that did not allow the main system partition to be enlarged to
    use all the unallocated space.

    So I started again, installing from scratch. I forget now why 16 GB wasn't enough disc space, given that most of the data on the Pi was being saved to
    an external spinning HDD which I mounted to a directory below /home/pi/.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Binaries@3:770/3 to R.Wieser on Friday, October 28, 2022 09:03:23
    On 2022-10-25 13:04:42 +0000, R.Wieser said:


    The biggest problem is that even that "Micro QR" is a 15x15 grid,
    making, on a 9x9mm surface, its squares less than a mm across ...

    Nonetheless, it does work - but I'm not saying it's the best way, just
    another string to your bow.

    --
    not_me

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andrew Smallshaw@3:770/3 to The Natural Philosopher on Saturday, October 29, 2022 18:17:02
    On 2022-10-25, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 25/10/2022 14:12, R.Wieser wrote:

    And I read somewhere I had to create that "mnt" directory first ? You do
    not seem to do so.

    And a question : do you know wat happens when you (try to) eject the USB
    dongle containing the uSD card you just mounted a partition of ? I would >> not like to have either the boot uSD or the mounted one trashed.

    umount /mnt

    /mnt may or may not be created by default - I think /media/<username> is often used to mount removable drives at least on my desktop linux

    /mnt is the traditional parent directory for mount points of
    miscelleneous filesystems that don't have a more natural home within
    the hierarchy e.g. /usr or /home may well be mount points themselves.
    It's essentially an administrator's convention when filesystems
    are manually mounted.

    A mount point in /media, /var or possibly a few other options are
    those automatically mounted by your desktop environment. Traditional
    Unix never automatically mounted anything, both because of potential
    security issues or simply because historically there have been
    plenty of other things you might do with removable media other than
    put an FS on it.

    --
    Andrew Smallshaw
    andrews@sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to The Natural Philosopher on Sunday, October 30, 2022 10:28:47
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 26/10/2022 12:14, Martin Gregorie wrote:
    $ df -h

    works well if you just want to see what storage devices are mounted, their sizes and free space.


    Not on a pi. df -h reports "/dev/root mounted on /"

    There is no /dev/root.

    That's because the root partition is supplied by UUID on the command line
    (on a Pi 1 running Pi OS from about a week ago):

    $ cat /proc/cmdline
    coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=c5881c32-02 rootfstype=ext4 fsck.repair=yes rootwait

    Because it's mounted by UUID rather than a device node, the path is
    nominally /dev/root but that isn't a device node that needs to exist.

    However, separately the UUID can be resolved:

    $ ls -l /dev/disk/by-partuuid/
    total 0
    lrwxrwxrwx 1 root root 15 Sep 22 01:36 c5881c32-01 -> ../../mmcblk0p1 lrwxrwxrwx 1 root root 15 Sep 22 01:35 c5881c32-02 -> ../../mmcblk0p2


    Basically, I think this is because the bootloader (GPU etc) is selecting
    which partition to use as the rootfs and supplying it as a cmdline flag,
    rather than being set by device node in the Linux world.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Theo on Sunday, October 30, 2022 15:49:09
    On 30/10/2022 10:28, Theo wrote:
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 26/10/2022 12:14, Martin Gregorie wrote:
    $ df -h

    works well if you just want to see what storage devices are mounted, their >>> sizes and free space.


    Not on a pi. df -h reports "/dev/root mounted on /"

    There is no /dev/root.

    That's because the root partition is supplied by UUID on the command line
    (on a Pi 1 running Pi OS from about a week ago):

    $ cat /proc/cmdline
    coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=c5881c32-02 rootfstype=ext4 fsck.repair=yes rootwait

    Because it's mounted by UUID rather than a device node, the path is
    nominally /dev/root but that isn't a device node that needs to exist.

    Then its pointless labelling
    The desktop linux pdesnt do it...e,g.

    $df -h

    Filesystem Size Used Avail
    Use% Mounted on
    udev 3.8G 0 3.8G
    0% /dev
    tmpfs 784M 1.7M 783M
    1% /run
    /dev/sda5 234G 68G 155G 31% / tmpfs 3.9G 0 3.9G
    0% /dev/shm
    tmpfs 5.0M 4.0K 5.0M
    1% /run/lock
    tmpfs 3.9G 0 3.9G
    0% /sys/fs/cgroup
    /dev/sda1 511M 4.0K 511M
    1% /boot/efi
    784M 88K 784M 1% /run/user/1000

    Both sda1 and sda5 exist

    ls -l /dev/disk/by-partuuid/
    total 0
    lrwxrwxrwx 1 root root 10 Oct 17 05:41 51cec085-01 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Oct 17 05:41 b1aaf3a7-01 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Oct 17 05:41 b1aaf3a7-02 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Oct 17 05:41 b1aaf3a7-05 -> ../../sda5

    However, separately the UUID can be resolved:

    $ ls -l /dev/disk/by-partuuid/
    total 0
    lrwxrwxrwx 1 root root 15 Sep 22 01:36 c5881c32-01 -> ../../mmcblk0p1 lrwxrwxrwx 1 root root 15 Sep 22 01:35 c5881c32-02 -> ../../mmcblk0p2


    Basically, I think this is because the bootloader (GPU etc) is selecting which partition to use as the rootfs and supplying it as a cmdline flag, rather than being set by device node in the Linux world.

    Theo

    --
    There is nothing a fleet of dispatchable nuclear power plants cannot do
    that cannot be done worse and more expensively and with higher carbon
    emissions and more adverse environmental impact by adding intermittent renewable energy.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)