The officially official Devuan Forum!

You are not logged in.

#101 Re: Devuan » How can I run another OS from a Devuan running from a live USB stick? » 2023-07-21 19:34:36

fsmithred wrote:

If you want to install qemu, it would be easier to install it from the devuan repo instead of compiling it from source.

The lower version 8.0.3 should work:

wget https://download.qemu.org/qemu-8.0.3.tar.xz

#102 Re: Devuan Derivatives » GNUinOS - Libre » 2023-07-16 22:03:32

prospero wrote:

Both Gnuinos Chimaera (installed on hdd) and Daedalus (from the live ISO) boot fine and run great here.

I am using the 64-bit Xfce version in both cases, from the last ISO.

Thank you Aitor!

Welcome smile

I you are using Xfce, I recommend you to upgrade both usbmount and xfce4-hopman-plugin. On the other hand, I use to disable the volume management in Thunar because there are some conflicts between vdev and gvfs-daemons/udisks not fixed yet. Devices are mounted/unmounted without issues, but it seems that cancellable operations like:

g_volume_mount (G_VOLUME (device->device),
                G_MOUNT_MOUNT_NONE,
                mount_operation,
                cancellable,
                thunar_device_operation_finish,
                op);

don't receive any response and, therefore, the callback thunar_device_operation_finish -responsible for stopping the spinner when the operation finishes- is run only once the timeout has been expired, taking too long. The same goes for the umount process. And I think that this bug is related to libudev-compat.

#103 Re: Devuan Derivatives » GNUinOS - Libre » 2023-07-16 21:26:57

nparafe wrote:

Thanks for the info.
I am interested in the openbox version mainly. Are there any plans for an openbox live iso for daedalus?

Today I've updated the isos for daedalus, and the openbox version is already available.

You can configure the right-click menu by editing $HOME/.dxmenurc. Default values are:

[xmenu-config]

json_menu_path=
font=SansRegular:size=11,Verdana:size=11
background_color=#162431
foreground_color=#dddddd
selbackground_color=#00509f
selforeground_color=#e0effd
separator_color=#dddddd
border_color=#162431
width_pixels=130
height_pixels=28
border_pixels=4
separator_pixels=20
gap_pixels=6
max_items=0
alignment=0
triangle_width=6
triangle_height=10
iconpadding=2
horzpadding=10
hasicon=1

[dxmenu-xdg-config]

application_launcher=gmrun
terminal_emulator=sakura
file_manager=spacefm
web_browser=icecat
mail_client=claws-mail
logout_dialog=ulogout

Selbackground and selforeground stand selected background and foreground (the foreground color is the text color).

Shortly the ulogout dialog will provide suspend and hibernate options.

#104 Re: Devuan Derivatives » GNUinOS - Libre » 2023-07-16 21:24:33

oui wrote:
prospero wrote:

Both Gnuinos Chimaera (installed on hdd) and Daedalus (from the live ISO) boot fine and run great here.

I am using the 64-bit Xfce version in both cases, from the last ISO.

Thank you Aitor!

please look at your booting time and compare with the same time at Star/Crowz linux!

I asked you if you were using vdev with sysvinit. Please, can you give me some details about your installation?

#105 Re: Other Issues » [SOLVED] is cron daemon crond is running when there is no cronjob set ? » 2023-07-09 18:56:05

aitor wrote:
SpongeBOB wrote:

Thank you all for your reply !

Thank you that have confirmed my thinking. I'm shocked that some people can post "tutorial" without mastering a bit the topic.... Internet peoples.. big_smile

@boughtonp, oh great indeed I will use also a regex expression in grep to avoid to have the grep itself in the results.

ps aux | grep 'cron$'

Another way to avoid the unwanted expression might be using the syntax grep -v "unwanted_regex_expression". Therefore, you can avoid the grep itself as follows:

ps aux | grep "cron" | grep -v " grep "

The line containing the grep command itself is supposed to be printed at the end due to its higher pid -and then it'll be ignored thanks to the use of the regex 'cron$'-, but who knows...

#106 Re: Other Issues » [SOLVED] is cron daemon crond is running when there is no cronjob set ? » 2023-07-09 18:28:29

SpongeBOB wrote:

Thank you all for your reply !

Thank you that have confirmed my thinking. I'm shocked that some people can post "tutorial" without mastering a bit the topic.... Internet peoples.. big_smile

@boughtonp, oh great indeed I will use also a regex expression in grep to avoid to have the grep itself in the results.

ps aux | grep 'cron$'

Another way to avoid the unwanted expression might be using the syntax grep -v "unwanted_regex_expression". Therefore, you can avoid the grep itself as follows:

ps aux | grep "cron" | grep -v " grep "

#107 Re: Devuan Derivatives » Crowz 4.0 Test build Chimaera » 2023-07-04 21:12:48

oui wrote:

actually, my new system was unused. it boots in under 15 s.

Yesterday the comparable analog test with gnuinos need very more than one minute.

As because of electricity sparing because of the attack from Biden against Russia I am turning off the PC each time a go away and start new all the day of lot of times, this aspect of the use become a very important detail. Gnuinos is now dead for me, if I don´t find some way to change that...

Actually, the boot time with vdev as device manager is optimized for runit only (indead, the default init system shown by choose-init-udeb in the installer-isos), and according to my analog tests, the times recorded do not substantially differ when compared to eudev. However, I have in mind to extend this optimization for other inits, although I won't do that until august. In the meantime, if you are running gnuinos with vdev and sysvinit, I suggest that you either change the init system to runit (apt-get install runit runit-init getty-run) or that you replace the device manager with eudev (apt-get install eudev).

While I'm particularly happy with vdev, there is room to do things in the project. For example, another possible idea I'm considering is to unify both libeudev and libudev-compat in a way that the behaviour of the shared library will depend on the running device manager. It wouldn't be that complicated. But I'm aware that I made some mistakes in the past during the vdev integration that might have broken the system, and I'll ensure that it never happens again. Thanks for your patience!

#108 Re: Other Issues » runit-services: new package available ! » 2023-07-03 19:22:59

Lorenzo wrote:

Hi,

As a suggestion, you may consider using

sv check dbus || exit <some_value>

instead of

sv start dbus || true

(sv start)  is equal to (sv up + sv check), so the subtle difference is that I'm forcing the wanted status to be 'up' before the check;
as for true vs exit <some_value> I'm using the latter for hard dependency and true for soft dependency. Of course I may have wrongly set a dependency as soft instead of hard..

Ok, I understand. My thought was that sv check dbus started the service in case it was down.

Do you have a script that doesn't work for your use case? If yes please report it and I'll have a look again.

No, I haven't. Your scripts worked fine during the time I have spent testing them in daedalus. Nonetheless, if this happens, I'll let you know. Thanks!

#109 Re: Hardware & System Configuration » [SOLVED] USB LTE Stick ASRMICRO KuWfi LTE wingle not reliably connected » 2023-07-03 19:06:09

felixed wrote:

Who the hell does control the network connections?

Some dhcp client, maybe? /etc/network/interfaces is for ifupdown

#110 Re: Installation » [SOLVED] No wifi on Acer Aspire 3 » 2023-07-01 14:30:27

bill.p wrote:

I've just installed Chimeara on my new(ish) Acer Aspire 3.

It hasn't set up wifi - when I ran the install it would only recognise the wired connection, so I completed the install with that.
I want to get WiFi working for use around the house and elsewhere, but it hasn't set anything up for it.

I tried putting an entry in /etc/network/interfaces, just:
   allow-hotplug wlan0
   wlan0 inet dhcp

and rebooted, but still ip address just shows the loopback and eth0 connections.

Any suggestions?

The machine came with Win 11 on it, and when I did the Windoze setup it didn't see wifi either, but when I had completed setup I was able to turn on
Wifi and connect without any problem.

Short answer from my mobile:

   iface wlan0 inet dhcp

Your line is incomplete.

#111 Re: Other Issues » runit-services: new package available ! » 2023-06-27 21:22:42

Thanks for your work!

As a suggestion, you may consider using

sv check dbus || exit <some_value>

instead of

sv start dbus || true

in the runscript of those services that depend on dbus, like elogind and so on.

After all, this is the point of /etc/sv/dbus/check. Isn't it?

#112 Re: Installation » [SOLVED] Switching between init choices » 2023-06-27 21:01:24

Thanks Lorenzo. I thought that /lib/runit/runit-init was installed in runit-init, but it belongs to runit.

#113 Re: Installation » [SOLVED] Switching between init choices » 2023-06-27 18:26:49

I don't recommend you to change the init system from a running system next time. The already running init, whether runit-init or sysvinit, will be removed and the system won't shutdown properly. For example, it won't be able to determine the current runlevel. For this reason, I suggest you to use a live system instead.

From the live session, run the following command to determine the partitions. One sample:

liveuser@devuan:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0 756.3M  1 loop /lib/live/mount/rootfs/filesystem.squashfs
loop1    7:1    0   4.9M  0 loop /dev/metadata/hwdb
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0  93.2G  0 part 
├─sda2   8:2    0     1K  0 part 
├─sda5   8:5    0 368.8G  0 part /mnt
└─sda6   8:6    0   3.7G  0 part 
sdb      8:16   1   7.2G  0 disk 
├─sdb1   8:17   1   877M  0 part /lib/live/mount/medium
└─sdb2   8:18   1   1.4M  0 part 
sr0     11:0    1  1024M  0 rom

In this concrete case /dev/sda1 is the root partition (/) in the attached internal disk, /dev/sda5 the home partition and /dev/sda6 the swap. Mount  the root partition (i.e. the system) in /mnt with the command:

# mount --rw /dev/sda1 /mnt

bind /sys, /proc and /dev and chroot the mounted system:

# mount -o bind /sys /mnt/sys
# mount -t proc proc /mnt/proc
# mount -o bind /dev /mnt/dev
# mount -o bind /dev/pts /mnt/dev/pts
# chroot /mnt

Now you're in a chroot jail and you'll be able to use apt within the mounted system. Install sysvinit-core and runit-init will be removed automatically. In addition, you an also purge other superfluous packages like runit and getty-run:

# apt-get update
# apt-get install sysvinit-core
# dpkg --purge runit getty-run
# apt-get clean

Exit the jail and unmount the partitions:

# exit
# umount /mnt/dev/pts
# umount /mnt/dev
# umount /mnt/proc
# umount /mnt/sys
# umount /mnt

Done.

#114 Re: Devuan Derivatives » gnuinos new ISO files in https://www.gnuinos.org/mirror/daedalus/live » 2023-06-25 21:31:50

oui wrote:

QUESTION 5: how to add i386 compatibility in gnuinos?

Do you mean how to install i386 package under amd64? You need to add an extra architecture:

# dpkg --add-architecture i386

and then explicitly specify this architecture with the suffix :i386 when using the apt command:

# apt-get install <package>:i386

#115 Re: Devuan Derivatives » gnuinos new ISO files in https://www.gnuinos.org/mirror/daedalus/live » 2023-06-25 21:22:00

oui wrote:

QUESTION 3: What is the smallest and easiest application to crop videos MP4.

QUESTION 4: idem for sound files MP3?

You can ffmpeg. For example, download this video in mp4:

wget https://gnuinos.org/videos/shamsia.mp4

Note that i'm using https instead of http. The folloging command will cut the interval between 01:01 and 01:27 minutes:

ffmpeg -i shamsia.mp4 -ss 00:01:01 -t 00:01:27 -c copy output1.mp4

As a result, you will get output1.mp4

Now, one example about how to crop the result:

ffmpeg -i output1.mp4 -filter:v "crop=150:200:iw-100:0" output2.mp4

And you will get output2.mp4

You can find more examples searching the web.

#116 Re: Devuan Derivatives » GNUinOS - Libre » 2023-06-24 08:15:34

golinux wrote:

@oui . . . Again it is DAEDALUS not DEADALUS. Please edit your post above to correct. It makes it hard for users to find your feedback because the search function won't be able to find it because it is misspelled. Thank you.

@golinux: very nice theme in daedalus, you did a great job. Thank you!

#117 Re: Devuan Derivatives » GNUinOS - Libre » 2023-06-24 08:13:41

oui wrote:

daedalus i386 : is a good working debootstrap available. can it be started for the live iso to install at a destination on the hard disk (as not all PC's have all enough usb stick places)? If I assume the iso is at /dev/sdb1 and the place is a directory at /mnt/sda6/newGNUinOS/ , what is to do to build the binaries collection, and what is to do to activate it when finish on an empty USB (the place is free now!) stick bzw. build an operable ISO file to make with dd the same result?

Assuming I have understood your question, you're asking about how to install gnuinos from the live iso in a similar way than when you debootstrap the system:

https://gist.github.com/varqox/42e213b6 … filesystem  (***)

If so, below instructions (not tested) might help you.

To start with, download the iso image and create the following two folders at your home directory:

$ mkdir isoimage sqfs

As root, mount the iso image in the earlier one (extracting the iso file is that straightforward and, more often than not, you don't need any additional software):

# mount -o loop gnuinos-5.0.0-daedalus_preview-2023.06.21-xfce_i686.iso isoimage/

Now uncompress the squashfs filesystem to the latter folder:

# mount -t squashfs -o loop isoimage/live/filesystem.squashfs sqfs

At this point you can follow one by one the steps detailed in the above howto (***), but replacing the paragraph "Install base system" which consists in debootstrapping the system via debootstrap --arch amd64 stable /mnt https://deb.debian.org/debian with the command below:

# rsync -v -rlt -a sqfs/ /dev/PARTITION

This command would copy the whole lot to a separate folder in your /dev/PARTITION.

Bear in mind that you need to unmount the squashfs filesystem afterwards:

# umount sqfs/

Good luck!

#118 Re: Devuan Derivatives » GNUinOS - Libre » 2023-05-24 19:22:50

nparafe wrote:

Are there any plans for an openbox live iso for daedalus?

Yes, of course. The isos still don't exit because they require more time. I'll let you know.

#119 Re: DIY » [SOLVED] doas help, » 2023-05-24 19:14:44

zapper wrote:

This could be potentially helpful for me on any operating system as well and other people's too.

Does anyone know how to disallow the parameter that allows the user to become root?

doas -s

keeping all the power doas already has, but without allowing user to become fully root by doas -s and only that.

su must remain the same though as a huge edit and as said, the rest of doas as well.

Did you try with the following ruleset in your /etc/doas.conf?

permit zapper as root
deny zapper as root cmd /bin/bash

You can define more rules for other shells like /bin/sh, /bin/zsh, ...

#120 Re: Devuan Derivatives » GNUinOS - Libre » 2023-05-23 18:12:44

nparafe wrote:

I am using the openbox version and I am really satisfied with it. I would like to thank you for your efforts and for providing us a minimal, solid and ethical operating system.

You're welcome smile

Some issues and questions I have are:
1) I have made the installation using the live installer but selecting disk encryption failed, is this a known bug?

First of all, sorry for the delay...

No, it's not a known bug. Really, I've never done a disk encryption with d-i, and it's time to give it a try. Did you try only with gnuinos chimaera, or did you experience the same issue with the images of gnuinos daedalus on the other hand?

2) Is there any way to enable backports?

