The officially official Devuan Forum!

You are not logged in.

#101 Re: Installation » simple method for installing a couple of devuan virtual machines » 2020-08-29 15:51:44

The first few posts in the thread "Xen and the art of VM" describe using debootstrap to install an image.

https://dev1galaxy.org/viewtopic.php?id=2556

The thread then goes off describing how to try out other ways of installing, if you want to look at installers!

I hope that the first few posts are still relevant.

Geoff

#102 Re: Installation » simple method for installing a couple of devuan virtual machines » 2020-08-29 09:38:18

Those instructions were written around five years ago. One thing which I spotted is that the mirror should probably be updated from :-

mirror = http://packages.devuan.org/merged

to:-

mirror = http://deb.devuan.org/merged

Geoff

#103 Re: Desktop and Multimedia » Choosing an email client » 2020-08-20 14:53:07

I believe that I downloaded the compressed tar file from their site, unpacked it and moved the files into /usr/local/interlink and linked the binary into /usr/local/bin as described above.

Geoff

#104 Re: Other Issues » EFI trouble » 2020-08-20 10:23:51

I have now tried the keys during the Power On Self Test on my ZenBook. The delete key also works...

<F2>  BIOS screen
<delete> BIOS screen
<escape> Boot screen

Geoff

#105 Re: Other Issues » EFI trouble » 2020-08-19 09:57:48

I have just downloaded the PDF manual for my ZenBook UX305FA and on page 54 it tells me that I press <F2> during POST to access the BIOS. According to this document, <F2> has a picture of an aeroplane. (I am on a different machine currently).

Geoff

#106 Re: Other Issues » EFI trouble » 2020-08-19 09:31:49

rolfie wrote:

What do you mean by "firmware screen"? The bios?

I was just trying to work out what that screen is called if it is using EFI rather than BIOS, but you might want to think of it as the BIOS screen.

On my 3 latest ASUS board with AMI bios I haven't got any chance to modify any settings but the boot order, if any.

It is not always easy to find out which key to hit to get the BIOS screen to appear. My ASUS laptop will give the boot order choice if you hit (or rather keep hitting) one particular key, but if you can find the other magic key then the BIOS screen appears. The keys that may be used include :-

<escape>, <delete>, <F10>, <F12> and there may be others. I have no written documentation to tell me what to use! I will have a look on the web...

Geoff

#107 Re: Other Issues » elogind - change login background » 2020-08-16 05:26:09

I'm not sure that I understand your comments on elogind, itself. elogind runs as a daemon and is used by the display manager to do the authentication. The end user does not interact directly with elogind.

Geoff

#108 Re: Other Issues » elogind - change login background » 2020-08-15 09:32:22

I am a fan of LXDM as the display manager with the graphical login screen. It allows you to select your desktop and language from the login in screen, as well as shutting down the machine. It is not limited to LXDE or LXQT and it works with elogind. I have not done much with the customisation, but the config file allows for setting up the background and the theme etc.

I used to use LXDE but have now migrated to LXQT as it seems as though that is where development is heading and works with elogind. I think that there may have been a query about how well LXDE works with elogind.

Geoff

#109 Re: Other Issues » EFI trouble » 2020-08-14 15:59:53

I have also been having some fun with EFI.

My Asus ZenBook UX305FA is formatted with GPT partitions and boots with EFI.
This has been working fine for a number of years and has been upgraded and is now on Chimaera.

The only thing that I was unable to get to work was running the Xen hypervisor.
I have Xen running on my DOS partitioned desktop, when I want it, but it would not boot on this EFI laptop.
I have had it set up as a boot option via grub, but it would just hang.
I also tried setting it up to boot the Xen hypervisor directly with EFI, but that would just return immediately.

Having a look at getting Xen running, I used efibootmgr under Devuan to look at the EFI settings and also using the firmware screen, from American Megatrends.
In using the firmware screen, trying to see what was set up, I managed to swap round a couple of boot entries and then managed to swap them back!
Once booted up efibootmgr -v reported an error. After fiddling around for a while I ran

grub-install /dev/sda

to try and ensure that it would still boot. This was ok and does still boot via grub as expected.

efibootmgr (with or with "-v") now reports

efibootmgr 
No BootOrder is set; firmware will attempt recovery

However, as a side effect of all this, the grub entry for Xen now works and I am posting this with Chimaera as Dom0 under Xen.

The directory /sys/firmware/efi/efivars/ exists, but is empty.

As everything seems to be working, it is tempting to leave it alone. But where is the fun in that!
It would be nice if efibootmgr agreed with the firmware screen (what is that called, it can't be the BIOS screen, can it?)

In writing this an obvious point becomes clear. If I am running Devuan under Xen, then access to EFI stuff may be impaired. Having booted on the bare metal,

efibootmgr 
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0004,0002
Boot0000* debian
Boot0002* Hard Drive
Boot0004* zen
efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0004,0002
Boot0000* debianCould not parse device path: Invalid argument

It is interesting that it couldn't parse option 0000 as that is the one that is actually booted.

Also the directory /sys/firmware/efi/efivars/ now contains the expected stuff.

Setting up stuff seems to be easier on the firmware screen than using efibootmgr as selecting the the parts of the path to the boot image is easier when there is a choice of options rather than entering a complex command line. The first part of the path was incomprehensible to me, but there was a choice of one (disk?) and from there the options were obvious.

#110 Re: Installation » recovering root file system on every reboot » 2020-08-14 08:40:27

coyotito wrote:

i now get 'recovering journal' on every reboot. Then 'dev/sdc1 clean'.

I was getting this while playing with openrc-init. The problem is probably caused by something not shutting down properly and you should look through the log files for something being unable to be unmounted as it is still active, or something like that.

Geoff

#111 Re: Installation » [SOLVED] disable frame buffer » 2020-08-10 09:41:04

Yes, don't forget to run

update-grub

after you have made any changes to the grub configuration files, otherwise the changes will have no effect.

Geoff

#112 Re: Freedom Hacks » Do not use pulseaudio » 2020-08-08 13:52:09

With 2 devices sharing the same kernel module, you can disable the one which you are not using. You use the enable parameter, where 0=disable and 1=enable. You could set the entry in /etc/modprobe.d/alsa-base.conf to :-

# Disable the HDMI card which shows up first, but enable PCH
options snd-hda-intel enable=0,1

https://dev1galaxy.org/viewtopic.php?pid=339#p339

Geoff

#113 Re: Hardware & System Configuration » Enabling rc_parallel=YES in OpenRC? I am not sure, if it is working? » 2020-08-03 10:09:17

I have tried using Runit as a process supervisor, with SysVinit as PID 1.

https://dev1galaxy.org/viewtopic.php?id=1748

I then looked at using OpenRC

https://dev1galaxy.org/viewtopic.php?id=2072

and also using Runit as a process supervisor under OpenRC

https://dev1galaxy.org/viewtopic.php?id=2078

although OpenRC now comes with its own supervisor.

https://dev1galaxy.org/viewtopic.php?pid=9501#p9501

I have also looked at using OpenRC as PID 1, which can work well
although there is a remaining bug, although I offer a patch to
fix it.

https://dev1galaxy.org/viewtopic.php?id=2788

https://dev1galaxy.org/viewtopic.php?id=3371

Geoff

#114 Re: Hardware & System Configuration » Enabling rc_parallel=YES in OpenRC? I am not sure, if it is working? » 2020-08-02 09:20:18

I had noticed the warnings, but I have tried running OpenRC with parallel turned on and have not had any real problems with it. The only difficulty I noticed was the logging gets untidy as the messages from different parts get interleaved. I had not noticed any great increase in the boot speed. While I have been looking at using openrc-init as PID 1, I turned off the parallelism to make the logging clearer. There is also a small problem where some blocks of logging output get duplicated. I have not been able to track this down, but may be related to the early logging getting stored somewhere in memory and then copied to disk later.

Geoff

#115 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-08-01 10:57:01

Following the dpkg-reconfigure grub-pc I have now upgraded grub to the deb10u2 version and it still boots.

Geoff

#116 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-08-01 10:44:00

Colin Watson writes in the bug report :-

This is a long-standing problem: we get a scattering of reports of the
same general kind with every GRUB upgrade that changes the binary
interface between GRUB's core image and modules in some way, although
the exact details depend on the upgrade in question.  The situation
certainly needs to be improved.

However, the problem is not with the actual changes made in this version
of GRUB.  Rather, it's a latent configuration problem on your system
(and on the systems of other people affected by this) that is triggered
by the act of making *any* change to GRUB that causes new modules in
/boot/grub not to be compatible with old core images in the boot sector
that your firmware jumps to when booting your machine.  This problem
happens on systems that are configured to run grub-install to a target
device that is not actually the one that your firmware uses to boot your
computer.

This configuration error is normally the result of something like
changing disks around without telling the GRUB packaging about it, so it
continues to install to an old device without realising it isn't the one
that your firmware is configured to boot from any more.  Sometimes it's
the result of a bug in some kind of installation or cloning process
instead.  Unfortunately it is rarely possible to tell exactly what
caused it from any information that still exists on the systems in
question; sometimes the affected users have an idea what might have
happened and sometimes they don't.  The packaging tries to detect some
problems along these lines - I did considerable work on this way back in
2010 to try to improve the situation - and the volume of reports of this
kind is much lower than it used to be as a result, but it still happens
sometimes.

It is also mentioned that this is not a UEFI problem, although someone with UEFI was reporting a(nother) problem.

Geoff

#117 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-08-01 10:28:25

Via the Debian bug report 966575 I got a message from Colin Watson saying :-

You should use "dpkg-reconfigure grub-pc" to update the system's idea of
which disk(s) to install to in future, or this problem may recur in a
future upgrade.

So I tried :-

debconf-show grub-pc
  grub2/update_nvram: true
  grub-pc/install_devices_failed_upgrade: true
  grub2/kfreebsd_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/install_devices_empty: false
  grub-pc/timeout: 5
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/postrm_purge_boot_grub: false
* grub2/linux_cmdline_default: earlyprintk=vga,keep vsyscall=emulate init=/sbin/openrc-init
  grub-pc/hidden_timeout: false
  grub-pc/partition_description:
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD10EZRX-00A8LB0_WD-WCC1U2741701
  grub-pc/install_devices_disks_changed:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/install_devices_failed: false
* grub2/linux_cmdline:
  grub2/device_map_regenerated:
  grub2/force_efi_extra_removable: false
  grub-pc/disk_description:
dpkg-reconfigure grub-pc

which asked 3 questions, 2 about the command line and then about where to install.
It had selected /dev/sdb and I added /dev/sda (with the spacebar) :-

 The grub-pc package is being upgraded. This menu allows you to select which devices you'd like grub-install to be automatically run for, if any.
 Running grub-install automatically is recommended in most situations, to prevent the installed GRUB core image from getting out of sync with GRUB modules or grub.cfg.
 If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all of them.
 Note: it is possible to install GRUB to partition boot records as well, and some appropriate partitions are offered here. However, this forces GRUB to use the blocklist
 mechanism, which makes it less reliable, and therefore is not recommended.
 GRUB install devices:
    [*] /dev/sda (240057 MB; Corsair_Force_GS)
    [ ] - /dev/sda5 (262 MB; /boot)
    [ ] /dev/sda6 (239685 MB; LVM PV O44JvK-Gagl-jJ0w-aWwi-3qn0-Y2no-fbwG8Q on /dev/sda6)
    [*] /dev/sdb (1000204 MB; WDC_WD10EZRX-00A8LB0)
    [ ] /dev/sdb6 (882340 MB; LVM PV p10DED-cZEt-K24W-0Ov2-itdA-HOI8-EquJNg on /dev/sdb6)
    [ ] /dev/dm-0 (21474 MB; SSD0-root)
                                                                                   <Ok>

It then continues

Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Including Xen overrides from /etc/default/grub.d/xen.cfg
Generating grub configuration file ...
Found theme: /usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt
Found background image: Lake_mapourika_NZ.tga
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
... several kernels later ...
Found Windows 7 on /dev/sda1
Found Windows 7 on /dev/sdb1
...
Found Debian GNU/Linux jessie/sid on /dev/mapper/HDD0-xenguest1--disk
done

My system can still boot ;-) but looks as though it will now install onto both disks.

debconf-show grub-pc now reports :-

* grub-pc/install_devices: /dev/disk/by-id/ata-Corsair_Force_GS_133379020000987300E8, /dev/disk/by-id/ata-WDC_WD10EZRX-00A8LB0_WD-WCC1U2741701

Geoff

#118 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-08-01 09:41:45

It does depend on your set-up, but is not just UEFI as my machine which broke has dos type disk labels.
I'm not sure whether it needs both multi-disk and/or multi-OS.
I have one SSD and one HDD and have the remnants of Win 7 although I haven't booted that for a very long time.
I also use Xen for trying out OSs, so have several on the HDD in their own partitions, under LVM.

Geoff

#119 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-31 14:17:39

I have fed some info into the Debian bug report.

https://bugs.debian.org/cgi-bin/bugrepo … bug=966575

but the deb10u2 does look like the fix and is available now on my machine, but I will wait until I hear from them in case they want any further info.

Geoff

#120 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-31 09:52:26

I have now checked in /var/log/apt/term.log and I can see no error messages. The relevant part seems to be :-

Setting up grub-pc (2.02+dfsg1-20+deb10u1) ...
Installing for i386-pc platform.
Installation finished. No error reported.
Including Xen overrides from /etc/default/grub.d/xen.cfg
Generating grub configuration file ...
Found theme: /usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt
Found background image: Lake_mapourika_NZ.tga

