Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

E = MC ** 2 +- 3db


computers / comp.sys.raspberry-pi / Re: Labeling micro-SD cards ?

SubjectAuthor
* Labeling micro-SD cards ?R.Wieser
+* Re: Labeling micro-SD cards ?nev young
|+* Re: Labeling micro-SD cards ?R.Wieser
||`- Re: Labeling micro-SD cards ?nev young
|+- Re: Labeling micro-SD cards ?R.Wieser
|`- Re: Labeling micro-SD cards ?Dave
+- Re: Labeling micro-SD cards ?JJenssen
+* Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|`- Re: Labeling micro-SD cards ?R.Wieser
+* Re: Labeling micro-SD cards ?R.Wieser
|+* Re: Labeling micro-SD cards ?Jan Panteltje
||`* Re: Labeling micro-SD cards ?R.Wieser
|| `* Re: Labeling micro-SD cards ?Jan Panteltje
||  +- Re: Labeling micro-SD cards ?Jan Panteltje
||  `* Re: Labeling micro-SD cards ?R.Wieser
||   `* Re: Labeling micro-SD cards ?mm0fmf
||    +* Re: Labeling micro-SD cards ?A. Dumas
||    |`* Re: Labeling micro-SD cards ?mm0fmf
||    | `- Re: Labeling micro-SD cards ?R.Wieser
||    `* Re: Labeling micro-SD cards ?Pancho
||     +* Re: Labeling micro-SD cards ?The Natural Philosopher
||     |`- Re: Labeling micro-SD cards ?Pancho
||     `* Re: Labeling micro-SD cards ?mm0fmf
||      `* Re: Labeling micro-SD cards ?Pancho
||       `- Re: Labeling micro-SD cards ?mm0fmf
|`* Re: Labeling micro-SD cards ?Jeff Jonas
| `* Re: Labeling micro-SD cards ?R.Wieser
|  `* Re: Labeling micro-SD cards ?Jan Panteltje
|   `* Re: Labeling micro-SD cards ?R.Wieser
|    +- Re: Labeling micro-SD cards ?The Natural Philosopher
|    +- Re: Labeling micro-SD cards ?Jan Panteltje
|    `* Re: Labeling micro-SD cards ?Chris
|     `* Re: Labeling micro-SD cards ?R.Wieser
|      +* Re: Labeling micro-SD cards ?Theo
|      |`* Re: Labeling micro-SD cards ?R.Wieser
|      | +* Re: Labeling micro-SD cards ?Theo
|      | |`* Re: Labeling micro-SD cards ?R.Wieser
|      | | +- Re: Labeling micro-SD cards ?The Natural Philosopher
|      | | `* Re: Labeling micro-SD cards ?Jim Jackson
|      | |  +- Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|      | |  `- Re: Labeling micro-SD cards ?The Natural Philosopher
|      | `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  +- Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|      |  +* Re: Labeling micro-SD cards ?R.Wieser
|      |  |+* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||`* Re: Labeling micro-SD cards ?R.Wieser
|      |  || `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||  `* Re: Labeling micro-SD cards ?R.Wieser
|      |  ||   `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||    `* Re: Labeling micro-SD cards ?R.Wieser
|      |  ||     `* Re: Labeling micro-SD cards ?Chris Elvidge
|      |  ||      +- Re: Labeling micro-SD cards ?Chris Elvidge
|      |  ||      `* Re: Labeling micro-SD cards ?R.Wieser
|      |  ||       +- Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||       `* Re: Labeling micro-SD cards ?Chris Elvidge
|      |  ||        `- Re: Labeling micro-SD cards ?NY
|      |  |`* Re: Labeling micro-SD cards ?Jan Panteltje
|      |  | +* Re: Labeling micro-SD cards ?R.Wieser
|      |  | |`* Re: Labeling micro-SD cards ?Jan Panteltje
|      |  | | +* Re: Labeling micro-SD cards ?R.Wieser
|      |  | | |+- Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|      |  | | |`* Re: Labeling micro-SD cards ?Jan Panteltje
|      |  | | | `- Re: Labeling micro-SD cards ?R.Wieser
|      |  | | `- Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  | `* Re: Labeling micro-SD cards ?Martin Gregorie
|      |  |  `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  |   `* Re: Labeling micro-SD cards ?Theo
|      |  |    `- Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  `- Re: Labeling micro-SD cards ?Andrew Smallshaw
|      `- Re: Labeling micro-SD cards ?The Natural Philosopher
+* Re: Labeling micro-SD cards ?Ian
|+- Re: Labeling micro-SD cards ?Ian
|`* Re: Labeling micro-SD cards ?R.Wieser
| +- Re: Labeling micro-SD cards ?Ian
| +* Re: Labeling micro-SD cards ?Ian
| |`* Re: Labeling micro-SD cards ?Theo
| | `* Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
| |  `- Re: Labeling micro-SD cards ?The Natural Philosopher
| `- Re: Labeling micro-SD cards ?bob prohaska
+- Re: Labeling micro-SD cards ?Thomas Kempkes
+* Re: Labeling micro-SD cards ?The Natural Philosopher
|`* Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
| `* Re: Labeling micro-SD cards ?Richard Harnden
|  `- Re: Labeling micro-SD cards ?Martin Gregorie
+- Re: Labeling micro-SD cards ?nospam
+* Re: Labeling micro-SD cards ?Computer Nerd Kev
|`* Re: Labeling micro-SD cards ?R.Wieser
| `* Re: Labeling micro-SD cards ?Dennis Lee Bieber
|  `* Re: Labeling micro-SD cards ?R.Wieser
|   +* Re: Labeling micro-SD cards ?Martin Gregorie
|   |`* Re: Labeling micro-SD cards ?R.Wieser
|   | `* Re: Labeling micro-SD cards ?Martin Gregorie
|   |  `* Re: Labeling micro-SD cards ?R.Wieser
|   |   `- Re: Labeling micro-SD cards ?Martin Gregorie
|   `* Re: Labeling micro-SD cards ?David Higton
|    `- Re: Labeling micro-SD cards ?Jim Jackson
+* Re: Labeling micro-SD cards ?scott
|`- Re: Labeling micro-SD cards ?A. Dumas
+- Re: Labeling micro-SD cards ?Andrew Smallshaw
+- Re: Labeling micro-SD cards ?Clive Reuben
+* Re: Labeling micro-SD cards ?Othello
`* Re: Labeling micro-SD cards ?Binaries

Pages:12345
Re: Labeling micro-SD cards ?

<tjc2m1$2hfgj$5@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6105&group=comp.sys.raspberry-pi#6105

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Wed, 26 Oct 2022 20:44:01 +0100
Organization: A little, after lunch
Lines: 13
Message-ID: <tjc2m1$2hfgj$5@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
<tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk>
<tj8n87$2hk$2@gioia.aioe.org> <tj8q9q$20m9q$9@dont-email.me>
<tj9e8k$1m6g$1@gioia.aioe.org> <tj9far$2614g$2@dont-email.me>
<tjambm$sjc$1@gioia.aioe.org> <tjb0v0$2em3v$5@dont-email.me>
<tjbb6e$r2f$1@gioia.aioe.org> <tjbbl3$2fi6c$4@dont-email.me>
<tjbj4c$p2m$1@gioia.aioe.org> <tjbmvs$2gi1l$1@dont-email.me>
<tjc1ua$1qo9$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 26 Oct 2022 19:44:01 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="dd81c0ee958bd76fa32ea6b2691b9e8e";
logging-data="2670099"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cdIij6yv3FMVj0Rl6vP+vZlc9JJWBSr4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:lvNNn+zjSd7cL79WE5JX7gwgcKA=
In-Reply-To: <tjc1ua$1qo9$1@gioia.aioe.org>
Content-Language: en-GB
 by: The Natural Philosop - Wed, 26 Oct 2022 19:44 UTC

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

Re: Labeling micro-SD cards ?

<tjc89c$2i0sh$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6106&group=comp.sys.raspberry-pi#6106

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: chr...@mshome.net (Chris Elvidge)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Wed, 26 Oct 2022 22:19:38 +0100
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <tjc89c$2i0sh$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
<tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk>
<tj8n87$2hk$2@gioia.aioe.org> <tj8q9q$20m9q$9@dont-email.me>
<tj9e8k$1m6g$1@gioia.aioe.org> <tj9far$2614g$2@dont-email.me>
<tjambm$sjc$1@gioia.aioe.org> <tjb0v0$2em3v$5@dont-email.me>
<tjbb6e$r2f$1@gioia.aioe.org> <tjbbl3$2fi6c$4@dont-email.me>
<tjbj4c$p2m$1@gioia.aioe.org> <tjbmvs$2gi1l$1@dont-email.me>
<tjc1ua$1qo9$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 26 Oct 2022 21:19:41 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="ea08a0ffed3a31967bbed7118bb03507";
logging-data="2687889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xDEMkRJjp2kZVpUheSd0mJnUEtV3h0UM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.2.1 Lightning/5.4
Cancel-Lock: sha1:2Iiy/hoPRjRRV92h2uFBpqMnANw=
In-Reply-To: <tjc1ua$1qo9$1@gioia.aioe.org>
Content-Language: en-GB
 by: Chris Elvidge - Wed, 26 Oct 2022 21:19 UTC

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

Re: Labeling micro-SD cards ?

