The officially official Devuan Forum!

You are not logged in.

#876 Re: Hardware & System Configuration » [SOLVED] Dual monitor configuration » 2022-03-08 05:49:27

Well, it operates on the current display, as known in the DISPLAY variable or given as command parameter, and it's typically run as the logged in user (not root) in a terminal window. I.e., open your terminal window and type the command there.

#878 Re: Hardware & System Configuration » [SOLVED] Dual monitor configuration » 2022-03-07 21:30:26

The program is xrandr, on the command line.

First just

$ xrandr

so you can see what your monitor outlets are called.

Second some configuration adjustment, e.g. like:

$ xrandr --output $mon2 --auto --right-of $mon1

which would enable $mon2 in its default resolution and logically place it top aligned to the right of $mon1.

Use man xrandr for information.

#879 Re: Documentation » Devuan GNU+Linux Command-line Installation Guide (In progress) » 2022-03-06 08:25:50

It all depends on what you include in your sysvinit concept.

The core level for sysvinit is the configuration expressed in /etc/inittab, which declares a range of different configuration of "managed services" depending on the runlevel.

The operational runlevels typically include running /etc/rc which technicaly is a core level one-shot service for starting other self-managed services via their control programs or scripts typically residing in /etc/init.d. Those control programs or scripts are expected to implement some few command line commands such as "start", "status" and "stop".

If you have sysvinit installed, this is well documented in e.g. man init, man runlevel and man insserv and their related man pages.

It may be worth to point out that the service control at runlevel transitions nowadays uses dependency driven parallelism, and the sequential boot of early millenium is abandoned. See e.g. man startpar for details.

#882 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-18 23:12:11

It's not unusal to get all sort of such problem if you happen to omit or forget to set up the virtual filesystems (esp. proc, sysfs and devpts) and device nodes in the chroot.

grub, for instance, will want to access both the disk device as a whole as well as the boot partition on that device, and it also wants that boot directory to be present on that disk device.

But you probably don't want that installation to mess with your "outside" boot so you should refrain from bind-mounting /dev. Rather you set up the appropriate device node for the target disk image under an alias name within the chroot; i.e., for example, use mknod naming it "sda" but with major/minor identifying the actual device (perhaps "sdf" for a removable, or "loop0" for a  duly set up disk image file).

#883 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:32:09

Yes, good, that's better, since GPT decorates both the head and the tail of the device.

#884 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:03:23

@Altoid, to recover an DOS partition table, you clear the first 1 Mb of the device:

# dd if=/dev/zero of=/dev/sdf bs=1M count=1 conv=notrunc

NOTE THIS IS HARMFUL TO A DISK. Make sure doubly /dev/sdf is the disk at hand.

Then run fdisk to create a DOS partition table as per post #3, create a single primary partition of type 83 starting at 2048 and ending at end.

Thereafter run fsck as per superblock advice at post #7, trying some of the discovered superblocks.

Then mount sdf1.

Might work, though it doesn't recover overwritten files of course.

#885 Re: DIY » I am in need of a particular suspend+lock script » 2022-02-13 04:37:33

You could maybe you use the -killtime and -killer

Though I'm not sure what "warn for 30 minutes" means; warn repeatedly for 30 minutes?

I suppose eg a 5 minute killer could check the time since slock start, and warn or eventually call pm-suspend?

#886 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-11 01:04:15

If it was me, I would run fdisk to set up a new partition table... I would make a dos partition table starting from scratch possibly deleting whatever entries it has, then using defaults, all on my habit of normally using the defaults for my disk partitioning.

#887 Re: Off-topic » syntax highlighting » 2022-02-04 22:08:59

I need spaces to line up the clock exactly on the centreline, tabs don't quite match.

printf "%$((COLUMNS / 2))s%s%s\n" "$(date +%H%M)" "$state" "$symbols"

Then, for the OP, I think some syntax highlighting is good some really bad; especially when it's made for dark background where I use light background.

#888 Re: Hardware & System Configuration » [SOLVED] USB refusing to connect to one device » 2022-01-25 11:02:27

The directory /etc/modbrobe.d holds files that are used by the modrobe program/command to in particular use given parameters to modules as they are loaded.

If you want to give parameters when usbcore is loaded, then you would typically make a file named usbcore.conf in that directory, and in the file write a line

options usbcore use_both_schemes=y

That line tells modprobe to use that parameter setting when loading the module.

In order to take effect, the module must first be unloaded before loaded again; the parameter setting applies at loading.

Some modules allow some parameters to be changed also for a loaded module. You would do that with a command similar to

# echo y > /sys/module/usbcore/parameters/use_both_schemes

The redirection must be done as root of course.

#889 Re: Other Issues » Why debtree wont appear in some packages in Devuan Package View ? » 2022-01-16 23:25:33

Well spotted.

Specifically that happened due to a rendering bug in debtree which now has got a local patch (and a bug report lodged against debtree)

#890 Re: Installation » How can I install Devuan to RAID? » 2022-01-16 04:08:23

Yes, you may need to run an install disk but stop before partitioning, and then use Ctrl-Alt-F2 to gain an installer shell instead.
It should be raid0 capable to let you assemble your installed system, for mounting it and chroot into it.

Though this should be rather similar to using the rescue mode... did you select the "configure raid" option in the "select root filesystem" menu, and then use the md device?

I realized I tried a raid1; I should it with try raid0 instead.

EDIT: I started to wonder about which kind of raid system you are setting up.

Basically, if any of the bootstrap files end up straddling a division line between raid0 partitions there will be grief, because those are all loaded before any raid0 support is available, using disk block addressing.

To be sure about things, you might therefore want to have a separate /boot partition outside of the raided partitions.

#891 Re: Installation » How can I install Devuan to RAID? » 2022-01-13 05:58:09

I don't have any prior experience with this, but your first post inspired me to try out a raid1 setup in qemu. Easily done, and no issues, but that in itself doesn't help you a lot smile

However since the boot reaches the initramfs prompt, it indicates that grub is happy enough, and the the issues sits with the initramfs. Specifically that the block device '/dev/md0' doesn't get set up on boot.

The first of possibilities is that you have opted for "non-standard" hotplug handling.
Did you set up something else than eudev for that?

EDIT: You may refer to the scripts in /usr/share/initramfs-tools/ to figure out what is going wrong, though that might be difficult to do without getting it started. However, at the initramfs prompt, you can mount a disk read-only and then chroot into it.

#892 Re: Installation » How can I install Devuan to RAID? » 2022-01-12 05:26:53

I'm afraid I don't have a RAID setup myself, but at a quick glance I would probably first try to follow these instructions

I.e. do that on the installer command line to begin with.
And make sure to save the configuration file(s) somewhere.

EDIT: Actually, the installer includes some functions for setting up RAID. You will need to use "expert" mode, and then in particular select the "mdcfg" option as additional component. At the partitioning stage there will then be some RAID setup options. I'm not yet totally sure how these work though.

EDIT: I'll take it back: the RAID setting up is available also with "default" mode. But you need to use the Manual option for partitioning so that you first partition the physical devices, and then use the "Configure RAID" option before finishing the partitioner.

Note that grub will only install on the one disk, which should be one of the physical disks. You may later also run grub-install onto the other disk(s) to make them separately bootable.

#893 Re: Installation » chimaera update firefox broken/ linux-image not updated » 2022-01-08 08:31:59

Thanks @Head_on_a_Stick, yes, you were right. Very good. Better now.
Back on topic.

#894 Re: Installation » Devuan takes a long time to start up » 2022-01-07 22:56:22

... I can't find a command for a 'no systemd' that allows me to show here the system boot time ...

I think the last line in /var/log/dmesg should tell you how long time the last boot up took. And /var/log/dmesg.0 would be the previous boot. And successively /var/log/dmesg.N.gz the Nth boot before that (those files are in gzipped format though).

On that line, the first  number counting from the left is a time stamp of relative time in seconds with fractions since the kernel started to, as I believe, when the "boot finished".

#895 Re: Desktop and Multimedia » [SOLVED] Android OS in qemu's virtual machine fails to in graphics mode. » 2022-01-04 19:30:22

I'm far from expert on this, but as implied from this "random" blog, maybe one should use virtio-vga-gl instead of virtio-vga,virgl=on and then gl=on.

#896 Re: Installation » install does not find wifi » 2022-01-04 06:04:23

how do you know which parameters it is using?

#897 Re: Installation » chimaera update firefox broken/ linux-image not updated » 2022-01-01 22:48:41

.. let me inflate @aitor's point a little:

Note that the pkgmaster:devuan/ directory tree comprises the forked packages only, and it is input to amprolla, for being used as "overlay" over Debian's package collection(s) into the Devuan distribution at http://deb.devuan.org/merged/, including the meta information at pkgmaster:merged/ which is amprolla's output.

I'm not totally on top of the intricacies with how the pkgmaster:devuan/ directory tree comes about and is managed; I believe it in general involves "someone" instructing "ci" to build a forked package, whose artifacts then get digested by "dak" into the initial publishing place (usually ceres). And then "britney" applies its time logic to propagate new packages from ceres into the upcoming release distribution, currently daedalus.

In my somewhat cloudy mind, chimaera-updates only holds "point release to be" packages for chimaera. Such packages has a precursor publishing point in chimaera-proposed-updates for confidence building before becoming chimaera-update packages.

Or, something like that. Someone with better insight would also be able to refer to Debian's applicable documentation regarding this.

In other words, when browsing https://pkgmaster.devuan.org/devuan you are browsing the forked packages only, and you'll need to browse https://pkgmaster.devuan.org/merged to see the meta-information (only) for the Devuan distribution repositories.

A full Devuan distribution repository is only available by browsing http://deb.devuan.org/merged, because it's a virtual directory tree that (through Devuan's web wizardry) consists of a combination of the meta information at pkgmaster:merged/, the forked packages at pkgmaster:devuan/ and (some of) the packages at http://deb.debian.org/debian/pool/... (via Debian's web wizardry applying load balancing and whatnot before landing at a stream of bytes)

#898 Re: Installation » chimaera update firefox broken/ linux-image not updated » 2022-01-01 12:42:05

Eh?

deb.devuan.org is the mirror round-robin, which ultimately resolves to any one of the package mirror hosts.

There is no devuan SSL access for those but they of course provide whatever services they want in addition to the package mirror service for "http://deb.devuan.org".

#899 Re: Installation » user datas not asked in the devuan_daedalus_5.0.preview-20211227_i386_ » 2021-12-30 10:31:33

Such bad advice! @Head_on_a Stick, did you forget which forum you are at?

#900 Re: Installation » how to clone "neutral" the in a partition existing os? » 2021-12-30 00:04:11

.. host it on (for example) GitHub ..

.. keeping in mind of course that github nowadays is a Microsoft venture ..

Board footer

Forum Software