Backport don't exist so far. I'll consider to include them in the next stable release (daedalus). Thanks for the suggestion.

3) If you planning to have a more recent version of Icecat there is "Debian packaging for GNU IceCat "  which as of today has the latest version. Maybe it will work for gnuinos?

Thanks for the link, but Icecat 102.11.0 is available in daedalus since last thursday:

http://packages.gnuinos.org/gnuinos/pool/main/i/icecat/

I also updated linux-libre to version 6.1.28 and the preview images of daedalus:

https://www.gnuinos.org/mirror/daedalus/live/

#121 Re: Intergalactic Communities » Interest probing: Devuan Conference » 2023-05-16 20:14:05

If this proposal is pushed through, I'll be in Stockholm.

#122 Re: Devuan Derivatives » GNUinOS - Libre » 2023-05-14 13:27:29

Ion wrote:

How is it that with the regular ISO the systems connects automatically and with the server ISO, it doesn't?

Other images of gnuinos contain snetaid. The server iso doesn't. On the other hand, devuan images perhaps provide additional stanzas in /etc/network/inerfaces that automatically connect the system to the network as soon as the ethernet wire is plugged in. But these stanzas involve a boot delay if wired connection unppluged. Simple-netaid fixes this drawback without the need of other tools like ifplugd or netplugd.

Ion wrote:

I prefer to set my server with root and when it's production ready, tie it to the domain name and then use root permission only if necessary.
Also, I prefer to learn by doing my own BASh starting-script. Why not re-inventing the wheels when it helps having a better understanding of the wheels you're using?

That's good smile

Ion wrote:

By the way, for each installation I made, didn't check the “Console productivity” task in the installation, what does it contains?

According to its description in debian/control:   "This task installs the console-based tools available in Devuan minimal live. It includes a variety of utilities for system administration, clients for Internet protocols, programs for personal productivity and multimedia, games, and specific tools for blind users.".

The package task-console-productivity just recommends a set of packages listed in debian/control: dialog, zsh, entr, gddrescue, gdisk, htop, iftop, iotop, iw, mtr-tiny, multitail, ncdu, parted, pciutils, psmisc, sudo, time, wavemon, wireless-tools, wpasupplicant, etc. Have a look at the control file for further info.

#123 Re: Devuan Derivatives » GNUinOS - Libre » 2023-05-13 09:33:11

Ion wrote:

Edition: I've tried and it installed correctly but then, I can't use apt, there must be some problem with the repository.

If it turns out that I'm updating the repo in the meantime, it won't work correctly throughout the update process and you have to wait for a period of time before trying again.

Did you install the server iso? If so, I recommend you to beep up the wired device using ifupdown and install simple-netaid-cdk afterwards, that is the ncurses interface for simple-netaid. But don't forget to add yourself to the netaid group in order to get ubus working in simple-netaid. In doing so, you'll be able to make use of some networking tools such as wpasupplicant, ifupdown, ip, etc, without root permissions. In summary, all you need to do is:

# ifup eth0
# apt-get update
# apt-get install simple-netaid-cdk
# usermod -aG netaid $USER

Then reboot the system and run simple-netaid-cdk as a regular user.

Pay attention to your /etc/network/interfaces.

#124 Re: Other Issues » cannot load devuan.org webpage from my debian computer » 2023-05-07 19:48:08

pcalvert wrote:

It's not working for me either. However, if I disconnect from my normal internet connection and reconnect using AT&T wireless internet, then the page loads fine.

It loads in my mobile, but not in my computers.

#125 Re: Other Issues » cannot load devuan.org webpage from my debian computer » 2023-05-07 19:16:19

golinux wrote:

It's dead, Jim. Not working here either. Neither is git. This is a first iirc.

Same at me.

Board footer

Forum Software