Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Why won't sharks eat lawyers? Professional courtesy.


computers / comp.sys.raspberry-pi / Next hurdle

SubjectAuthor
* Next hurdleThe Natural Philosopher
+* Re: Next hurdleJesper Kaas
|`- Re: Next hurdleThe Natural Philosopher
`* Re: Next hurdleAnother Dave
 +* Re: Next hurdleThe Natural Philosopher
 |`- Re: Next hurdleAnother Dave
 `* Re: Next hurdleDavid Higton
  `- Re: Next hurdleThe Natural Philosopher

1
Next hurdle

<ugp9a1$3q8ia$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Next hurdle
Date: Wed, 18 Oct 2023 19:48:32 +0100
Organization: A little, after lunch
Lines: 12
Message-ID: <ugp9a1$3q8ia$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Oct 2023 18:48:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c5ccef17b4d1ea45677e5f7d3eed054e";
logging-data="4006474"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+s5t9OzP+m2L8zdEkOg0ayPii9rbEpPbs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:waBQd0QvQlhdrSi/SJxt0eFxQC0=
Content-Language: en-GB
 by: The Natural Philosop - Wed, 18 Oct 2023 18:48 UTC

OK, I changed the cmdline.txt to specify the USB UUID instead of
PARTUUID and it seems to have partially booted correctly in that the
right partitions end up mounted, but it STILL wont boot without the SD
card inserted, and the root filesystem will not expand?

There is something very flaky about all this USB boot.

--
"When a true genius appears in the world, you may know him by this sign,
that the dunces are all in confederacy against him."

Jonathan Swift.

Re: Next hurdle

<qcf1jiltemp69cmpskrsgfm78a8h4gh4rg@4ax.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jesperk@neitakk.online.no (Jesper Kaas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Thu, 19 Oct 2023 07:29:06 +0200
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <qcf1jiltemp69cmpskrsgfm78a8h4gh4rg@4ax.com>
References: <ugp9a1$3q8ia$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="6de8f2eb239057c32579df6fc0d01861";
logging-data="196476"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+e+EzZsx0NV/z3kF7wjOpL"
Cancel-Lock: sha1:CQ6aUGVcRYvg9bIYBzI5PirOoCM=
X-Newsreader: Forte Agent 6.00/32.1186
 by: Jesper Kaas - Thu, 19 Oct 2023 05:29 UTC

On Wed, 18 Oct 2023 19:48:32 +0100, The Natural Philosopher
<tnp@invalid.invalid> wrote:

>OK, I changed the cmdline.txt to specify the USB UUID instead of
>PARTUUID and it seems to have partially booted correctly in that the
>right partitions end up mounted, but it STILL wont boot without the SD
>card inserted, and the root filesystem will not expand?
>
>There is something very flaky about all this USB boot.

Maybe you have one of the old Raspberry 4 models?
https://www.pragmaticlinux.com/2021/12/directly-boot-your-raspberry-pi-4-from-a-usb-drive/

"To configure your Raspberry PI 4 to boot from a USB drive, you just
need to enable this feature inside the boot code, stored in EEPROM.
And here’s the best part: Most Raspberry PI 4 boards enable this
feature by default! Only a small batch of early Raspberry PI 4 boards
shipped with this feature disabled."

"What about older Raspberry PI models?

This article primarily focuses on booting a Raspberry PI 4, 400 and
Compute Module 4 from a USB drive. However, with a little trick, you
can reap the same benefits if you own an older model such as a
Raspberry PI 1, 2, 3 or Zero. The trick involves moving the root file
system (/) to a USB drive and just leave the boot file system (\boot)
on the SD card.

With this approach, your Raspberry PI still boots from the SD card.
However, the actual operating system itself runs from the USB drive.
Since the boot operation only needs to reads from the SD card, you
won’t run into SD card corruption problems. Just keep in mind that you
get better disk I/O performance on a Raspberry PI 4, because it
supports USB 3 ports. For step-by-step instructions on using this
approach, refer to this tutorial:

Move the Raspberry PI root file system to a USB drive

What do you need

To complete the steps outlined in this tutorial, you need the
following:

A basic Raspberry PI 4 setup. This includes a power supply, SD
card, HDMI cable, monitor, mouse and keyboard.
The Raspberry PI Imager software installed on your PC.
A USB drive.

Theoretically you can use a simple 4 GB or more USB flash stick for
this tutorial. However, for the best performance I recommend a SATA or
NVMe SSD drive with a suitable USB 3 adapter. For this tutorial, I’ll
use a Samsung 860 EVO 250 GB SSD in combination with a Nedis USB 3.2
2.5" SATA USB adapter. Note that not all SATA to USB 3 adapters fully
work with the Raspberry PI 3. For more details and a potential fix,
refer to article:

Fix for getting your SSD working via USB 3 on your Raspberry
PI..."
--
Jesper Kaas - jesperk@neindanke.online.no

Re: Next hurdle

<ugqnbl$7h54$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Thu, 19 Oct 2023 08:54:29 +0100
Organization: A little, after lunch
Lines: 36
Message-ID: <ugqnbl$7h54$2@dont-email.me>
References: <ugp9a1$3q8ia$1@dont-email.me>
<qcf1jiltemp69cmpskrsgfm78a8h4gh4rg@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Oct 2023 07:54:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="911f13481433d253c9b72b7330d6d322";
logging-data="246948"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Al4dHtXTP9jOnIElwevRdzrowcSzesUU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:OHVzvJ3RozRQ1lzNgLrB6jdZF0M=
Content-Language: en-GB
In-Reply-To: <qcf1jiltemp69cmpskrsgfm78a8h4gh4rg@4ax.com>
 by: The Natural Philosop - Thu, 19 Oct 2023 07:54 UTC

On 19/10/2023 06:29, Jesper Kaas wrote:
> On Wed, 18 Oct 2023 19:48:32 +0100, The Natural Philosopher
> <tnp@invalid.invalid> wrote:
>
>> OK, I changed the cmdline.txt to specify the USB UUID instead of
>> PARTUUID and it seems to have partially booted correctly in that the
>> right partitions end up mounted, but it STILL wont boot without the SD
>> card inserted, and the root filesystem will not expand?
>>
>> There is something very flaky about all this USB boot.
>
> Maybe you have one of the old Raspberry 4 models?
> https://www.pragmaticlinux.com/2021/12/directly-boot-your-raspberry-pi-4-from-a-usb-drive/
>
Nope. Brand new 4B.
I stumbled through the mirk, somewhat hampered by the fact that I
interpreted the flashing green light as being some kind of malfunction,
whereas I eventually discovered it was simply looking for an SD card
that wasn't there, but still eventually booted.

The key was to relabel the root FS and use that in fstab and in cmdline.txt
And tell the green light to shut the f up.
Then I finally got a clean boot and was able to expand the root FS to
the whole SSD.

The next issue is to find some 2TB SSDs that don't flatten the USB power
supply.

It looks like cheaper and slower is less power...

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

Re: Next hurdle

<uh04p7$1ln8m$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dmarsden@nospam.com (Another Dave)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Sat, 21 Oct 2023 10:14:15 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uh04p7$1ln8m$1@dont-email.me>
References: <ugp9a1$3q8ia$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 Oct 2023 09:14:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6092e465e118b30399118e0f7c57e4ad";
logging-data="1760534"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187E7TPO84m2WbldoY/diJbS5FfxOw96TA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:nW1zrnGpN7vHa7YMnfnjLdYSBBE=
In-Reply-To: <ugp9a1$3q8ia$1@dont-email.me>
Content-Language: en-US
 by: Another Dave - Sat, 21 Oct 2023 09:14 UTC

On 18/10/2023 7:48 pm, The Natural Philosopher wrote:
> OK, I changed the cmdline.txt to specify the USB UUID instead of
> PARTUUID and it seems to have partially booted correctly in that the
> right partitions end up mounted, but it STILL wont boot without the SD
> card inserted, and the root filesystem will not expand?
>
> There is something very flaky about all this USB boot.
>
Probably not relevant but I've just spent the best part of an afternoon
trying to get a 2Gb Pi4 to boot from an SSD via a USB3 (allegedly) to
SSD adaptor.

To save time I decided to use Raspberry Pi Imager (on a Mint desktop) to
burn the image. It didn't work (write failure). I moved the SSD adaptor
to a USB-2 port and it worked.

If I plug the resulting combination into a USB-3 slot on the Pi 4 it
boots perfectly.

I think the adaptor works on the Pi USB-3 because the Pi 4 doesn't have
true USB-3 data rates. I haven't got a Pi 5 but I suspect the same
approach will not work.

Another Dave
--
Change nospam to techie

Re: Next hurdle

<uh07bn$1mgvo$5@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Sat, 21 Oct 2023 10:58:15 +0100
Organization: A little, after lunch
Lines: 37
Message-ID: <uh07bn$1mgvo$5@dont-email.me>
References: <ugp9a1$3q8ia$1@dont-email.me> <uh04p7$1ln8m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 Oct 2023 09:58:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="816bb0c399fe1812511f1bce80d90b89";
logging-data="1786872"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XUlmnqfcJO657iBkHDn6JYhk1GvWiDIQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:7bS6n3kUFqfyag8u3OUXADgN/f8=
In-Reply-To: <uh04p7$1ln8m$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Sat, 21 Oct 2023 09:58 UTC

On 21/10/2023 10:14, Another Dave wrote:
> On 18/10/2023 7:48 pm, The Natural Philosopher wrote:
>> OK, I changed the cmdline.txt to specify the USB UUID instead of
>> PARTUUID and it seems to have partially booted correctly in that the
>> right partitions end up mounted, but it STILL wont boot without the SD
>> card inserted, and the root filesystem will not expand?
>>
>> There is something very flaky about all this USB boot.
>>
> Probably not relevant but I've just spent the best part of an afternoon
> trying to get a 2Gb Pi4 to boot from an SSD via a USB3 (allegedly) to
> SSD adaptor.
>
> To save time I decided to use Raspberry Pi Imager (on a Mint desktop) to
> burn the image. It didn't work (write failure). I moved the SSD adaptor
> to a USB-2 port and it worked.
>
> If I plug the resulting combination into a USB-3 slot on the Pi 4 it
> boots perfectly.
>
> I think the adaptor works on the Pi USB-3 because the Pi 4 doesn't have
> true USB-3 data rates. I haven't got a Pi 5 but I suspect the same
> approach will not work.
>
> Another Dave
All SATA /SSD adapters are not created equal

Allegedly.

What does lsusb show about the adapter?

PS Id I had known that a Pi4B would boot USB *by default* (if no SD card
is installed) I wouldn't have faffed around with the SD card..

--
The New Left are the people they warned you about.

Re: Next hurdle

<8628c7f65a.DaveMeUK@BeagleBoard-xM>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dave@davehigton.me.uk (David Higton)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Sat, 21 Oct 2023 11:30:38 +0100
Organization: Home
Lines: 32
Message-ID: <8628c7f65a.DaveMeUK@BeagleBoard-xM>
References: <ugp9a1$3q8ia$1@dont-email.me> <uh04p7$1ln8m$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="9d8be36ab8d304fc46040f273cc1ddcf";
logging-data="1805123"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mNMcmRLGx7mphnDKz2JjjoViG5dM7u2c="
User-Agent: Messenger-Pro/8.03 (MsgServe/8.01) (RISC-OS/5.29) NewsHound/v1.54
Cancel-Lock: sha1:b9FGVrRA0GLoFmaVvsg/5d63J2Q=
 by: David Higton - Sat, 21 Oct 2023 10:30 UTC

In message <uh04p7$1ln8m$1@dont-email.me>
Another Dave <dmarsden@nospam.com> wrote:

> On 18/10/2023 7:48 pm, The Natural Philosopher wrote:
> > OK, I changed the cmdline.txt to specify the USB UUID instead of
> > PARTUUID and it seems to have partially booted correctly in that the
> > right partitions end up mounted, but it STILL wont boot without the SD
> > card inserted, and the root filesystem will not expand?
> >
> > There is something very flaky about all this USB boot.
> >
> Probably not relevant but I've just spent the best part of an afternoon
> trying to get a 2Gb Pi4 to boot from an SSD via a USB3 (allegedly) to SSD
> adaptor.
>
> To save time I decided to use Raspberry Pi Imager (on a Mint desktop) to
> burn the image. It didn't work (write failure). I moved the SSD adaptor to
> a USB-2 port and it worked.
>
> If I plug the resulting combination into a USB-3 slot on the Pi 4 it boots
> perfectly.
>
> I think the adaptor works on the Pi USB-3 because the Pi 4 doesn't have
> true USB-3 data rates. I haven't got a Pi 5 but I suspect the same
> approach will not work.

The symptoms you describe would also fit perfectly with a power supply
issue. Because of power limiting at USB ports, voltages at the USB
devices can be marginal. This shows up most often with relatively
high consumers of power, like storage drives.

David

Re: Next hurdle

<uh0a3m$1n51k$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Sat, 21 Oct 2023 11:45:10 +0100
Organization: A little, after lunch
Lines: 44
Message-ID: <uh0a3m$1n51k$3@dont-email.me>
References: <ugp9a1$3q8ia$1@dont-email.me> <uh04p7$1ln8m$1@dont-email.me>
<8628c7f65a.DaveMeUK@BeagleBoard-xM>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 Oct 2023 10:45:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="816bb0c399fe1812511f1bce80d90b89";
logging-data="1807412"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1O5Otw4Lv7EnQcJAJxxRkjhZ1vLkH5co="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:s3VtwT3Xl3gVglmX40N4ZPjGxDc=
Content-Language: en-GB
In-Reply-To: <8628c7f65a.DaveMeUK@BeagleBoard-xM>
 by: The Natural Philosop - Sat, 21 Oct 2023 10:45 UTC

On 21/10/2023 11:30, David Higton wrote:
> In message <uh04p7$1ln8m$1@dont-email.me>
> Another Dave <dmarsden@nospam.com> wrote:
>
>> On 18/10/2023 7:48 pm, The Natural Philosopher wrote:
>>> OK, I changed the cmdline.txt to specify the USB UUID instead of
>>> PARTUUID and it seems to have partially booted correctly in that the
>>> right partitions end up mounted, but it STILL wont boot without the SD
>>> card inserted, and the root filesystem will not expand?
>>>
>>> There is something very flaky about all this USB boot.
>>>
>> Probably not relevant but I've just spent the best part of an afternoon
>> trying to get a 2Gb Pi4 to boot from an SSD via a USB3 (allegedly) to SSD
>> adaptor.
>>
>> To save time I decided to use Raspberry Pi Imager (on a Mint desktop) to
>> burn the image. It didn't work (write failure). I moved the SSD adaptor to
>> a USB-2 port and it worked.
>>
>> If I plug the resulting combination into a USB-3 slot on the Pi 4 it boots
>> perfectly.
>>
>> I think the adaptor works on the Pi USB-3 because the Pi 4 doesn't have
>> true USB-3 data rates. I haven't got a Pi 5 but I suspect the same
>> approach will not work.
>
> The symptoms you describe would also fit perfectly with a power supply
> issue. Because of power limiting at USB ports, voltages at the USB
> devices can be marginal. This shows up most often with relatively
> high consumers of power, like storage drives.
>
That depends on the PC driving it. As far as a PI is concerned they have
up to 6W of USB power available which is enough for the hungriest SSD,
two reasonably abstemious ones and possible a third if small enough.

We shall see.

> David

--
Truth welcomes investigation because truth knows investigation will lead
to converts. It is deception that uses all the other techniques.

Re: Next hurdle

<uh0k9o$1p4pf$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dmarsden@nospam.com (Another Dave)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Next hurdle
Date: Sat, 21 Oct 2023 14:39:04 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uh0k9o$1p4pf$1@dont-email.me>
References: <ugp9a1$3q8ia$1@dont-email.me> <uh04p7$1ln8m$1@dont-email.me>
<uh07bn$1mgvo$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 Oct 2023 13:39:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6092e465e118b30399118e0f7c57e4ad";
logging-data="1872687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193Muec6DUM5w6N8unA/A+IdFsIF9f1By4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:oCwoaSUGYGwBMLfn9w/Z2nm9sVU=
Content-Language: en-US
In-Reply-To: <uh07bn$1mgvo$5@dont-email.me>
 by: Another Dave - Sat, 21 Oct 2023 13:39 UTC

On 21/10/2023 10:58 am, The Natural Philosopher wrote:
> On 21/10/2023 10:14, Another Dave wrote:
>> On 18/10/2023 7:48 pm, The Natural Philosopher wrote:
>>> OK, I changed the cmdline.txt to specify the USB UUID instead of
>>> PARTUUID and it seems to have partially booted correctly in that the
>>> right partitions end up mounted, but it STILL wont boot without the
>>> SD card inserted, and the root filesystem will not expand?
>>>
>
> What does lsusb show about the adapter?

VIA Labs, Inc, VL711 SATA 6 Gb/s bridge
>
> PS Id I had known that a Pi4B would boot USB *by default* (if no SD card
> is installed) I wouldn't have faffed around with the SD card..
>
I did know (but had forgotten) this as I had sorted it out when the Pi 4
first came out. It was only when I got into the mire of PARTUUID and the
rest that it dawned on me I was wasting my time and should bypass all
attempts to use the live OS to copy the system to the SSD.

Another Dave
--
Change nospam to techie

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor