Official Raspberry Pi Respin

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Senpai
Posts: 474
Joined: Tue Nov 19, 2019 7:39 am

Re: Official Raspberry Pi Respin

#21 Post by Senpai »

Jerry3904 wrote: Wed Jan 10, 2024 8:26 am Lots of discussion on the RPi Forum, which is really where such technical questions can be best handled:

https://forums.raspberrypi.com/search.php?keywords=Zram
Well... using zram goes better the raspi3 with MX23.1 with Flxubox, in the file "/etc/rc.local" I put the command "zram start" and in each restart 4 files of 50MB are created, one for each CPU thread, I guess in systemd there will be a better way to do it, but that's the one I've seen...

The raspi3 with MX23.1_Fluxbox goes fine, with Chromium or Palemoon, the only program that blocked it every time is "MX Package Installer", so I had to use Synaptic or apt....
But now with zram "MX Package Installer" it is usable although calm, hahaha.

Best regards

skallal
Posts: 258
Joined: Fri Jul 28, 2023 12:47 pm

Re: Official Raspberry Pi Respin

#22 Post by skallal »

Senpai wrote: Wed Jan 10, 2024 5:53 pm
Jerry3904 wrote: Wed Jan 10, 2024 8:26 am Lots of discussion on the RPi Forum, which is really where such technical questions can be best handled:

https://forums.raspberrypi.com/search.php?keywords=Zram
Well... using zram goes better the raspi3 with MX23.1 with Flxubox, in the file "/etc/rc.local" I put the command "zram start" and in each restart 4 files of 50MB are created, one for each CPU thread, I guess in systemd there will be a better way to do it, but that's the one I've seen...

The raspi3 with MX23.1_Fluxbox goes fine, with Chromium or Palemoon, the only program that blocked it every time is "MX Package Installer", so I had to use Synaptic or apt....
But now with zram "MX Package Installer" it is usable although calm, hahaha.

Best regards
By raspi3 are you referring to the Pi 3? I thought this respin is for Pi 4 and above?

Coincidentally I installed zram also on my Pi 4. Can't tell if it makes any difference. My Pi 4 has 4 GB RAM and wanted to use a larger swap file. But I read where that could ruin an SD card by frequently writing to a larger swap file.

Senpai
Posts: 474
Joined: Tue Nov 19, 2019 7:39 am

Re: Official Raspberry Pi Respin

#23 Post by Senpai »

skallal wrote: Wed Jan 10, 2024 6:17 pm
Senpai wrote: Wed Jan 10, 2024 5:53 pm
Jerry3904 wrote: Wed Jan 10, 2024 8:26 am Lots of discussion on the RPi Forum, which is really where such technical questions can be best handled:

https://forums.raspberrypi.com/search.php?keywords=Zram
Well... using zram goes better the raspi3 with MX23.1 with Flxubox, in the file "/etc/rc.local" I put the command "zram start" and in each restart 4 files of 50MB are created, one for each CPU thread, I guess in systemd there will be a better way to do it, but that's the one I've seen...

The raspi3 with MX23.1_Fluxbox goes fine, with Chromium or Palemoon, the only program that blocked it every time is "MX Package Installer", so I had to use Synaptic or apt....
But now with zram "MX Package Installer" it is usable although calm, hahaha.

Best regards
By raspi3 are you referring to the Pi 3? I thought this respin is for Pi 4 and above?

Coincidentally I installed zram also on my Pi 4. Can't tell if it makes any difference. My Pi 4 has 4 GB RAM and wanted to use a larger swap file. But I read where that could ruin an SD card by frequently writing to a larger swap file.
Hi:
If I have not misunderstood https://pimylifeup.com/raspberry-pi-zram/ (please correct me if I misunderstood...), the zram creates a virtual memory that is hosted in the ram memory, but compressed by the processor which makes the CPU work more, but it seems to be in excess.
I have not followed the steps in the link, only what I put in the previous message, because MX already has zram included in the kernel and in mx-goodies.

La, the PI3 has 4 threads, in the 4 would go much better "I guess" I have not tested because my PI4 is 8GB, but with 4GB it is possible that MX you go more than enough and do not need zram, it is a matter of testing ...

And yes, I know that this MX23.1_Xfce, is only for PI4/400 and 5, but I have done a customization test "Respin", on my Pi3 with only Fluxbox, and it is quite usable, the only thing I have removed because I do not use, is the printer services and samba... But you can enable them again without problem or disable others.....

Greetings
You do not have the required permissions to view the files attached to this post.

User avatar
Jerry3904
Administrator
Posts: 23044
Joined: Wed Jul 19, 2006 6:13 am

Re: Official Raspberry Pi Respin

#24 Post by Jerry3904 »

Nice. I would think Fluxbox would run pretty well. I have it alongside Xfce on the Pi 5 and it flies.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

skallal
Posts: 258
Joined: Fri Jul 28, 2023 12:47 pm

Re: Official Raspberry Pi Respin

#25 Post by skallal »

@Jerry3904

I see on the Tips page at https://mxlinux.org/wiki/rpi-tips/, that the Orange Pi 5 is included but not mentioned elsewhere. Does that mean it's not supported?

I've never considered the Orange Pi 5 before, but see it's available, whereas the real Pi 5 is listed as $80, but in reality sells for much more. The Raspberry Pi Foundation must still be suffering from supply chain issues, as I can hardly find one.

User avatar
Jerry3904
Administrator
Posts: 23044
Joined: Wed Jul 19, 2006 6:13 am

Re: Official Raspberry Pi Respin

#26 Post by Jerry3904 »

We had only one tester, but he made a positive and successful review. I have a Orange Pi 5 (with a NMVe) which I like very much and am getting ready to run some tests myself.

BTW: here in the States and Canada, we can get the Pi 5 (board only) with 8GB for $80 as advertised (I order at that price from CanaKit b/c I live in the boonies), but that's without power supply, SD card, etc.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Senpai
Posts: 474
Joined: Tue Nov 19, 2019 7:39 am

Re: Official Raspberry Pi Respin

#27 Post by Senpai »

Hi @Jerry3904:
Forgive my ignorance... Why the image has 4 kernels, what hardware are they for, because in the tests I'm doing the Pi3 64 bits and the Pi4 use the same kernel?
They both use linux-image-6.1.0-rpi7-rpi-v8

Code: Select all

dpkg --list | grep linux-image
ii  linux-image-6.1.0-rpi6-rpi-2712      1:6.1.58-1+rpt2                      arm64        Linux 6.1 for Raspberry Pi 2712, Raspberry Pi
ii  linux-image-6.1.0-rpi6-rpi-v8        1:6.1.58-1+rpt2                      arm64        Linux 6.1 for Raspberry Pi v8, Raspberry Pi
ii  linux-image-6.1.0-rpi7-rpi-2712      1:6.1.63-1+rpt1                      arm64        Linux 6.1 for Raspberry Pi 2712, Raspberry Pi
ii  linux-image-6.1.0-rpi7-rpi-v8        1:6.1.63-1+rpt1                      arm64        Linux 6.1 for Raspberry Pi v8, Raspberry Pi
ii  linux-image-rpi-2712                 1:6.1.63-1+rpt1                      arm64        Linux for Raspberry Pi 2712 (meta-package)
ii  linux-image-rpi-v8                   1:6.1.63-1+rpt1                      arm64        Linux for Raspberry Pi v8 (meta-package)
Greetings

User avatar
dolphin_oracle
Developer
Posts: 22020
Joined: Sun Dec 16, 2007 12:17 pm

Re: Official Raspberry Pi Respin

#28 Post by dolphin_oracle »

I know the 5 uses a different kernel than the 4. Somehow the boot loader chooses what kernel to use based on a hardware check.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 23044
Joined: Wed Jul 19, 2006 6:13 am

Re: Official Raspberry Pi Respin

#29 Post by Jerry3904 »

Sure glad you answered that one...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 23044
Joined: Wed Jul 19, 2006 6:13 am

Re: Official Raspberry Pi Respin

#30 Post by Jerry3904 »

timkb4cq wrote: Mon Dec 11, 2023 7:40 pm The only thing I had to do differently was because I was already running from the nvme drive. Otherwise it was just the same as running on your RPis.
As you thought might be the case, you can't boot from the SD card if there's a system on the nvme. There is one exception - if the UUIDs of the root system on the SD card and the root partition on the nvme match, then it will boot from the SD card. So I changed the UUID on the SD card using these commands from the Orange Pi 5 running in the nvme with the sd card plugged in.

Code: Select all

sudo blkid
sudo e2fs -f /dev/mmcblk1p2
tune2fs -U "UUID of the root partition on the nvme from the first command" /dev/mmcblk1p2
Reboot and it boots off the sd card. Shut down, remove the sd card, and it boots off the nvme.
For some reason tune2fs won't change the uuid unless the sd card partition has had the e2fs -f run on it first, that's why it's in there.
I'm now trying to follow these directions and when I run the second command I get the response:

Code: Select all

sudo: e2fs: command not found
Did you install that from somewhere else or via another program?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “MX Help”