The officially official Devuan Forum!

You are not logged in.

#1351 Hardware & System Configuration » Uefi trouble » 2019-04-30 20:10:37

rolfie
Replies: 3

Mainboard ASUS M5A99X-EVO-R2. Had to re-install the Windows7 hat was present on another device. This re-install screwed the Devuan Uefi entries which is normal. With the help of a life Linux called Knoppix on a stick and some fumbling around I could revive the primary Beowulf installation on the main disk. This topic is posted from the Beowulf installation.

Remaining problem is that I can't update grub so that if I want I can jump to Windows from the grub menu. I discovered the following issues with Uefi:

One of the entries in the flash cannot be read, changed or deleted by the efibootmgr. Error shown is:

# efibootmgr
Skipping unreadable variable "Boot0004": Input/output error
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0001,0000,0003,0005
Boot0000* Windows Boot Manager
Boot0001* Linux
Boot0003* CD/DVD Drive 
Boot0005* UEFI: TOSHIBA TransMemory
# efibootmgr -b 0004 -B
Skipping unreadable variable "Boot0004": Input/output error
Could not delete variable: Input/output error

[*][/*]The usual procedure for re-installing grub also throws several errors:

# apt --reinstall install grub-common grub-efi-amd64 os-prober
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 3 erneut installiert, 0 zu entfernen und 3 nicht aktualisiert.
Es müssen 2.547 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Holen:1 http://deb.devuan.org/merged beowulf/main amd64 grub-common amd64 2.02+dfsg1-16 [2.477 kB]
Holen:2 http://deb.devuan.org/merged beowulf/main amd64 grub-efi-amd64 amd64 2.02+dfsg1-16 [39,7 kB]
Holen:3 http://deb.devuan.org/merged beowulf/main amd64 os-prober amd64 1.77 [30,2 kB]
Es wurden 2.547 kB in 0 s geholt (7.042 kB/s).
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 232926 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../grub-common_2.02+dfsg1-16_amd64.deb ...
Entpacken von grub-common (2.02+dfsg1-16) über (2.02+dfsg1-16) ...
Vorbereitung zum Entpacken von .../grub-efi-amd64_2.02+dfsg1-16_amd64.deb ...
Entpacken von grub-efi-amd64 (2.02+dfsg1-16) über (2.02+dfsg1-16) ...
Vorbereitung zum Entpacken von .../os-prober_1.77_amd64.deb ...
Entpacken von os-prober (1.77) über (1.77) ...
grub-common (2.02+dfsg1-16) wird eingerichtet ...
os-prober (1.77) wird eingerichtet ...
grub-efi-amd64 (2.02+dfsg1-16) wird eingerichtet ...
x86_64-efi wird für Ihre Plattform installiert.
grub-install: Warnung: Cannot read EFI Boot* variables.
grub-install: Warnung: read_file: could not read from file: Eingabe-/Ausgabefehler.
grub-install: Warnung: vars_get_variable: read_file(/sys/firmware/efi/vars/Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c/raw_var) failed: Eingabe-/Ausgabefehler.
grub-install: Warnung: efi_get_variable: ops->get_variable failed: Eingabe-/Ausgabefehler.
grub-install: Fehler: failed to register the EFI boot entry: Eingabe-/Ausgabefehler.
Failed: grub-install --target=x86_64-efi  
WARNING: Bootloader is not properly installed, system may not be bootable
GRUB-Konfigurationsdatei wird erstellt …
Found background image: .background_cache.png
Linux-Abbild gefunden: /boot/vmlinuz-4.19.0-4-amd64
initrd-Abbild gefunden: /boot/initrd.img-4.19.0-4-amd64
Linux-Abbild gefunden: /boot/vmlinuz-4.19.0-2-amd64
initrd-Abbild gefunden: /boot/initrd.img-4.19.0-2-amd64
Windows Boot Manager auf /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi gefunden
Adding boot menu entry for EFI firmware configuration
erledigt
Trigger für man-db (2.8.5-2) werden verarbeitet ...
Trigger für shim-signed (1.28+nmu1+0.9+1474479173.6c180c6-1) werden verarbeitet ...
No DKMS packages installed: not changing Secure Boot validation state.
Fehler: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

One of them relates to the faulty entry in the efi flash, grub-install fails, in addition I get a DBus error.
update-grub just runs without error. When I try to invoke the Windows installation from grub I get an error that the UUID of the Windows (efi) partition is wrong which is not the case, its the same blkid presents.

Any suggestion what else I can do to reset the efi flash memory?

Thanks, Rolf

#1352 Re: Installation » Devuan Jessie: Many packages moved to local/obsolete » 2019-04-30 19:08:19

Possible that archiving Wheezy/Jessie about a month ago is causing issues now for packages pulled from Debian?

Rolf

#1353 Re: Devuan » Meet cinnabar (Beowulf default theme) » 2019-04-28 15:52:00

Can this be put together in an installable Devuan package please? I tried to figure out where to put the files from the zips, but the detail given in this thread is insufficient for me and my experience.

BTW: after the latest Beowulf update mit lightdm login splash screen is displaying Debian 10! Would like to get rid of this.

Rolf

#1354 Re: Installation » [Solved] apt sources list retrieve? » 2019-04-28 06:12:43

Display is possible e.g. with:

grep -v '^#\|^$' /etc/apt/sources.list{,.d/*}

Rolf

#1355 Re: Installation » error when installing task-xfce-desktop in beowulf » 2019-04-24 17:43:36

Just did an update of 2 VMs, one with ASCII, one with Beowulf. Both updates worked fine.

A word from one of the admins would have been desirable.

Rolf

#1356 Re: Installation » Installing devuan to lvm partitions within dm-crypt container » 2019-04-22 16:48:48

Open a terminal as root, go to /lib/cryptsetup. Use an editor you are familiar with and open cryptdisks.functions (I have used geany). Before you change something make a backup copy of the original file.

Scroll down to line 763. There you should find this code:

 # Removes all mappings in crypttab
 do_stop () {
      local dst src key opts opencount major minor

Add vgs vg to this line.
Between

dmsetup mknodes
log_action_begin_msg "Stopping $INITSTATE crypto disks"

add

dmsetup mknodes
       if [ -x /sbin/lvm ]; then
        vgs="$(/sbin/lvm vgscan | sed -n '/"/s/^.*"\([^'\'']*\)".*$/\1/p')"
         if [ -n "${vgs}" ]; then
          for vg in ${vgs}; do
           /sbin/lvm vgchange -a n ${vg} >/dev/null 2>&1 
          done 
         fi
        fi
log_action_begin_msg "Stopping $INITSTATE crypto disks"

You can copy the text from #15, but remove the +- signs in front of the script text.

Rolf

#1357 Re: Installation » error when installing task-xfce-desktop in beowulf » 2019-04-22 16:39:20

The sources.list looks fine to me. The double // before merged are a bit strange, but I wouldn't care as long as the sources is correct.

That the webkit is redirected to Debian is possible.

Looks like there currently is an issue with fetching packages from the server, see also https://dev1galaxy.org/viewtopic.php?id=2800.

Rolf

#1359 Re: Other Issues » Is the debian/devuan merge working right? » 2019-04-21 06:37:24

mknoop wrote:

/etc/apt/sources.list:deb http://deb.devuan.org/merged ceres main contrib non-free
/etc/apt/sources.list:deb http://deb.devuan.org/merged ascii main

You are mixing repositories. In this example remove ascii. Then it will work nicely.

Rolf

#1360 Re: Other Issues » Is the debian/devuan merge working right? » 2019-04-20 18:33:53

Got 3 updates on ASCII and 48 on Beowulf on the same resource using main contrib non-free and backports.

#1361 Re: Hardware & System Configuration » How to install Devuan Ceres without starting from ASCII? » 2019-04-12 19:57:09

Pietro wrote:

@golinux: Thank you for the link. Just wondering why it is not advertised on the website.

Beowulf is apha, not beta or RC or even more.

Pietro wrote:

- What do you mean with "It is advised to never use the Debian repos directly.  Could cause much grief at some point."?
Should I not use their ISOs?

Well, either you use Debian or Devuan. The different init systems wil cause a conflict. If you want systemd you are welcome to use Debian Buster. If you don't use Beowulf. Should work on your laptop.

Pietro wrote:

- Should I install mini.iso on a USB stick and boot from there?

Depends. You may write the iso to a CD/DVD and boot from there if you have the facilites to do so. Or you create a bootable stick in some  suitable way and install from there. For instruction use the web. Whatever you can do and like. Use wired LAN for the installation.

BTW: the distrowatch article talks about ASCII, the stable version.

Beowulf is testing. Don't worry, looks like its working fine, got it working on my secondary PC, looks like it rock stable.

Rolf

#1362 Re: Hardware & System Configuration » How to install Devuan Ceres without starting from ASCII? » 2019-04-12 19:10:41

There are a few threads in installation which deal with Beowulf install and where to find the isos. I have done a native Beowulf installation from one of the late isos and it works fine.

Rolf

#1363 Re: Desktop and Multimedia » EXT4 BUG? Data loss when I have launched sigil :s » 2019-04-09 20:14:33

@OP: Don't jump to conclusions very easily. To 99.9999% ext4 isn't your problem.

Obviously you run ASCII with kernel and Mate desktop from backports. Similar to my setup except Mate, I have a X470pro chipset and a Ryzen7 working on an nvme and only ext4 as file system. 

Since the PC is new, make sure all power supply and SATA connections are safely seated. Is the nvme screwed down ok?

Have you run extended self test with smartmontools? smartmontools should also indicate if there are issue with dodgy sata cables. 

I also would look at Sigil. Its a HTML editor for ebooks as far as I found from Wikipedia. Are you sure that the version you are using is free of bugs and that the HTML code you handle is free of strange/faulty code?

I think there is a lot of things that need to be checked, including your RAM. Faulty RAM can also cause data loss.

Good luck, Rolf

#1364 Re: Installation » Which installer should I use? » 2019-04-09 19:56:40

It may be worth replacing the CMOS battery, if the PC has been sitting off for a while. That can contribute to such a behaviour.

Rolf

#1366 Re: Desktop and Multimedia » EXT4 BUG? Data loss when I have launched sigil :s » 2019-04-08 17:15:13

I am pretty sure that ext4 does not have any significant bug. Like many others I am using it since many years and can't complain. You should look at your HW and this program you are talking about.

Run a full check of your drives with smartmontools. Maybe gsmartcontrol makes things easier to display.

Rolf

#1367 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 19:53:47

Same sources.list, database updated for sure (installed 12 packages today). The hold is a few updates old already.

~# aptitude full-upgrade
Die folgenden Pakete werden aktualisiert:           
  elogind libelogind0{b} libpam-elogind 
3 Pakete aktualisiert, 0 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
1.042 kB an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 501 kB zusätzlich belegt sein.
Die folgenden Pakete haben verletzte Abhängigkeiten:
 libelogind0 : Kollidiert mit: libsystemd0 but 241-1 is installed
               Kollidiert mit: libsystemd0:i386 but 241-1 is installed
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

     Beibehalten der folgenden Pakete in ihrer aktuellen Version:
1)     elogind [239.3+20190131-1 (now)]                          
2)     libelogind0 [239.3+20190131-1 (now)]                      
3)     libpam-elogind [239.3+20190131-1 (now)]

Diese Lösung akzeptieren? [Y/n/q/?] n
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

      Entfernen der folgenden Pakete:                       
1)      libasound2-plugins:i386 [1.1.8-1 (now, testing)]    
2)      libpulse0:i386 [12.2-4 (now, testing)]              
3)      libsdl2-2.0-0:i386 [2.0.9+dfsg1-1 (now, testing)]   
4)      libsystemd0 [241-1 (now, testing)]                  
5)      libsystemd0:i386 [241-1 (now, testing)]             
6)      libwine:i386 [4.0-1 (now, testing)]                 
7)      wine32:i386 [4.0-1 (now, testing)]                  

      Leave the following dependencies unresolved:          
8)      wine64 empfiehlt wine32 (= 4.0-1)                   
9)      libopenal1:i386 empfiehlt libpulse0:i386 (>= 0.99.1)
10)     libwine:i386 empfiehlt libsdl2-2.0-0:i386 (>= 2.0.8)
11)     libwine:i386 empfiehlt libasound2-plugins:i386

Diese Lösung akzeptieren? [Y/n/q/?] n
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

      Entfernen der folgenden Pakete:                                  
1)      accountsservice [0.6.45-2 (now, testing)]                      
2)      brasero [3.12.2-5 (now, testing)]                              
3)      caja [1.20.3-1+b1 (now, testing)]                              
4)      caja-rename [18.7.28~bzr25-1 (now, testing)]                   
5)      caja-seahorse [1.18.4-2 (now, testing)]                        
6)      colord [1.4.3-3+devuan1 (now, testing)]                        
7)      cups-pk-helper [0.2.6-1+b1 (now, testing)]                     
8)      gir1.2-polkit-1.0 [0.105-25+devuan1 (now, testing)]            
9)      gnome-disk-utility [3.30.2-3 (now, testing)]                   
10)     gnome-system-tools [3.0.0-8 (now, testing)]                    
11)     gvfs [1.38.1-3 (now, testing)]                                 
12)     gvfs-backends [1.38.1-3 (now, testing)]                        
13)     gvfs-daemons [1.38.1-3 (now, testing)]                         
14)     liboobs-1-5 [3.0.0-4 (now, testing)]                           
15)     libpam-elogind [239.3+20190131-1 (now)]                        
16)     libpolkit-agent-1-0 [0.105-25+devuan1 (now, testing)]          
17)     libpolkit-backend-1-0 [0.105-25+devuan1 (now, testing)]        
18)     libpolkit-backend-elogind-1-0 [0.105-25+devuan1 (now, testing)]
19)     libpolkit-gobject-1-0 [0.105-25+devuan1 (now, testing)]        
20)     libpolkit-gobject-elogind-1-0 [0.105-25+devuan1 (now, testing)]
21)     mate-control-center [1.20.4-2 (now, testing)]                  
22)     mate-desktop-environment [1.20.0+5 (now, testing)]             
23)     mate-desktop-environment-core [1.20.0+5 (now, testing)]        
24)     mate-desktop-environment-extra [1.20.0+5 (now, testing)]       
25)     mate-desktop-environment-extras [1.20.0+5 (now, testing)]      
26)     mate-indicator-applet [1.20.1-1 (now, testing)]                
27)     mate-panel [1.20.5-1 (now, testing)]                           
28)     mate-polkit [1.20.2-1 (now, testing)]                          
29)     mate-settings-daemon [1.20.4-1 (now, testing)]                 
30)     mate-tweak [18.10.2-1 (now, testing)]                          
31)     nautilus-extension-brasero [3.12.2-5 (now, testing)]           
32)     packagekit [1.1.12-5 (now, testing)]                           
33)     packagekit-tools [1.1.12-5 (now, testing)]                     
34)     policykit-1 [0.105-25+devuan1 (now, testing)]                  
35)     synaptic [0.84.5 (now, testing)]                               
36)     system-config-printer [1.5.11-4 (now, testing)]                
37)     system-tools-backends [2.10.2-3+b1 (now, testing)]             
38)     udisks2 [2.8.1-4 (now, testing)]                               

      Beibehalten der folgenden Pakete in ihrer aktuellen Version:     
39)     elogind [239.3+20190131-1 (now)]                               
40)     libelogind0 [239.3+20190131-1 (now)]                           

      Leave the following dependencies unresolved:                     
41)     atril empfiehlt gvfs                                           
42)     blueman empfiehlt policykit-1                                  
43)     caja-eiciel empfiehlt caja                                     
44)     cups empfiehlt colord                                          
45)     cups-daemon empfiehlt colord                                   
46)     cups-filters empfiehlt colord                                  
47)     engrampa empfiehlt gvfs                                        
48)     gvfs-common empfiehlt gvfs                                     
49)     libpackagekit-glib2-18 empfiehlt packagekit (= 1.1.12-5)       
50)     lightdm-gtk-greeter empfiehlt policykit-1                      
51)     mate-session-manager empfiehlt caja                            
52)     mate-session-manager empfiehlt mate-panel                      
53)     mate-session-manager empfiehlt mate-polkit                     
54)     mate-session-manager empfiehlt mate-settings-daemon            
55)     mate-system-monitor empfiehlt gvfs                             
56)     mate-tweak empfiehlt mate-indicator-applet (>= 1.18.0)         
57)     mozo empfiehlt mate-panel                                      
58)     pulseaudio empfiehlt libpam-systemd                            
59)     system-config-printer-common empfiehlt cups-pk-helper          
60)     udisks2 empfiehlt policykit-1                                  
61)     upower empfiehlt policykit-1                                   
62)     xserver-xorg-core empfiehlt libpam-systemd                     
63)     winetricks empfiehlt policykit-1 | kde-cli-tools               
64)     elogind empfiehlt policykit-1

Diese Lösung akzeptieren? [Y/n/q/?] q
Alle Anstrengungen, diese Abhängigkeiten aufzulösen, aufgegeben.
Abbruch.

None of the proposed solutions looks acceptable to me.

Rolf

#1368 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 19:43:56

Well, if I answer n,  apitude wants to remove my wine4, inacceptable.

Looks like libsystemd0 is at 241 already.

#1369 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 19:40:30

My Beowulf is a clean install from netinstall, no upgrade from ASCII.

Yes, I used full-upgrade. Dependency missing from the repository?

Rolf

#1370 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 19:27:28

Installed and tried it, it just confirms the conflict with libsystemd0. The solution is to keep the currently installed version 239.3.

Thanks, Rolf

#1371 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 19:17:17

I am a friend of apt. Neither apt full-upgrade nor apt dist-upgrade work.

Other recommendations?

Thanks, Rolf

#1372 Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 18:43:58

rolfie
Replies: 29

Beowulf amd64 with i386 for wine

The following 3 packages are hold back. What might be the reason for this? I don't use pinning.

# apt list --upgradable
elogind/testing 241.1-1 amd64 [aktualisierbar von: 239.3+20190131-1]
libelogind0/testing 241.1-1 amd64 [aktualisierbar von: 239.3+20190131-1]
libpam-elogind/testing 241.1-1 amd64 [aktualisierbar von: 239.3+20190131-1]

Thanks, Rolf

#1373 Re: Installation » mini.iso 16-2-2019 BUG does not install on M2 disks » 2019-03-25 19:15:38

Would be interesting which kind of M2 device the OP has in his PC.

I have installed ASCII on a M2 nvme device without issues. I used a gparted live CD to pre-partition the disk. But also the installer should be able to do the job in manual mode.

Good luck, Rolf

#1375 Re: Installation » UEFI and NVME help » 2019-03-22 19:36:58

The nvme SSD does not matter. ASCII also installs easily on nvme.

The issue is grub and efi with Beowulf, refer to https://dev1galaxy.org/viewtopic.php?id=2676.

Needs to be fixed in the installer.

Rolf

Board footer

Forum Software