Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Systemd-boot to Terminal  (Read 1663 times)

Offline mascaret

  • Newbie
  • Posts: 2
[EN] Systemd-boot to Terminal
« on: 2023/04/10, 12:28:57 »
Hi guys!

Another rescued guy from Solus OS. Got to know about siduction from Distrowatch. Quickly seduced!

Not being a geek (my occupation has nothing to do with computership), what I would care to have : a Terminal option on UEFI boot. Might come in handy if the GUI is not responsive. Or when the computer has not been used for some time and a 'nala upgrade' is mandatory.

I don't use grub : only systemd-boot.
In loader/entries, a "Terminal.conf" : alas, the use of kernel and initrd names require to update the entry with each kernel-update.
I made the entry, pointing to the latest kernel and it works as expected. But it will require a manual intervention after a kernel-remove (which I have copied in Pop_Os!).

I suppose it would'nt be difficult (for a dev!) to add a hook to update the terminal option to latest know booting kernel (just in case..).

Anyway, thanks for your interest!


Offline ro_sid

  • User
  • Posts: 146
Re: Systemd-boot to Terminal
« Reply #1 on: 2023/04/11, 18:58:51 »
Hello!

Me using "grub", I might be wrong with the following observations/advice, but nevertheless:
I assume, that you actually boot kernel and initrd by UEFI-entries, having nothing to do with systemd-boot in the initial phase. Your problem are the unknown kernel- and initrd-names, right?

Now, when you're using an installed system, there is always a (symbolic) link in the root-filesystem (/) pointing to the actual names: "/vmlinuz" and "/initrd.img". When you use them instead of the "real names" in the UEFI boot reference entries, a kernel-change should go by unnoticed. If your "boot to terminal" did work until now, it should just continue to do so.

If you are booting a "live" system (.iso), well I had the same "problem" or actually more nuisance myself. But when you're looking at the posting ([DE] Neutrale Kernel- und Initrd-Bezeichnung in /boot) just before yours, there "towo" showed a way to achieve the same thing - using "neutral" /vmlinuz- and /initrd-names with ISO-images. It will work with the https://testbuilds.siduction.org/kde/siduction-Masters_of_War-kde-amd64-latest.iso he kindly provided, and I do hope that this "feature" will be included in future Siduction-ISOs, too.

As to the specific "boot into terminal", I need to see, how this is (or was) done beforehand. Hopefully someone with more experience or knowledge will step up here and write something about it. But it might work, already, by just applying the changes suggested above.

All the best!

Offline mascaret

  • Newbie
  • Posts: 2
Re: Systemd-boot to Terminal
« Reply #2 on: 2023/04/13, 09:22:57 »
Hello!

Thanks for your answer, which perfectly accurate.
Hadn't noticed the symbolic links in "/".

Will update the terminal.conf entry in /loader/entries.

Have a nice day!