The officially official Devuan Forum!

You are not logged in.

#901 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.

#902 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.

#903 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.

#904 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.

#905 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".

#906 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.

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

how do you know which parameters it is using?

#908 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)

#909 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".

#910 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?

#911 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 ..

#912 Re: Off-topic » Happy Holidays & Merry Christmas » 2021-12-28 05:56:20

I would have thought that the belief component in this fabulously interesting discussion would be regarding the note-worthiness of certain days or not rather than whether postulated astronomical situations happen to arise or not.

#913 Re: Installation » New Chimaera install /home Problem » 2021-12-19 09:57:23

Note that @Head_on_a_Stick jumped into the particular solution(s) of how to get the saved filesystem mounted at boot time onto /home, under on an assumption like that users Billy and Kate had their home directories saved at top level as /billy and /kate on the save partition.

Since I often find myself in some different situation (with old home directories somewhere down deeper on the save partition) I need to do a little bit more and different things.

Perhaps it's useful for the OP to first conceive the distinction between

  • a partition which is a portion of a disk, and

  • the filesystem a partition contains.

On bootup, the kernel sets up one selected partition's filesystem as root filesystem, and any other partition's filesystem gets mounted (as declared in /etc/fstab) onto some directory (to become that subdirectory tree). The pathnames of that second filesystem are then appended to the pathname prefix leading to the mount point.

For example, if the saved data gets mounted on a directory named /old, then it'll be accessible under the saved pathname following the prefix /old. In other words, if Biily's old home directory got saved as /home/billy on the save partition, then that will be found as /old/home/billy when that partition is mounted onto /old. Or it is found as /home/home/billy if the partition is mounted onto /home.

Thus, if Billy's home directory got saved as /billy on the save partition, then mounting that partition onto /home makes the saved directory accessible as /home/billy.

The home directory for a user is registered in the file /etc/passwd. This has one line for each user, with the line divided into parts separated by ":", and the second last part of a line tells the home directory for the user named as first part of the line.

In some other scenarios, such as when mounting the save partition onto /old because the save path is /home/billy on that partition, one might edit /etc/passwd to tell that billy has /old/home/billy as home directory.

And then, even in that scenario, it is possible to instead use an additional "bind mount" to make the path /old/home/billy (also) accessible as path /home/billy, and thereby avoid editing /etc/passwd. To do this you'll need two separate entries in /etc/fstab: one to mount the partition, and a second one to declare the bind mount.

#914 Re: Desktop and Multimedia » Cannot mount exfat » 2021-12-15 21:30:07

Essentially it looks like you sit with software that "expects" exfat to be a built-in filesystem (as in beowulf-backports and later), and a kernel where it's not (as in beowulf and before).

The story seems to be that:

a) exfat is a built-in filesystem for 5.10 kernels but it wasn't built-in for the 4.9 kernels.

b) Before it became built-in, the mount command was supported by the program /sbin/mount.exfat provided by the exfat-fuse package. That program was abandoned when the filesystem became built-in.

#915 Re: Other Issues » pxe boot hangs in busybox » 2021-12-14 13:49:22

There are several hurdles with using minimal-live for PXE boot, primarily that it still requires media access to the ISO.

The "best" I've been able to do is to add rdinit=/bin/sh to the APPEND line in pxelinux.cfg/default so as to enter a console shell instead of running the "normal" initrd:/init (though after having loaded and mounted the initrd filesystem). There you can discover that even the network interface driver modules are missing from the initrd, so there is not much to do with it.

I had better luck using desktop-live as a basis, and then also serve it over nfs.

  • on the server, I mounted the ISO at /netboot/boot/desktop-live

  • and set up the NFS service to export that path

  • then changed pxelinux.cfg/default to use the menu lines:
    KERNEL ::boot/desktop-live/live/vmlinuz
    APPEND vga=788 initrd=::boot/desktop-live/live/initrd.img boot=live root=/dev/nfs nfsroot=/netboot/boot/desktop-live init=/bin/bash

Due to the init=/bin/bash parameter, it will enter a shell instead of running the post-pivot /sbin/init, so it's still not perfect. But the root filesystem could be extracted at the server end (rather than mounted) and then be changed appropriately so as to allow a normal /sbin/init start.

Note that the root filesystem comes from the squashfs on the ISO, so any changes need unpacking and repacking of that (with any changes); all other files of the ISO copy should be left as is.

#916 Re: ARM Builds » no ip address via DHCP » 2021-12-09 10:53:52

Start the installer and at the very first dialog, use C-A-F2  and Enter so as to start a command shell in the installer.
Then set date and time with

# date -d '2021-12-09 21:47:23' 

or whatever it is for you.

If the installer has the hwclock command you may use that to reset the hardware clock from the now corrected system clock with

# hwclock -w

.

Following that, you use C-A-F1 to return to the installation, which now will work splendidly wink

#917 Re: Hardware & System Configuration » Making Devuan more secure. » 2021-12-04 08:06:06

***
*** Yes, the 5 posts got lost due to a technical mishap; the sysadmin will be replaced as soon as possible.
*** Apologies.
***

#918 Re: Other Issues » [SOLVED] Need to reset root password » 2021-12-01 20:10:45

Apparently passwd has built-in chroot

# passwd -R /mnt

#919 Re: Other Issues » [SOLVED] Need to reset root password » 2021-12-01 04:09:07

You might need to run /sbin/fsck -y /dev/sda2 or /sbin/fsck.ext4 -y /dev/sda2 to mount it rw.

#920 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-30 21:49:05

How about using backquote with echo to make use of globbing, e.g.

# `echo /?i?/mou?t` /dev/sda1 /A

EDIT: actually might not need backquoting even:

# /?i?/mou?t /dev/sda1 /A

#921 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-30 08:46:27

I have a Devuan installation ISO, not live. (I wish I knew where I put it.)

Yes, that one you can start into "rescue"; just make sure you stop before partitioning.

And I think I have a Debian live.

A Debian live should also work if you can operate that without the broken keys; if you get a root prompt in a terminal, you might be able to do

# mkdir /A
# mou<TAB> /dev/sda1 /A
# chroot /A $(which passwd)

and then reboot into that system.
If the mou<TAB> is ambiguous a double <TAB> will yield the options for you to copy and paste from.
Note that maybe your root file system is not on /dev/sda1 of course .. you'll find out.

#922 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-29 22:56:27

Yes, as said,  if you have a Devuan ISO (any of them), then its "Advanced -> Rescue" option is the way to go; it'll bring you all the way into a root login within your root file system without needing working b or n.

Once there, you use the command "passwd" to set a new root password.

Thereafter you have to figure out how to deal with that the username has a b. Perhaps create a new user, or perhaps work out how to remap some keypad keys (or other keys) to be b and n.

#923 Re: Hardware & System Configuration » [SOLVED] [Beowulf] eudev upgrade failed » 2021-11-27 21:04:33

To undo the resulting badness of double newlines in those files you may use:

sudo sed '/^$/d' -i /var/lib/dpkg/info/*.list

That will still leave the previously missing final newline in /var/lib/dpkg/info/console-setup.list

In addition, given the original issue, I would also

sudo apt-get install --reinstall console-setup

unless I knew that I had been hand-editing those files sometime earlier (and could thus imagine that I had removed a final newline from at least one of them). in fact, that re-installation would have been  my first point of call well before venturing into willy-nilly hand editing in the dpkg database.

#924 Re: Other Issues » [SOLVED] serial terminal login stopped working » 2021-11-25 03:43:38

Possibly the nomodeset is missing from the boot line?

afair, Beowulf installer iso has nomodeset for the installer itself but it doesn't always get added automatically to grub's boot line.

#925 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-20 22:01:15

That looks fine and leads to the question whether the dbus daemon(s?), which is supposed to be the server end of that socket, is running at the time during bootup when something is expecting it.

Board footer

Forum Software