bookworm and openmediavault

1,291 views
Skip to first unread message

Chad Hogue

unread,
Jun 18, 2023, 4:51:17 PM6/18/23
to GnuBee
Hello all, just received my Gnubee PC2 about a month ago and been playing with it trying to get openmediavault to install. After some time i figured out that firmware 6.1.1 has the debian install file (./config) Thank you for this!!!!

The Debian install is bookworm and up and running but it appears that I need OMV7 to install openmediavault. I read somewhere that the OMV file lags the Debian version by about 6 months? I've tried installing the Debian-jessie-install but it doesn't work, the checksome is not correct. I'm assuming it setup for bullseye and trying to install bookworm.

Any help is greatly or guidance is greatly appreciated.

Chad Hogue

unread,
Jun 18, 2023, 7:02:53 PM6/18/23
to GnuBee
I keep trying, still using firmware 6.1.1 and I downloaded:
and this is what the output is:

~ # chmod +x debian-jessie-install
~ # ./debian-jessie-install
Detecting connected partitions, please wait a few moments.
/dev/sda1: UUID="1a27630c-ec5d-417a-9f39-9896aebd49d3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="13ce462c-01"
/dev/mmcblk0p1: UUID="AE49-A715" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="16247487-01"
/dev/mmcblk0p2: UUID="63ed30ea-4ae5-4712-ad4e-9f3e04012171" TYPE="swap" PARTUUID="16247487-02"
/dev/sdb: UUID="9e2a04aa-7399-4fd4-a1ef-847be924b13f" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdc: UUID="ed496d2d-0c81-4fc9-8e20-8be7c14cba3f" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdd: UUID="71d083f6-4d0e-4061-8a50-b2af255dd696" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sde1: UUID="8ea849ec-ad84-4bac-9d35-b9a13f2e2e70" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="62aef54e-01"
/dev/sdf1: UUID="efa07ff7-5299-439e-b7e6-7a49035b02bd" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="62aef4f1-01"
Choose partition to install (will be formatted !!!): /dev/mmcblk0p1

/dev/mmcblk0p1: UUID="AE49-A715" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="16247487-01"
Partition will be formatted, please type CONFIRM if you agree: CONFIRM
umount: can't unmount /dev/mmcblk0p1: Invalid argument
Formatting /dev/mmcblk0p1, please wait...
mke2fs 1.46.2 (28-Feb-2021)
Discarding device blocks: done                            
Creating filesystem with 13647616 4k blocks and 3416064 inodes
Filesystem UUID: 01aac984-095e-4def-a81d-0985a67bdce6
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done  

[  185.597261] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Quota mode: disabled.
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file http://httpredir.debian.org/debian/dists/jessie/Release
Error: Command debootstrap failed.

Chad Hogue

unread,
Jun 18, 2023, 7:40:21 PM6/18/23
to GnuBee
I'm wondering if my network settings are not correct in the file. My router is plugged into the BLACK port. It does allow me to download the file.

 I modified the debian-jessie-install file as follows:
                                                                                                                                                                                                
debootstrap --arch=mipsel --include=openssh-server,ntpdate,cron,locales,udev,ca-certificates,apt-transport-https,vlan,vsftpd,mtd-utils,sudo buster /tmp/newroot httpredir.debian.org/debian || failed debootstrap

and this is what my output was:

Detecting connected partitions, please wait a few moments.
/dev/sda1: UUID="1a27630c-ec5d-417a-9f39-9896aebd49d3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="13ce462c-01"
/dev/mmcblk0p1: UUID="bce80d6a-ebe6-4333-bf8c-04065c40d560" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="16247487-01"

/dev/mmcblk0p2: UUID="63ed30ea-4ae5-4712-ad4e-9f3e04012171" TYPE="swap" PARTUUID="16247487-02"
/dev/sdb: UUID="9e2a04aa-7399-4fd4-a1ef-847be924b13f" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdc: UUID="ed496d2d-0c81-4fc9-8e20-8be7c14cba3f" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdd: UUID="71d083f6-4d0e-4061-8a50-b2af255dd696" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sde1: UUID="8ea849ec-ad84-4bac-9d35-b9a13f2e2e70" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="62aef54e-01"
/dev/sdf1: UUID="efa07ff7-5299-439e-b7e6-7a49035b02bd" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="62aef4f1-01"
Choose partition to install (will be formatted !!!): /dev/mmcblk0p1

/dev/mmcblk0p1: UUID="bce80d6a-ebe6-4333-bf8c-04065c40d560" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="16247487-01"

Partition will be formatted, please type CONFIRM if you agree: CONFIRM
[ 1574.545627] EXT4-fs (mmcblk0p1): unmounting filesystem.
Do you want to disable journaling on the selected partition (useful for SSDs) ? y

Formatting /dev/mmcblk0p1, please wait...
mke2fs 1.46.2 (28-Feb-2021)
Discarding device blocks: done                            
Creating filesystem with 13647616 4k blocks and 3416064 inodes
Filesystem UUID: 52aae89b-5671-4a7a-b995-1a745f7e9758

Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424

Allocating group tables: done                            
Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done  

[ 1579.186761] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Quota mode: disabled.
I: Retrieving InRelease
E: unknown location httpredir.debian.org/debian/dists/buster/InRelease
Error: Command debootstrap failed.
~ #

Chad Hogue

unread,
Jun 21, 2023, 4:04:55 PM6/21/23
to GnuBee
Does anyone know how to fix my issue?

Miles Raymond

unread,
Jun 23, 2023, 1:24:14 AM6/23/23
to GnuBee
Shoot, I had a long response typed out that was erased when my browser crashed.

If I understand https://docs.openmediavault.org/en/latest/releases.html correctly, then there isn't any way to get OMV running on debian 12 (bookworm?).

I have been experimenting around with compiling it following the steps outlined by GnuBeeNoob at https://groups.google.com/g/gnubee/c/CV7ifnuB0CU/m/AVF39DyqBgAJ but without success so far.

Miles Raymond

unread,
Jun 23, 2023, 1:39:05 AM6/23/23
to GnuBee
I've tried the official omv repo(s) as well as the gnubee repos:

2023-06-23 05:35:15 root@gnubee:/etc/apt/sources.list.d# cat omv*
deb [trusted=yes] https://gnubee-git.github.io/omv/ stoneburner main
deb [trusted=yes] https://gnubee-git.github.io/omv/ erasmus main
deb [trusted=yes] https://gnubee-git.github.io/omv/ omvmipsel main
deb [trusted=yes] http://packages.openmediavault.org/public kralizec main
deb [trusted=yes] http://packages.openmediavault.org/public stoneburner main
deb [trusted=yes] http://packages.openmediavault.org/public erasmus main
deb [trusted=yes] http://packages.openmediavault.org/public arrakis main
deb [trusted=yes] http://packages.openmediavault.org/public usul main
deb [trusted=yes] http://packages.openmediavault.org/public shaitan main
2023-06-23 05:35:35 root@gnubee:/etc/apt/sources.list.d# apt -y update
--- CUT ---
W: GPG error: http://packages.openmediavault.org/public kralizec InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
N: Skipping acquire of configured file 'main/binary-mipsel/Packages' as repository 'http://packages.openmediavault.org/public kralizec InRelease' doesn't support architecture 'mipsel'
W: GPG error: http://packages.openmediavault.org/public stoneburner InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
N: Skipping acquire of configured file 'main/binary-mipsel/Packages' as repository 'http://packages.openmediavault.org/public stoneburner InRelease' doesn't support architecture 'mipsel'
N: Skipping acquire of configured file 'main/binary-mipsel/Packages' as repository 'http://packages.openmediavault.org/public erasmus InRelease' doesn't support architecture 'mipsel'
N: Skipping acquire of configured file 'main/binary-mipsel/Packages' as repository 'http://packages.openmediavault.org/public arrakis InRelease' doesn't support architecture 'mipsel'
N: Skipping acquire of configured file 'main/binary-mipsel/Packages' as repository 'http://packages.openmediavault.org/public usul InRelease' doesn't support architecture 'mipsel'
N: Skipping acquire of configured file 'main/binary-mipsel/Packages' as repository 'http://packages.openmediavault.org/public shaitan InRelease' doesn't support architecture 'mipsel'
E: Some index files failed to download. They have been ignored, or old ones used instead.


Miles Raymond

unread,
Jun 23, 2023, 1:28:42 PM6/23/23
to sbphtc, gnu...@googlegroups.com
I don't have any prior experience with OMV, as GnuBee was/is my introduction to it. I suppose I should play with OMV in a VM first to see what it is like.

The limited RAM is a pretty big issue with the GnuBee, and one of my goals is to get zram compiled for GnuBee to enabled compressed in-memory swap. In my experience, zram-swap has made a huge difference in RAM-limited devices such as the rpi1, rpi0, rpi0.2, and to a less extent, rpi2 and rpi3. In my limited experience so far, the GnuBee seems to be about the performance of the rpi2 cpu, but with the limited ram of the rpi0. I think zram-swap would help a lot.

Right now, I am doing the same - managing all services manually.

On Fri, Jun 23, 2023 at 2:32 AM sbphtc <sbp...@gmail.com> wrote:
Hi!



You wrote:
If I understand https://docs.openmediavault.org/en/latest/releases.html correctly, then there isn't any way to get OMV running on debian 12 (bookworm?).

Yes!

I use OMV on a Raspberry Pi 4 with 4GB (!) and it is ... slow ...
What do you think the GnuBee2 will perfom with at least 512kb of RAM.

I use my GnuBee the manual way:
I Use Neill Brown's Image, and konfigured Samba/CFS and NFS by myself and still learning...

Peter S.

Von meinem/meiner Galaxy gesendet


Chad Hogue

unread,
Jul 9, 2023, 1:42:28 PM7/9/23
to GnuBee
I've experimented some more, I used the debian-jessie-install file and modified it slightly:

I changed the line:
       debootstrap --arch=mipsel --include=vim,openssh-server,ntpdate,cron,locales,udev,ca-certificates,apt-transport-https,vlan jessie /tmp/newroot http://archive.debian.org/debian/ || failed debootstrap

To:
       debootstrap --arch=mipsel --include=vim,openssh-server,ntpdate,cron,locales,udev,ca-certificates,apt-transport-https,vlan bullseye /tmp/newroot || failed debootstrap

Now Debian 11 installs!!!!!!!!  But I can't log in, my user name "root" and password will not let me log in.

Debian GNU/Linux 11 gnubee-n1.gnubee ttyS0

gnubee-n1 login: root
Password:

Login incorrect
gnubee-n1.gnubee login:
Login ti
Debian GNU/Linux 11 gnubee-n1.gnubee ttyS0

gnubee-n1 login:

Miles Raymond

unread,
Jul 10, 2023, 6:30:43 PM7/10/23
to GnuBee
There's a much easier way to install debian on the gnubee, now added to the doc wiki: https://github.com/gnubee-git/GnuBee_Docs/wiki/Debian
1. flash Neil's firmware from http://neil.brown.name/gnubee/
2. login with root/GnuBee
3. set up raid/storage
4. run 'config' (debian install script)

I still haven't been successful installing OMV, as I have turned my focus to getting zram working first. With only 512M RAM, judging from my experience with RPi, it will make a huge difference.

Chad Hogue

unread,
Jul 10, 2023, 7:35:01 PM7/10/23
to GnuBee
The only problem with the 'config' file is it installs the latest version of Debian, Debian 12 (bookworm), and from what I can see there isn't an install script for OMV on Debian 12. This is why I decided to install Bullseye, Debian 11, and use the OMV6 script:

If anyone has any ideas please let me know.

Thank you

Miles Raymond

unread,
Jul 10, 2023, 8:44:06 PM7/10/23
to GnuBee
That install script won't work because it depends on the packages in the OMV repository, which don't have any binaries compiled for mipsel architecture which the GnuBee uses.

Chad Hogue

unread,
Jul 11, 2023, 6:50:24 AM7/11/23
to GnuBee
OK, so in order to install OMV I need to install Debian 11 or older, correct? How do I do that? It seems everything I try, I can get Debian (XX) installed and then it asks me for username/password and nothing works.

Any guidance is greatly appreciated.

Miles Raymond

unread,
Jul 11, 2023, 11:48:27 AM7/11/23
to GnuBee
Debian 9 is the most recent version I've seen reported that successfully got OMV installed and running on the GnuBee:
The instructions have also been copied over into the GnuBee Docs wiki:

Debian 8 -> jessie -> OMV 3 -> erasmus
Debian 9 -> stretch -> OMV 4 -> arrakis
Debian 10 -> buster -> OMV 5 -> usul
Debian 11 -> bullseye -> OMV 6 -> shaitan
Debian 12 -> bookworm -> OMV 7 -> ???

I don't think anyone has been successful at getting OMV 6 installed/compiled/running on GnuBee with Debian 11. Even OMV 5 on Debian 10 seems to be unknown, as the last mention was actually a mis-matched OMV 4 on Debian 10 - https://groups.google.com/g/gnubee/c/3IpIUXEgM54

I believe that OMV 6 would need to be compiled on the GnuBee with Debian 11. I'd like to skip it and go to OMV 7 on GnuBee with Debian 12, but seeing as I can't even get a zram.ko kernel module to compile successfully, I doubt I'll have any success with a much larger project.

Beolach

unread,
Jul 12, 2023, 12:00:06 AM7/12/23
to Miles Raymond, GnuBee
On Tue, Jul 11, 2023 at 9:48 AM Miles Raymond <reuk...@gmail.com> wrote:
>
> Debian 9 is the most recent version I've seen reported that successfully got OMV installed and running on the GnuBee:
> https://groups.google.com/g/gnubee/c/CV7ifnuB0CU/m/AVF39DyqBgAJ
> The instructions have also been copied over into the GnuBee Docs wiki:
> https://github.com/gnubee-git/GnuBee_Docs/wiki/%5BHowTo%5D-Debian-9-with-OpenMediaVault-4-%7C-First-working-step-by-step-tutorial-for-everyone.-Beginner-friendly.
>
> Using https://www.debian.org/releases/ and https://docs.openmediavault.org/en/latest/releases.html for reference to decrypt silly codenames:
> Debian 8 -> jessie -> OMV 3 -> erasmus
> Debian 9 -> stretch -> OMV 4 -> arrakis
> Debian 10 -> buster -> OMV 5 -> usul
> Debian 11 -> bullseye -> OMV 6 -> shaitan
> Debian 12 -> bookworm -> OMV 7 -> ???
>
> I don't think anyone has been successful at getting OMV 6 installed/compiled/running on GnuBee with Debian 11. Even OMV 5 on Debian 10 seems to be unknown, as the last mention was actually a mis-matched OMV 4 on Debian 10 - https://groups.google.com/g/gnubee/c/3IpIUXEgM54
>

Debian 10 buster / OMV 5 is working for me. I tried to get newer OMVs
working, but I couldn't - the newer ones depend on a newer Salt, and
Salt changed their build process & I could never get it to build for
GnuBee.

> On Tuesday, July 11, 2023 at 3:50:24 AM UTC-7 Chad Hogue wrote:
>>
>> OK, so in order to install OMV I need to install Debian 11 or older, correct? How do I do that? It seems everything I try, I can get Debian (XX) installed and then it asks me for username/password and nothing works.
>>
>> Any guidance is greatly appreciated.

I used Antoine Besnier's script for OMV5:
https://github.com/abesnier/gnubee-omv4-packages/blob/master/omv5-install.sh

I didn't actually run the script directly - I read through it & ran
each command individually, w/ a few minor tweaks for myself. That
works for Debian buster / OMV 5.

>>>>>> On Friday, June 23, 2023 at 1:28:42 PM UTC-4 Miles Raymond wrote:
>>>>>>>
>>>>>>> I don't have any prior experience with OMV, as GnuBee was/is my introduction to it. I suppose I should play with OMV in a VM first to see what it is like.
>>>>>>>
>>>>>>> The limited RAM is a pretty big issue with the GnuBee, and one of my goals is to get zram compiled for GnuBee to enabled compressed in-memory swap. In my experience, zram-swap has made a huge difference in RAM-limited devices such as the rpi1, rpi0, rpi0.2, and to a less extent, rpi2 and rpi3. In my limited experience so far, the GnuBee seems to be about the performance of the rpi2 cpu, but with the limited ram of the rpi0. I think zram-swap would help a lot.
>>>>>>>

OMV 5 includes a udev rule to set 8192 md/stripe_cache_size, which on
the GnuBee triggers OOM if you have 2 or more striped MD RAIDs - see
my report here:
https://groups.google.com/g/gnubee/c/ycfcSrheZno/m/ByHzDmgDBwAJ

To resolve that I have:
# dpkg-divert --list
local diversion of /etc/udev/rules.d/99-openmediavault-md-raid.rules
to /etc/udev/rules.d.disabled/99-openmediavault-md-raid.rules


Good luck,
Beolach

Carlos Prieto López

unread,
Jan 4, 2024, 9:25:23 PMJan 4
to GnuBee
I had a similar problem when I installed buster modifying the debian-jessie-install script. I could only modify it to install buster, but afterwards I couldn't login with root. I solved it the following way:

1) after installing buster, but before rebooting, mount the partition to which is was installed
2) in that partition, edit the file etc/ssh/sshd_config (it seems that the only usable editor at this point is vi), and add
PermitRootLogin yes
3) save the file, and reboot

The problem seems that, although the password being set is the same, the ssh daemon configuration changes after jessie, so that root login is not admitted. This solves it.

If you already installed and rebooted, you can mount the partition in another computer and edit the file.

Hope it works also for your case.
Reply all
Reply to author
Forward
0 new messages