<tjdesj$2niil$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6107&group=comp.sys.raspberry-pi#6107

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: me...@privacy.invalid (NY)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Thu, 27 Oct 2022 09:18:20 +0100
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <tjdesj$2niil$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com> <tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk> <tj8n87$2hk$2@gioia.aioe.org> <tj8q9q$20m9q$9@dont-email.me> <tj9e8k$1m6g$1@gioia.aioe.org> <tj9far$2614g$2@dont-email.me> <tjambm$sjc$1@gioia.aioe.org> <tjb0v0$2em3v$5@dont-email.me> <tjbb6e$r2f$1@gioia.aioe.org> <tjbbl3$2fi6c$4@dont-email.me> <tjbj4c$p2m$1@gioia.aioe.org> <tjbmvs$2gi1l$1@dont-email.me> <tjc1ua$1qo9$1@gioia.aioe.org> <tjc89c$2i0sh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="utf-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 27 Oct 2022 08:18:27 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6cf72dab1ca817b38434881d822f6772";
logging-data="2869845"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jF0YDtnLSS2NhrdH9EEPDjTDDNb9g/ZA="
Cancel-Lock: sha1:VupRCPL2wIK9DCWet+0B86MBg1w=
X-Priority: 3
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MSMail-Priority: Normal
Importance: Normal
X-Antivirus: Avast (VPS 221027-0, 27/10/2022), Outbound message
X-Antivirus-Status: Clean
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
In-Reply-To: <tjc89c$2i0sh$1@dont-email.me>
 by: NY - Thu, 27 Oct 2022 08:18 UTC

"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/.

Re: Labeling micro-SD cards ?

<202210280903235747-notme@nowherecom>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6108&group=comp.sys.raspberry-pi#6108

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx01.ams1.POSTED!not-for-mail
From: not...@nowhere.com (Binaries)
Newsgroups: comp.sys.raspberry-pi
Message-ID: <202210280903235747-notme@nowherecom>
References: <tiis1u$15dm$1@gioia.aioe.org> <2022102416125099862-notme@nowherecom> <tj7v4f$13gi$1@gioia.aioe.org> <tj80jq$1tr5h$1@dont-email.me> <tj8n87$2hk$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Subject: Re: Labeling micro-SD cards ?
User-Agent: Unison/2.1.10
Lines: 12
X-Complaints-To: abuse@tweaknews.nl
NNTP-Posting-Date: Fri, 28 Oct 2022 08:03:23 UTC
Organization: Tweaknews
Date: Fri, 28 Oct 2022 09:03:23 +0100
X-Received-Bytes: 1073
 by: Binaries - Fri, 28 Oct 2022 08:03 UTC

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

Re: Labeling micro-SD cards ?

<slrntlqrgu.5p9.andrews@sdf.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6109&group=comp.sys.raspberry-pi#6109

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: andr...@sdf.org (Andrew Smallshaw)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Sat, 29 Oct 2022 18:17:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <slrntlqrgu.5p9.andrews@sdf.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
<tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk>
<tj8n87$2hk$2@gioia.aioe.org> <tj8q9q$20m9q$9@dont-email.me>
Injection-Date: Sat, 29 Oct 2022 18:17:02 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8f8fe981f3865131ccc907fab168c542";
logging-data="3806562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ov9pVyumYxacP6R0BloZaV5omEl6t8eg="
User-Agent: slrn/1.0.3 (Patched for libcanlock3) (NetBSD)
Cancel-Lock: sha1:8kPiDufh5ra8kHplI52CfX4HI00=
 by: Andrew Smallshaw - Sat, 29 Oct 2022 18:17 UTC

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

Re: Labeling micro-SD cards ?

<ZBw*3r51y@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6116&group=comp.sys.raspberry-pi#6116

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: 30 Oct 2022 10:28:47 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <ZBw*3r51y@news.chiark.greenend.org.uk>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com> <tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk> <tj8n87$2hk$2@gioia.aioe.org> <tj8q9q$20m9q$9@dont-email.me> <tj9e8k$1m6g$1@gioia.aioe.org> <tjah5k$2d9eg$1@dont-email.me> <tjb4rc$2f0v7$1@dont-email.me> <tjb7fg$2f475$5@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="23308"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-15-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Sun, 30 Oct 2022 10:28 UTC

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

Re: Labeling micro-SD cards ?

<tjm6dl$6no5$8@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6120&group=comp.sys.raspberry-pi#6120

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Sun, 30 Oct 2022 15:49:09 +0000
Organization: A little, after lunch
Lines: 77
Message-ID: <tjm6dl$6no5$8@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
<tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk>
<tj8n87$2hk$2@gioia.aioe.org> <tj8q9q$20m9q$9@dont-email.me>
<tj9e8k$1m6g$1@gioia.aioe.org> <tjah5k$2d9eg$1@dont-email.me>
<tjb4rc$2f0v7$1@dont-email.me> <tjb7fg$2f475$5@dont-email.me>
<ZBw*3r51y@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 30 Oct 2022 15:49:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="21e25fb45906f5cf437b04a51a54e49d";
logging-data="220933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zGjYUwUwQMzz6ev5ZRewf7is85mpGFFc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:7R6wmnd3q5MnklaMZHI+SQIfKBk=
Content-Language: en-GB
In-Reply-To: <ZBw*3r51y@news.chiark.greenend.org.uk>
 by: The Natural Philosop - Sun, 30 Oct 2022 15:49 UTC

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.

Pages:12345
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor