guysoft / RealtimePi

An out-of-the-box raspebrrypi/raspbian distro with a realtime kernel
GNU General Public License v3.0
163 stars 25 forks source link

questions: image size, apt upgrade, multiple kernels #32

Open jk987 opened 2 years ago

jk987 commented 2 years ago

Hi, it's me again. I'm still trying your distro/kernel and I have couple questions.

(1) When I download some of your releases then the zip file has about 0.5 GB. Unzipped image has slightly more then 2 GB so I can't put it on 2 GB SD card. (Don't laugh at me, one of my SD cards is really so small.) When I dd the image to SD card then the files on disk take only about 1.3 GB. Is it possible to create smaller images then 2 GB? But this one is not very important.

(2) I'm linux beginner, let's say "average user". What happens if I run "apt update && apt upgrade" in your distro? I guess some of your files will be overwritten by orginal raspbian. I confess that I tried it and my python application using SPI communication stopped working correctly. So I had to return back to your image.

(3) Is it somehow possible to start with original Rasbian and put your kernel on the same SD card (same filesystem) and to switch between them? What files are different in your kernel? I guess it is /boot and /usr/lib/modules but I'm not sure.

guysoft commented 2 years ago
  1. I am afraid I don't have time for that. I warmly recommend you get a new SD card, not only for the extra space, but also because it would be faster. A 16GB class A1 sandisk 10 sd card is $5 ATM.
  2. It should update all the packages on the image to the latest, it should not update the kernel, but I am not 100% sure. If you have something that broke then paste the error, also use uname -a to confirm your kernel didn't change.
  3. Yes, there current kernel is just a deb package as stated in the release: https://github.com/kdoren/linux/releases/tag/5.10.35-rt39 Release: https://github.com/guysoft/RealtimePi/releases/tag/0.5.0

You can also try @kdoren 's newer package and report here if it does anything better.

The network settings and stuff like that wont work on stock RaspeberrypiOS (formally known as Raspsbian).