You are not logged in.
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.
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
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.
@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!
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!
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.
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, ...
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
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:
If this proposal is pushed through, I'll be in Stockholm.
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.
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
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.
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.
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.
It's dead, Jim. Not working here either. Neither is git. This is a first iirc.
Same at me.
after the eventfs integration things have changed (for some reason only under 64 bits)
Solved!
It's working in x86 as well
The origin of the issue was in the lines 85-92 of inode.c when the flags verify_discipline and EVENTFS_VERIFY_INODE are enabled:
if( verify_discipline & EVENTFS_VERIFY_INODE ) {
if( pstat_is_deleted( proc_stat ) || inode_sb.st_ino != sb.st_ino ) {
eventfs_debug("%d: Inode mismatch: %ld != %ld\n", pstat_get_pid( inode->ps ), inode_sb.st_ino, sb.st_ino );
return 0;
}
}
The function:
static int eventfs_dir_inode_is_created_by_proc( struct eventfs_dir_inode* inode, struct pstat* proc_stat, int verify_discipline );
tries to determine whether or not the given directory /dev/metadata/udev/events/serial/libudev-$CLIENT_PID-$monitor_slot has been created by the given process (i.e. the libudev client). Otherwise, the aforementioned directory will be tagged as garbage, and thus, removed by the garbage collector in the eventfs filesystem.
However, even if the directory has been created by the given process, inode numbers may change and the above comparison cannot be considered as an absolute rule. Moreover, inode numbers always changed for me under 32 bit (It seems that Jude Nelson did all of his labs in x86_64). Therefore, I by-passed these lines in the code of inode.c, comparing only other attributes like the size, the path, the starttime, and so on.
I've updated the isos again.
I am planning to install again from the latest Chimaera ISO, but I was wondering whether there is a way to include these modifications through a system upgrade.
System upgrades from vdev worked for me, but in this case it's very likely that the upgrade process will require a reboot in between to get the mouse and keyboard working again, after which you'll need to type `dpkg --configure -a` and then finish the process with another `apt-get dist-upgrade`.
To avoid this workaround I recommend to change to eudev before the system upgrade, that is:
# apt-get install eudev
Reboot, and upgrade the system:
# apt-get dist-upgrade
And then restore vdev if you wish once the upgrade process has been carried out:
# apt-get install vdev
Hope this helps.
Thanks to the recent eventfs integration in libudev-compat and vdev, Xorg can now make use of the libudev support available in the kernel (CONFIG_DEVTMPFS) that has been disabled in the ServerFlags Section of Xorg via:
Section "ServerFlags"
Option "AutoAddDevices" "off"
Option "AllowEmptyInput" "on"
EndSection
in all the previous versions of gnuinos to not use libudev, in a way that no input devices were being added from the udev backend. Otherwise, mice and keyboards didn't respond during the X sessions.
It happened that the uevent files pushed to /dev/metadata/udev/events as explained here:
https://www.gnuinos.org/libudev-compat/
were consumed by all the libudev clients, but Xorg. However, after the eventfs integration things have changed (for some reason only under 64 bits), and now the behavior of the pointer is much better in both virtual machines and touchscreens. I've also been able to enable/disable tap to click on the touchpad either via xinput and synclient (synaptics), and my Wacom Pen Tablet is recognized by Gimp. However, the libudev compatibility still doesn't work in 32 bits and I need to use the config snippet mentioned above to get the mouse and keyboard working thanks to obsolete drivers. Although the uevents are being consumed, input devices don't work if I enable udev in the server flags.
I've updated all the isos of gnuinos chimaera today.
I just noticed there is a new Chimaera live iso from two days ago.
Yes, last weekend I improved usbmount, an alternative to udevil without suid permissions, used by hopman. On the other hand, there were some glitches related to the eventfs integration in libudev-compat (vdev), but I think that I succeded fixing them today because I tested different udev monitors running at the same time while provoking a lot of udev events for several minutes straight, and none of them crashed. Hence, today I decided to update the isos once again.
The last install with the previous iso eventually went to frozen mode, so I decided to try my luck with the Daedalus Xfce 64-bit iso instead, which has been working just fine for now. Probably because of the time elapsed Because Daedalus is the current testing version, "$ sudo apt update" is complaining about a missing release files. All upgrades went fine, of course.
Perhaps you'll find gnuinos daedalus more stable because it ships with eudev, for the time being at least, as opposed to chimaera. However, if you aren't familiar with vdev or you prefer the earlier device manager in chimaera, you can always change to it (or vice versa) via apt if you wish:
# apt-get install eudev
Packages like vdev, libudev-compat, libudev-compat-helpers, libudev-compat-dev, udevadm-compat... wil be removed from the system, of course.
Hello, Gnuinos world. I just realized that there is a freshly baked ISO available. Was testing Chimaera Xfce 64-bit, great experience: 380MiB RAM with a complete DE.
Hi, prospero... First of all, thanks for your comments in the Trisquel forum.
I ran into the missing /dev/mapper/gnuinos--vg-root error when I tried to install with LVM, so I did without LVM and everything went fine. Also, is there a trick to get the installer to format to XFS? It would not, so I used EXT 4 instead. That was with the previous 2023-03-11 image, though.
Let me check both cases. I did some lvm partitioning time ago in order to test hopman, but I guess that it was under devuan with eudev as device manager. Give me some time and I shall let you know the results of my enquiries, thanks
Thank you dzz
sudo apt purge *pulseaudio* will remove bt-reload-headphones* gstreamer1.0-pulseaudio* paprefs* pulseaudio* pulseaudio-equalizer* pulseaudio-module-bluetooth* pulseaudio-module-gsettings* pulseaudio-module-zeroconf* pulseaudio-utils* pulseeffects* quodlibet* task-xfce-desktop* xfce4* xfce4-pulseaudio-plugin*
I want to keep xfce4 and quodlibet. Is there a more surgical command?
Try with dpkg, instead of apt (sorry, but I'm not in xfce right now):
# dpkg --purge pulseaudio
I think that the package depending on pulseaudio is the one provided by tasksel, i.e. task-xfce-desktop, but not the whole xfce desktop environment, which can be installed without the tasksel package. Good luck.
Maybe you'll need to install bluez-alsa, but i'm not familiar with it.
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone',1
So, the controls are there. They should be shown by alsamixer then.
What's the output of
$ amixer -c 0 scontrols
You can try your luck with higher card numbers, for example -c 1
Did you try with alsa?
I built live-boot packages with the fix and put them here for people to use until debian builds them. I really hope we don't have to fork live-boot for this.
https://sourceforge.net/projects/refracta/files/tools/live-boot, live-boot-initramfs-tools and live-boot doc all from 2022-12-16.
So do I: