The officially official Devuan Forum!

You are not logged in.

#51 2024-03-24 01:33:01

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

Internet connection works. Lvm works. Sudo works. And "su -" works too.
Soon it is time to install xorg and vbox and fix audio.

Offline

#52 2024-03-24 02:00:29

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

... on the other hand, to be able to mount /home from encrypted lvm partition(that is not /) during boot means that initrd has to be modified ...

... but there is no need to modify initrd if there is only 1 big / -partition . No separate /home or swap or anything.

But right now i'm not going to start all over from scratch.

Offline

#53 2024-03-24 04:31:53

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

https://manpages.ubuntu.com/manpages/tr … ign.1.html "Sign an EFI boot image for use with secure boot."

So initrd:s aren't usually signed? Or usually shim doesn't care about those?

Offline

#54 2024-03-25 03:00:15

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

Next step will be installing virtualbox.

Offline

#55 2024-03-25 23:38:07

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

Fujitsu is now mostly working as supposed to. I have lightdm as display manager and xfce4 as desktop software. With those there's a small problem.
If i exit from xfce with "log out" , the display goes dark gray and nothing happens until i push power button.
On the other hand if i say "sudo /sbin/reboot" as normal user, the display also goes dark gray but the machine still reboots after some waiting.
What's going on?

I think i have read a post about that "hangs while rebooting/logging out"-problem but it takes some effort to find it...

Last edited by nahkhiirmees (2024-03-27 02:31:50)

Offline

#56 2024-03-26 02:25:36

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 587  

Re: Fujitsu Lifebook U728 + Devuan 4

Hi, I saw this web artical on initrd and initramfs that may be informative in your case...

https://www.baeldung.com/linux/initrd-vs-initramfs

you might also check what services are running as something is probably waiting for a signal before the shutdown/reboot sequence can be finished.

btw, I usually use the login manager sddm for rebooting (I don't use sudo) or logging out and shutting down, but

when I'm stuck (with a frozen mouse), I ctrl-alt-F1-to-12 tty, depending on what is accessible and issue a ctrl-alt-del to reboot or

"shutdown -r now" if the console is already logged in. -r to reboot, or -h to halt.

imo, initramfs speeds up loading of kernel modules by not having to scan the devices before-hand, saving a few seconds.

The other thing I have come across is that after researching and configuring BT modules (and firmware) I could do

update-initramfs -u -k all

You should check this command so you know what it's doing...

and that saved a few more seconds and had the BT modules up and ready when the desktop started.

It also loaded all the module commands listed in /etc/module(s) files and directories (.d).

I gets like a custom kernel loading speed, but systems are so fast now-a-days you may not notice. Used to be I could make a cup of tea while waiting for a reboot... ymmv.

I hope this gives you something to look in to.


pic from 1993, new guitar day.

Online

#57 2024-03-26 18:27:17

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

From ~/.xession-errors if found rows with: "failed to execute child process /usr/bin/pm-is-supported" . So maybe there are package or 2 missing. Have to find which.

Edit. I have already tried ctr+alt+del, ctrl+alt+backspace. Didn't seem to do anything. Maybe i'll try again but somewhat i doubt that they help.

Last edited by nahkhiirmees (2024-03-26 18:29:59)

Offline

#58 2024-03-26 18:34:35

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

I have used update-iniramfs and mkinitramfs before. Not sure that init{ramfs,rd} have something to do with that freezing problem.
But i'll return to that signing/verifying-subject soon.

It will be highly practical if it is only vmlinuz that needs to be signed (or verified during boot process).
On the other hand maybe initrd should be signed also.

Edit. question: can i brick my machine by experimenting with mokutil?
I think that PK and KEK should be left alone even if they can be changed.

Last edited by nahkhiirmees (2024-03-30 18:58:30)

Offline

#59 2024-03-30 18:55:52

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 186  

Re: Fujitsu Lifebook U728 + Devuan 4

I'm worried that i have to re-install windows to Fujitsu so that i can get a proper EFI-partition back. Yuck.

Using w10 or ubuntu install disk is not necessary. Running grub-install with right parameters is enough as it should be.
Could also bypass reading /boot/efi/something/grub.cfg before going to /boot.

Last edited by nahkhiirmees (2024-03-30 19:06:13)

Offline

Board footer