The officially official Devuan Forum!

You are not logged in.

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

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

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: 238  

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: 238  

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: 238  

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: 238  

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: 612  

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.

Offline

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

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

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: 238  

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: 238  

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

#60 2024-06-22 13:44:53

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

Re: Fujitsu Lifebook U728 + Devuan 4

Set a main passwd for the firmware.
Set passwd for ssd, disabled asking it later.
Enabled tpm, disabled secureboot.
Enabled booting for removable drives.
Enabled boot menu also.
Enabled that boot menu for all users, not just for admin.

And noticed that cannot boot from usb-dvd-drive if that ssd is disconnected.
It may have been a mistake to set that disk passwd. I suspect it to be the cause that firmware needs ssd before booting from optical.

In boot order optical is before ssd, but not the absolutely first, i think. Have to confirm if i get a chance.

E. Firmware version is 1.28 . The date of it is from december of 2022, i think. Suspect that date is when the firmware was updated, not the date when fujitsu published it.

Last edited by nahkhiirmees (2024-06-22 13:46:51)

Offline

#61 2024-06-24 21:56:06

zapper
Member
Registered: 2017-05-29
Posts: 895  

Re: Fujitsu Lifebook U728 + Devuan 4

UEFI is a glorified backdoor as it is now.

EFI might have been too, but UEFI is way more vulnerable.

Sad to say, but corporations be dumbasses.


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#62 2024-06-28 11:24:03

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

Re: Fujitsu Lifebook U728 + Devuan 4

Now i think i have done 2 mistakes, if i want to boot from optical while no ssd connected.
FIrst was setting the ssd passwd. (Sometimes i wonder is that passwd about authentication, like in /etc/shadow, or about encryption like in cryptsetup ? )
Second was not removing those remains of previous installs from boot menu.

And then there were the 3rd mistake. Not quite sure if i can get to configuration_menu or boot_menu after that.
It would be easy if i could just make that machine somehow forget that it is supposed to access ssd before booting from optical.
But the first attempts at that have not been successful.

Offline

#63 2024-06-29 07:13:55

zapper
Member
Registered: 2017-05-29
Posts: 895  

Re: Fujitsu Lifebook U728 + Devuan 4

@nahkhiirmees did you do an advanced install or a regular one?

I never do advanced installs and I never have your problem. Although, its possible I am missing something.


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#64 2024-06-29 09:28:53

delgado
Member
Registered: 2022-07-14
Posts: 182  

Re: Fujitsu Lifebook U728 + Devuan 4

nahkhiirmees wrote:

It would be easy if i could just make that machine somehow forget that it is supposed to access ssd before booting from optical.
But the first attempts at that have not been successful.

Did you try to reset the BIOS/(U)EFI settings to system default?
There should be a menu somewhere saying something like "load save defaults".

Offline

Board footer