You are not logged in.
Hello:
The kernel & headers metapackages need to install new versions of their dependencies ...
Right ...
But why has this happened with my VM Devuan ascii ...
groucho@devuan:~$ uname -a
Linux devuan 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07) x86_64 GNU/Linux
groucho@devuan:~$
... and not with my everyday rig:
groucho@devuan:~$ uname -a
Linux devuan 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07) x86_64 GNU/Linux
groucho@devuan:~$
ie: what difference is there between them that causes those packages to be kept back? <- which was the reason for my OP.
There's more ...
EDIT:
It seems that between running apt-get update and apt-get upgrade on my rig and then doing the same on the VM used for the USB plug, the repos were updated.
So it looked like two different update/upgrade processes were taking place.
ie: one machine did it on the repos just before they were updated and the other just after they were updated.
Just what are the chances? 8^D
Thanks a lot for your input.
Cheers,
A.
Hello:
I was in the process of updating/upgrading a Devuan image I burn to a USB plug as an emergency recovery tool.
groucho@devuan:~$ uname -a
Linux devuan 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07) x86_64 GNU/Linux
groucho@devuan:~$
The image was built with refracta snapshot 10.2.4 (20190713).
It is supposed to live inside the box, plugged into a USB socket on the MB but I've been sloppy lately so it is outside and not updated.
But I digress ...
On starting the process I came across this:
---
groucho@devuan:~$ sudo apt-get update
[sudo] password for groucho:
Get:1 http://deb.devuan.org/merged ascii InRelease [25.6 kB]
Get:2 http://deb.devuan.org/merged ascii-security InRelease [25.6 kB]
Get:3 http://deb.devuan.org/merged ascii-updates InRelease [25.6 kB]
Get:4 http://deb.devuan.org/devuan ascii-proposed InRelease [54.5 kB]
Get:5 http://deb.devuan.org/merged ascii-backports InRelease [25.6 kB]
Get:6 http://deb.devuan.org/merged ascii/main amd64 Packages [7198 kB]
Get:7 http://deb.devuan.org/merged ascii/contrib amd64 Packages [50.8 kB]
Get:8 http://deb.devuan.org/merged ascii/non-free amd64 Packages [78.8 kB]
Get:9 http://deb.devuan.org/merged ascii-updates/main amd64 Packages [3504 B]
Fetched 7488 kB in 9s (767 kB/s)
Reading package lists... Done
groucho@devuan:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-headers-amd64 linux-image-amd64 <------------ this
The following packages will be upgraded:
glib-networking glib-networking-common glib-networking-services libcups2 libgnutls30 libneon27-gnutls libopenjp2-7 libperl5.24
linux-compiler-gcc-6-x86 linux-kbuild-4.9 nfs-common perl perl-base perl-modules-5.24 tzdata wpasupplicant xdg-utils
17 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 12.6 MB of archives.
After this operation, 63.5 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Makes me wonder because I have linux-headers-amd64 and linux-image-amd64 as essential.
¿Why are these packages being kept back?
¿Is there some application that would break if forced the upgrade?
If so, ¿how can I find out which one?
Thanks in advance,
A.
Hello:
Another option is using CUPS.
+1
When (in a hurry) I purchased a M2020W, the only thing that worked almost right away (Devuan 2.0 ascii) was CUPS.
No issues since.
Cheers,
A.
There is another distro?
No ...
Not really. 8^7
Don't know all I can do with just one, what would I want two for?
A.
Hello:
... couldn't log into 'X' after rebooting ...
... been running 'xfce' for a week ...
So the rig was working perfectly well until "adding printer driver for a Brother laser printer"?
If so, maybe it is just the old and well known cause -> effect mechanism doing it's thing here.
Q: Just where did the driver come from?
any advice?
1.
Scan through dmesg for errors and see what /var/log/Xorg.0.log has to say about X not starting.
2.
Try seeing if there's something missing, as root do:
# apt-get install -f
Please post back results.
Cheers,
A.
Hello:
... please note that Devuan ships with an unmodified Debian kernel.
... a mainline LTS kernel with very few patches ...
... *does not* support any of the RPI boards.
Ahh ...
Petit dètail.
... don't see any sound way for providing any sound RPI support in Devuan.
I understand.
... build some kind of "Respuan" ...
... all the RPI-specific stuff but uses Devuan ...
I've not seen anything like that.
Where does the Raspbian kernel come from?
How do the Ubuntu people do it?
Surely they are both Debian based.
... package a kernel for the RPI boards and then build installation images ...
Indeed ...
But like you say, no generic kernel. 8^7
... images with a kernel that is not packaged and receives no security updates ...
Of course, I agree 100%, it is a false sense of security.
I was trying to make a point.
Thanks for your input.
A.
Hello:
... as the packaged Devuan kernel is not working for the RPI, I don't see much value ...
... images with a "hardcoded" kernels are definitely not what you want ...
... false sense about security of such systems ...
... with no kernel updates forever.
From where I stand ie: not a coder or developer, just a 65+ advanced (?) user, what you say makes a lot of sense.
But I also believe that it makes sense to take into account that for Devuan, which has a hard time as things stand, things won't get easier if it has no access to or ignores SBC hardware such as RPis of which over 35 million have been sold.
These inexpensive SBP are the entry point to IT for a great many people who maybe cannot afford something else, just want to play and see what it is like or just need an inexpensive solution to a small and simple problem.
And if you leave it all to Raspbian, you will have lost a lot of potential users many of which may eventually become IT staff or pros ie: just the people Devuan needs to survive in the future.
I'm afraid that spawning dozens of derivatives will not be enough.
The Devuan project is not just a distribution, it also represents a core philosophy (Unix) or an ideology if you will.
Exactly the opposite of what mainstream MS software represents today.
It urgently needs to develop a strategy to occupy the RPi field or get permanently pushed out of it.
Just another point of view and as always, YMMV.
Cheers,
A.
Hello:
... for rpi 3B+ its the only arm64 image ...
I thought so.
... but you can dist-upgrade it to beowulf.
I tried (just to test it) but it did not do anything because of the system lacking the proper entries in /etc/apt/sources.list.
Maybe when Beowulf reaches old-stable.
... they are not mainlined.
... are always behind.
I understand.
But I don't want the mainline version, just the last stable one.
Thanks a lot for taking the time to explain this.
Best,
A.
Hello:
Search the kernel image in the list of installed packages.
While my WS ascii installaton gets me this ...
groucho@devuan:~$ apt list --installed | grep -i linux-image
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
linux-image-4.9.0-12-amd64/oldstable-security,now 4.9.210-1+deb9u1 amd64 [installed,automatic]
linux-image-amd64/oldstable,now 4.9+80+deb9u10 amd64 [installed]
groucho@devuan:~$
... my RPi installation (image) gets me this:
pi@rpidevuan:~$ apt list --installed | grep -i linux-image
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
pi@rpidevuan:~$
Please explain as I'm not getting the point.
Thnaks,
A.
Hello:
... official RPi images never got kernel updates.
No idea ...
Is there/would there be a reason for that?
Did that change now?
As I noted previously, there's only one image for the RPi3 and it is 12 major revisions behind.
A.
Hello:
... and several for ascii for rpi's..
There's only one (have I missed something?) image for RPi3 and it is from 2 years ago.
Would it be the same as an image of the last/latest Devuan ascii 2.1 old-stable?
This is what I have installed on my RPi +B+ now:
pi@rpidevuan:~$ uname -a
Linux rpidevuan 4.16.14-v8+ #1 SMP PREEMPT Tue Jun 5 18:50:10 CEST 2018 aarch64 GNU/Linux
pi@rpidevuan:~$
This is what I have on my up-to-date Devuan ascii rig:
groucho@devuan:~$ uname -a
Linux devuan 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07) x86_64 GNU/Linux
groucho@devuan:~$
If I counted (toes/fingers) correctly, it (4.16) is 12 major revisions behind.
A.
Hello:
... probably a million or two RPi users ...
Apparently, there's been more than 30 million RPis sold (of various models) but the Raspberry people do not support anything that's not Raspbian or Ubuntu:
It's not supported on here. The OS on here is Raspbian complete with the full-fat systemd wonderfulness. I'd guess that 99.999% of folks on the forum a) won't know what Devuan is, b) won't know why they'd swap from Raspbian and c) have no problems with systemd (and any quirks it may possess).
... without an image to just dd to an SDHC card, I doubt that you will get much interest from them.
At least for them to try and see what it is about.
Devuan won't get very far RPi wise without at least that.
Like I mentioned earlier, the only available version is ascii from two years ago and Beowulf is still too new and from what I am seeing, not without a few teething issues.
An old-stable Devuan ascii image would be a good thing to have.
A.
Hello:
... want net install images, but the RPi brigade ...
Brigade?
Not that I know much about this, but from what I have read, a brigade is composed of ~3 batallions and this could be from 2000 to 8000 troops.
From the amount of RPi traffic I've seen there at Dev1G, I doubt we have a squad, ie: 7 to 14 troops.
That said, if not a netinstall, now that it is old-stable, at least the latest ARM Build Devuan ascii 2.1 image would be very nice to have at hand.
The one available for download is over two years old (06-Jun-2018).
A.
Hello:
... both apparmor-utils and dh-apparmor.
Right.
... install NSCD and what do you know:
apparmor started to work.
43 profiles are loaded. 43 profiles are in enforce mode. ... 0 profiles are in complain mode. 1 processes have profiles defined. 1 processes are in enforce mode. /usr/sbin/nscd (3725) 0 processes are in complain mode. 0 processes are unconfined but have a profile defined.
The "0 processes are unconfined ...
... suggests that everything other than nscd does not have a profile at all.
So the problem was not in apparmor but in how you have to configure it.
Right?
Glad you managed to get it to work.
See?
Wasn't that hard.
Lack of designed maintainer and all.
Cheers,
A.
Hello:
Looks like the topic title is on point ...
I beg to differ.
Not having a designated maintainer is not the same as support being a joke.
There could be/are many reasons for not having a maintainer.
Everything seems to be enabled, just not working:
Jun 7 22:54:14 devuan kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/devuan/root.subvol/boot/vmlinuz-4.9.0-6-amd64 root=UUID=d7e92d18-e57a-4d4a-9f7e-e9301fa4c16e ro rootflags=subvol=devuan/root.subvol quiet apparmor=1 security=apparmor Jun 7 22:54:14 devuan kernel: [ 0.008000] AppArmor: AppArmor initialized Jun 7 22:54:14 devuan kernel: [ 0.213838] AppArmor: AppArmor Filesystem Enabled Jun 7 22:54:14 devuan kernel: [ 0.404639] AppArmor: AppArmor sha1 policy hashing enabled Jun 7 22:54:14 devuan kernel: [ 11.708360] audit: type=1400 audit(1591563247.192:2): apparmor="STATUS" operation="profile_load" name="ping" pid=1544 comm="apparmor_parser"
Right.
Everything seems fine:
apt-get install -f --dry-run Reading package lists... Done Building dependency tree Reading state information... Done
... how to associate programs with AppArmor profiles.
... apparmor-profiles and apparmor-profiles-extra ...
I have seen more than one application with no apparent dependency issues eg: apt-get install -f not installing anything but they would still not work because an unlisted dependency was (obviously) not installed.
These are the apparmor related (by name) packages that show up in synaptic:
apparmor-easyprof
apparmor-notify
apparmor-utils
dh-apparmor
See if installing these changes anything, especially apparmor-utils and dh-apparmor.
Then check these sites:
https://apparmor.net/
https://medium.com/information-and-tech … 4d7ae211ed
Cheers,
A.
Hello:
There is, and:
cat /proc/cmdline BOOT_IMAGE=/devuan/root.subvol/boot/vmlinuz-4.9.0-6-amd64 root=UUID=d7e92d18-e57a-4d4a-9f7e-e9301fa4c16e ro rootflags=subvol=devuan/root.subvol quiet apparmor=1 security=apparmor
I see.
Looking for apparmor bug reports I found this:
Devuan bug report logs: bugs in source package apparmor
There is no maintainer for apparmor. This means that this package no longer exists (or never existed). Please do not report new bugs against this package.
Notwithstanding, apparmor would seem to be available as a package for Devuan ascii.
Much to my chagrin, this is as far as I can go with this as it is rather above my pay grade, so to speak and like I mentioned in my first post, I only once had an issue with apparmor showing up on my dmesg, which took me to learn that apparmor was disabled in Devuan ascii and that was it as I was not interested in enabling it.
There has to be a trace of this somewhere in your system logs.
eg: in my case, I get this output in /var/log/syslog: (same in /var/log kern.log and /var/log/messages)
~$ cat /var/log/syslog | grep -i apparmor
--- snip ---
[ 0.010665] AppArmor: AppArmor disabled by boot time parameter
~$
There is also the remote possibility of a missing dependency.
~# apt-get install -f --dry-run
Check to see what it says and post back.
I'm sure someone knows much more than me about this.
Cheers,
A.
Hello:
I've downed an entire barrel of it already!
Right ...
Seems to have worked.
Good sport! ;^ )
... read through both of that ...
... skipping the Ubuntu ...
Good.
... what the first reboot was for in my original post.
I see.
Please have a look at /etc/default/grub.d/apparmor.cfg:
~$ cat /etc/default/grub.d/apparmor.cfg
There should be a line like this one:
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=1 security=apparmor"
Cheers,
A.
Hello:
... furious ...
Hmmm ...
How about taking two or three cups of chamomile tea? 8^7
---
... unable to setup Apparmor in Devuan Ascii:
... had to(!) reboot ...
... had to(!) reboot for a second time ...
... still reports that everything is unconfined.
Hmm ...
Tsk, tsk.
Seems you are having a hard time.
How does one setup Apparmor ...
Try this:
$~ man apparmor
Or this.
Particularly the part that says this: (because ASCII = Stretch < Buster)
Enable AppArmor
If you are using Debian 10 "Buster" or newer, AppArmor is enabled by default so you can skip this step. <- if you are running Devuan ASCII, you don't get to skip it.The AppArmor Linux Security Modules (LSM) must be enabled from the linux kernel command line in the bootloader:
$ sudo mkdir -p /etc/default/grub.d $ echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=1 security=apparmor"' \ | sudo tee /etc/default/grub.d/apparmor.cfg $ sudo update-grub $ sudo reboot
Now ...
Take a couple of deep breaths and once you are your usual calm self, carry on and try again.
There's far too much BS going on in the world now to get so furious over a nothing. ie: don't be a dick.
Especially on a Sunday night.
Cheers,
A.
Hello:
... Devuan image doesn't have the USB drivers built in ....
Does this have a way around it?
No one?
Thanks in advance,
A.
Hello:
... old 360W Sun Microsystems PS that puts out +5V/30A ...
Seems there aren't too many RPi users here.
Done.
Powering the RPi and the external IDE HDD from a +5V/30A (obviously over spec'd) did not cause any issues whatsoever.
Nor did I get any over-current change lines in dmesg.
So ...
One of two things: either the wall wart PS I normally use for my RPi 3B+ does not provide a solid +5V/5.1A max or the sum of the RPi and HDD powering up at the same time pulls a bit more power that than for around 1.5s.
A.
Hello:
Any ideas?
Still trying to figure this out.
From what I have read at the RPi forunm, the over-current change output in dmesg is directly related to an underpowered power supply but one thing that sort of stumped me was finding that some people having this issue has official RPi power supplies.
It seems that what is happening here is this:
Getting the over-current change line in dmesg when the external HDD is connected to one of the power supply's USB ports leads me to think that the PS is indeed underpowered, but then the RPi does complete the boot process as if nothing had happened.
If I had not looked throught the dmesg output, I would not have been the wiser.
Like I mentioned before, there have been no indications of power issues: no red light blink or on-screen warnings, even when overclocked and running a severe stress test.
But then, not getting the over-current change line in dmesg when the external HDD is powered from one of the RPi's USB ports sort of does away with the underpowered PS theory.
So, what's up?
I think that the PS is on the edge of being underpowered and having both the RPi and the external HDD draw power at the same time pushes it over that edge for a bit less than 1.5s ...
pi@rpidevuan:~$ sudo dmesg | grep current
--- snip ---
[ 3.194560] usb 1-1-port3: over-current change <--- first over-current event
--- snip ---
[ 4.570348] usb 1-1.1-port3: over-current change <--- last over-current event
--- snip ---
pi@rpidevuan:~$
... but then recovers as soon as the HDDs spin-up current draw, which could be up to and even over 1.0A, is gone.
And it is for such as short time that the RPi does not throw any warnings.
Powering the HDD from one of the RPi's USB ports has the RPi powering up before it powers up the HDD (1s, 2s?), so then there's no simultaneous power draw from the RPi and the HDD.
I am hacking up an old 360W Sun Microsystems PS that puts out +5V/30A to make a bench power source and will see if I can reproduce the over-current issue while powering the RPi and HDD from there.
Any ideas?
Cheers,
A.
Hello:
I gave up on Raspbian and managed to get the coffee roasting sofware on the RPi3B+ Devuan installation.
Ok, care to try sumfin for me ??
Sure ...
root@rpidevuan:/home/pi# echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"' > /etc/udev/rules.d/10-vchiq-permissions.rules
root@rpidevuan:/home/pi#
root@rpidevuan:/home/pi# echo 'SUBSYSTEM=="vcio",GROUP="video",MODE="0660"' >> /etc/udev/rules.d/10-vchiq-permissions.rules
root@rpidevuan:/home/pi#
root@rpidevuan:/home/pi# echo 'SUBSYSTEM=="vc-mem",GROUP="video",MODE="0660"' >> /etc/udev/rules.d/10-vchiq-permissions.rules
root@rpidevuan:/home/pi#
Done.
Rebooted and logged into SLiM without any issues.
And see if it works.
pi@rpidevuan:~$ /usr/bin/vcgencmd measure_temp
temp=32.7'C
pi@rpidevuan:~$
It did.
Thanks. =-)
Cheers,
A.
Hello:
While looking through the dmesg output of the Devuan ascii 2.0.0 ARM64 instalation on my RPi3B+, I came across this bit:
pi@rpidevuan:~$ sudo dmesg | grep current
--- snip ---
[ 3.194560] usb 1-1-port3: over-current change
[ 3.410266] usb 1-1-port4: over-current change
[ 3.746362] usb 1-1-port2: over-current change
[ 4.357932] usb 1-1.1-port2: over-current change
[ 4.570348] usb 1-1.1-port3: over-current change
--- snip ---
pi@rpidevuan:~$
I don't know what this entails ie: it is not a warning or an error and it seems that everything is working properly, specifically access to the HDD where everything but the /boot partition is.
The external IDE HDD is powered through a cable that plugs into one of the charging ports of the power supply I use for the RPi, a second charging port is for the RPi itself and a third one is vacant.
There are no indications of power issues: no blinking red light or on-screen signs, even when overclocked and running a severe stress test.
But I don't want to risk the thingy's power system.
Curiously enough, if I plug the HDD's power cable into one of the RPi's own USB sockets, not only does everything work properly but there is no trace of the over-current change line in dmesg.
pi@rpidevuan:~$ sudo dmesg | grep current
pi@rpidevuan:~$
I'd leave things as they are but I do need to have that last USB port available on the RPi for my coffee roasting data logger.
The other USB ports are for kb and mouse and while bluetooth kb+mouse would be an option, I's rather not have to do it.
Any ideas?
Thanks in advance,
A.
Hello:
... Devuan image doesn't have the USB drivers built in ....
You were exactly right ... =-)
Size or FAT16/32 does not matter.
I can start to boot with a 128Mb or 256Mb partition, either FAT16 or FAT32.
But it always stops here:
eg: 128Mb FAT16
--- snip ---
[ ] sd 0:0:0:0 [sda] 3970048 512-byte logical blocks: (2.03GB/1.89GB)
[ ] sd 0:0:0:0 [sda] Write Protect is off
[ ] sd 0:0:0:0 [sda] No Caching mode page found
[ ] sd 0:0:0:0 [sda] Assuming drive cache: write through
[ ] sda: sda1 sda2
[ ] sd 0:0:0:0 [sda] Attached SCSI removable disk
_
Does this have a way around it?
Thanks in advance,
A.
Hello:
... Devuan image doesn't have the USB drivers built in ...
I'm not too clear on how the boot process in ARM64 works.
I've always been on x86/x86_64 ie: w/BIOS booting
But like you, I don't think it is a size issue but cannot rule it out.
Found this:
I have upgraded three RPS 3B+ now and can tell, in all cases there were crashes during the installation process. Then I resized the boot partition to 240 GB and had no more problems.
Resizing the FAT partition with GParted is tricky: you must
1. backup the files in /boot
2. reformat the partition as ext4
3. resize and move both partitions
4. reformat the first partition to FAT32
5. relabel the partition to boot
6. restore the files from the backupSounds scary, but this worked for me.
Here it is most probably a question of the size of the partition vs. the size of the update.
One would think that in a properly packaged upgrade, instead of a crash, some script would check that the update would actually fit the partition.
But I digress.
Thinking that the problem is probably in the type of partition and not the size, I had a look at their main characteristics.
I burned different images for Raspberry Pi 3B + on an SDcard and did blkid, parted -l and fdisk-l on each to compare the results:
1. devuan_ascii_2.0.0_arm64_raspi3.img
blkid
/dev/sdf1: SEC_TYPE="msdos" UUID="EEA4-304A" TYPE="vfat" PARTUUID="ac806f8a-01"
/dev/sdf2: UUID="589c7999-62be-47ac-8847-32b62fd9fdc9" TYPE="ext4" PARTUUID="ac806f8a-02"
parted -l
Model: Generic Mass-Storage (scsi)
Disk /dev/sdf: 2033MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 135MB 134MB primary fat16 boot, lba
2 135MB 1983MB 1848MB primary ext4
fdisk -l
Disk /dev/sdf: 1.9 GiB, 2032664576 bytes, 3970048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xac806f8a
Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 2048 264191 262144 128M c W95 FAT32 (LBA)
/dev/sdf2 264192 3872767 3608576 1.7G 83 Linux
2. 2020-02-13-raspbian-buster-lite.img
blkid
/dev/sdf1: LABEL="boot" UUID="4BBD-D3E7" TYPE="vfat" PARTUUID="738a4d67-01"
/dev/sdf2: LABEL="rootfs" UUID="45e99191-771b-4e12-a526-0779148892cb" TYPE="ext4" PARTUUID="738a4d67-02"
parted -l
Model: Generic Mass-Storage (scsi)
Disk /dev/sdf: 2033MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 273MB 268MB primary fat32 lba
2 273MB 1850MB 1577MB primary ext4
fdisk -l
Disk /dev/sdf: 1.9 GiB, 2032664576 bytes, 3970048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x738a4d67
Device Boot Start End Sectors Size Id Type
/dev/sdf1 8192 532479 524288 256M c W95 FAT32 (LBA)
/dev/sdf2 532480 3612671 3080192 1.5G 83 Linux
3. LibreELEC-RPi2.arm-9.2.1.img
blkid
/dev/sdf1: LABEL="BOOT" UUID="22BD-E464" TYPE="vfat" PARTUUID="08de5300-01"
/dev/sdf2: LABEL="RECALBOX" UUID="9c7b2218-a4be-431c-900c-733cb0382b28" TYPE="ext4" PARTUUID="08de5300-02"
/dev/sdf3: LABEL="SHARE" UUID="e5113429-80b8-4347-bd0d-802da4c4726e" TYPE="ext4" PARTUUID="08de5300-03"
parted -l
Model: Generic Mass-Storage (scsi)
Disk /dev/sdf: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 512B 67.1MB 67.1MB primary fat32 lba
2 67.1MB 2215MB 2147MB primary ext4
3 2215MB 31.9GB 29.7GB primary ext4
fdisk -l
Disk /dev/sdf: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x08de5300
Device Boot Start End Sectors Size Id Type
/dev/sdf1 1 131072 131072 64M c W95 FAT32 (LBA)
/dev/sdf2 131073 4325376 4194304 2G 83 Linux
/dev/sdf3 4325377 62333951 58008575 27.7G 83 Linux
It was parted -l that showed me what the real difference was:
1. Devuan ascii 2.0.0
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 135MB 134MB primary fat16 boot, lba
2. Raspbian Buster-lite
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 273MB 268MB primary fat32 lba
3. LibreElec 9.2.1
Disk Flags:
Number Start End Size Type File system Flags
1 512B 67.1MB 67.1MB primary fat32 lba
In Devuan ascii the first partition is primary fat16 boot, lba.
But while in the other two Raspbian/Debian based images the first partition is also primary and lba, it is fat32 and does not have the boot flag set.
Any one with more experience in these matters care to pitch in?
The RPi 3b+ with the OTP bit set (now by default) allows more flexibility in that instead of booting only from the SDCard slot, it will first try to boot from an SDCard and if there's no boot system there, from a USB slot.
It would be great if the Devuan ARM64 images could take advantage of this feature.
Thanks in advance,
A.