before it trawls through all of the kernels and other partitions and finally saying

done

Geoff

#121 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-31 05:00:58

It may be that it is related to my disk layout, where /boot is its own partition and maybe grub failed to do the grub-install correctly. When I can get to my desktop machine, I will check the output from apt to see if I missed an error message.

/boot is my only ext partition, the rest being handled by LVM, not encrypted.

Geoff

#122 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-30 19:52:07

This upgrade is referred to in :-

https://www.debian.org/security/2020/dsa-4735

which refers to a problem with grub_malloc and was suggested somewhere as being replaced with grub_calloc.

Geoff

#123 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-30 19:34:34

Just for the record, looking in /var/log/apt/history.log, the latest upgrade was this morning :-

Start-Date: 2020-07-30  11:12:21
Commandline: apt full-upgrade
Upgrade: grub-common:amd64 (2.02+dfsg1-20, 2.02+dfsg1-20+deb10u1), grub-xen-bin:amd64 (2.02+dfsg1-20, 2.02+dfsg1-20+deb10u1), grub2-common:amd64 (2.02+dfsg1-20, 2.02+dfsg1-20+deb10u1), grub-pc:amd64 (2.02+dfsg1-20, 2.02+dfsg1-20+deb10u1), openjdk-11-jre-headless:amd64 (11.0.7+10-3~deb10u1, 11.0.8+10-1~deb10u1), grub-pc-bin:amd64 (2.02+dfsg1-20, 2.02+dfsg1-20+deb10u1), openjdk-11-jre:amd64 (11.0.7+10-3~deb10u1, 11.0.8+10-1~deb10u1), grub-xen-host:amd64 (2.02+dfsg1-20, 2.02+dfsg1-20+deb10u1), firefox-esr-l10n-en-gb:amd64 (68.10.0esr-1~deb10u1, 68.11.0esr-1~deb10u1), firefox-esr:amd64 (68.10.0esr-1~deb10u1, 68.11.0esr-1~deb10u1)
End-Date: 2020-07-30  11:13:33

So, I think that it was upgrading from the stable version to the stable-security version.

Geoff

#124 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-30 19:05:44

Thank you. I found a memory stick with Refracta Beowulf no dbus and managed to boot it and followed your commands.

I my case I mounted /dev/sda5 on /mnt.

As the problem seemed to be related to the update, I missed that step out, as well as the install grub-pc.
I did the

grub-install --boot-directory=/mnt /dev/sda
reboot

which worked. I gave the boot-directory as /mnt, because that partition is /boot rather than root.

I can now investigate things like grub versions etc.

Thank you again, helpful as ever

Geoff

#125 Re: Installation » [Solved]Grub failing to boot - grub_calloc not found » 2020-07-30 18:34:50

Thank you for that, I will have a look at that.

The url for giving some grub rescue commands was :-

https://www.easytechstutorials.com/how- … -rescue-2/

Rather than the ones above!

It does sound as though the problem is quite widespread, so it may be a good idea to not do any upgrades involving grub...

Geoff

Board footer

Forum Software