Oram/Pi5 Boot from NVMe?

Thank you…but how do you say it?.. “All that glitters is not gold!!!”. :rofl: :rofl: :rofl: :rofl:

Maybe, and I repeat maybe, I would have a much better chance if this entire post was in Italian instead of (for me) in ancient Chinese… :rofl: :rofl: :rofl: :rofl:

I really appreciate your understanding @core.east :slight_smile:. Yes, it’s being a bit frustrating to continually scramble the cards on the table of the SSD game, only to keep on finding a dead end.

Just right! And I am curious to find if our concerted efforts, with the knowledgeable advice of @Tithrion and @riban, will finally manage to break the code!

Best regards :grinning:

:grinning:

A question @Aethermind… starting the raspy with Zynthian OS is it possible to clone the SD to the SSD from the terminal?
I have already experimented with Pi Imager to boot from SSD instead of SD in the Windows on Raspberry project… but I have never tried to clone the SD to SSD…

Yes, of course. Using the @riban’s script:

zynthian_sd2nvme.sh (1.7 KB)

And, remember to run on terminal:

raspi-config nonint do_boot_rom E1 0

before powering off and restarting Zynthian without the SD card inserted. Furthermore, make sure that the boot order set with

sudo raspi-config

is first SD, then nvme, then USB (option 1).

I hope it helps :slight_smile:

Perfect…I will use Putty…Thanks

Super @riban is the Best… :heart_eyes:

Also, after copying the script to the Zynth in /root, type in terminal

cd /root
chmod +x zynthian_sd2nvme.sh
./zynthian_sd2nvme.sh

to make the script an executable program and be able to run it.

Many thanks…

True. Which reminds me of a story from my younger days. Which is sort of besides the thread, but bare with me:
I was caving with some Danish friends in those days, one was an engineer and another was just extremely good at wiggling through narrow tunnels where arm and leg movements are close to impossible. And they where both into filming their subterranean adventures. For this they needed light. A lot of lumens. And for that they needed battery packs. Those where made by the engineer. And the caving was mostly done in the North West of Spain. (Check it out here). So flying was involved, and a lot of equipment too, and in order to save money, heavy items was carried in our pockets. It was back then, when the strict security check-in was just getting operational, early 2000, so everyone was scanned with “the machine that goes PING”, and PIIIING it went when we passed through. But when the engineer emptied his pocket load of homemade battery packs i noticed that he had labelled the packs “DRY CELL BATTERY” with the classic punch-your-letters Dymo tool, and he smiling showed them to the security personnel and read out the label for them, and every time they nodded acceptingly and let us pass through without any further investigation.
Well of course i’m not quite sure that the homemade things actually where battery packs, but at least the lights lit brightly when connected to them!

Sorry for the distraction…

2 Likes

To recap:
1 I connect the NVMe
2 Boot from SD
3 From terminal I paste the script by @riban
4 From terminal I type “cd /root
chmod +x zynthian_sd2nvme.sh
./zynthian_sd2nvme.sh”
5 From terminal I type “raspi-config nonint do_boot_rom E1 0”
6 From terminal “sudo raspi-config” and select the boot order
7 Then, I hope…

A few years ago I went to Egypt with my wife who had hidden her shampoo in my backpack… I thought I would end up in prison for this… I don’t think home made “batteries” would pass now… :rofl: :rofl: :rofl: :rofl:

1 Like

That’s right!

And you hopefully look at the Zynth cloning Oram or Vangelis to SSD at lightspeed.

Then, you power off, extract the uSD, recite a devout prayer to the almighty eternal gods and power on the Z again! :wink:

1 Like

I like this thing… Think about when I built a tube transceiver with a homemade power supply that puts out 350V… think about the moment I plugged it into the wall socket… I used a VERY long extension cord… :rofl: :rofl: :rofl: :rofl: :rofl: :rofl: :rofl:

2 Likes

Does the NVMe need to be formatted first or does the script do this job too?

The script takes care of setting and partitioning the nvme drive for you :slight_smile:

1 Like

Not at all @core.east! This is a lovely recount of a nice personal experience :grinning:

2 Likes

From my braindump, I didn’t have to execute the raspi-config calls manually after executing my version of @riban s script (it was already part of it).
If you see “Installation complete. Power down then remove uSD.” the raspi-config calls are already done.
Concerning Step 3 I’d propose to copy it over with winscp (assuming you’re under Win as you talk about PuTTY), that might prevent some copy 'n paste errors…

1 Like

Hi @Tithrion. Yes, except @riban detected an ambiguous/misleading parameter in the latest syntax of raspi-config, which he reported upstream, suggesting to integrate the script workings with:
raspi-config nonint do_boot_rom E1 0.

Not sure to what extent reasserting the call in this fashion actually influences an SSD installation more “regular” than mine.

Regards :slight_smile:

Thanks @Tithrion and @ Aethermind

I had already installed WinSCP… but never used it with Zynthian… Where should I paste the @riban script? Thanks