The officially official Devuan Forum!

You are not logged in.

#201 Re: Installation » [SOLVED] moving /-partition to LVM after installation (Devuan 4) » 2023-10-29 15:11:48

I shouldn't have marked this as solved. The problem with initrd still remains. With my new laptop the automagic of mkinitramfs didn't do it's job properly for some reason. I have to learn the hard way to do things with initrd.
This time no root on lvm but still.

#202 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-10-29 14:54:57

nahkhiirmees wrote:

I guess i should have changed tables rules and install+configure dns stuff *before* i started removing unnecessary packages. The removal of unnecessary packages caused removal of iptables also and after that things went kind of complicated.

Anyways, dd or cp from hdd to sdd is still an option.

Btw, this time i didn't configure dnsmasq or iptables by hand. Instead i extracted files from tar, "cd /;tar -f /somedir/archive.tar -x ./etc".
First it seemed like a good way to save time. Not necessarily if the files are rotten like the scripts are.

Tried also that "dd trick". No problems with copying "dd if=/dev/external_disk/partition of=/dev/internal_disk/partition" . Or with "cp -a /external/dir /internal/dir". Some of the ssd's partitions weren't exactly same size as the hdd's.

But making grub boot from those extra-partitions was a problem.
Tried copying vmlinuz and initrd from hdd's version of /boot to ssd's /boot and reconfiguring grub ... once or twice i started getting complaints about shim. Had to reinstall Chimaera to get rid of those complaints. (Maybe grub-install could have fixed the problem also.)

On the other hand, chrooting into hdd's version of /-partition+mkinitramfs -o /boot/initrd.img.new + update-grub ... didn't ruin grub, but that new initrd didn't work either. I got many messages like "UUID=12356-789-xxx...". So it looks like the new initrd couldn't find the root partition at all.

Is there a way i can configure initrd so that it doesn't use UUID:s for anything at all? The situation is very simple: underlying device for root partition is /dev/sdax , cryptsetup inside initrd should use that to make /dev/root_partition available. How do i say this simple thing to that idiotic initrd?

#203 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-10-28 18:30:49

I guess i should have changed tables rules and install+configure dns stuff *before* i started removing unnecessary packages. The removal of unnecessary packages caused removal of iptables also and after that things went kind of complicated.

Anyways, dd or cp from hdd to sdd is still an option.

#204 Re: Off-topic » Music » 2023-10-28 18:21:12

https://www.youtube.com/watch?v=KSfL0w-l7AE OBITUARY - Dying of Everything it seems that they made some improvements after Frozen In Time. That one was a disappointment.

#205 Re: Devuan » A report about systemd on linuxnews.de » 2023-10-28 18:14:47

fest3er wrote:

NetworkMangler has its place: non-experts who just want networking to work. I sometimes add 1 or 100 or 1000 primary and secondary IP addresses to an IF for testing. The Mangler says, "Hey! I didn't put these addresses here! Delete! Delete! Delete! Hey! If you want to make a change to networking, *ASK ME*! Don't try to go around me!"

That reminds me of avahi. It got in my way when i tried if it is possible to do thing x with dnsmasq. Some webpages have also considered avahi as a security risk.

I guess distros with systemd work in a sense that i can run firefox and vlc and virtualbox and stuff like that.
But i'm not fully convinced it is a way to go. On the other hand i sometimes wonder if all those scripts related to sysvinit are absolutely necessary, could you do things another way instead? Make init or inittab do the jobs of those rc-scripts somehow?

But i'm more familiar with shellscripts and maybe Python and Docker than i'm with C so i guess for now i use sysvinit and that's it.
Familiar in the sense that i can be dangerous with them, i mean smile

#206 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-10-28 17:53:33

The installation process is not impossible with that machine. It seems that problems start when i log in and try to make things like iptables and dnsmasq work properly. So far there have been some collateral damage with the attempts. Not using those faulty scripts anymore but still.

#207 Re: DIY » sudo and slim » 2023-10-28 17:46:09

chris2be8 wrote:
nahkhiirmees wrote:

One day i had complaints from every https site i tried to visit. The reason was:the hardware decided that current time is january 2002.

That sounds like the battery for the real time clock is going flat. And might cause it to forget changes you made to the BIOS settings (or just randomly change settings). Replacing the battery would be a good start, then check all the BIOS settings.

Again i think that bios battery is not the whole story. With my "new" desktop things have detoriorated to a situation where it won't boot even from hard disk. I get complaints from bios instead.

I have changed battery 2 or 3 times this year. Tried also returning bios settings to factory defaults once or twice. Changed sata cables also, just in case.
Very interesting problem indeed. Unfortunately i have some things to do, preferably within a deadline. So now is not a good time for further research.

In a way this reminds me the last seasons of Stargate, there were this bad guy called Anubis. He had to change hosts often.

#208 Re: Installation » [SOLVED] moving /-partition to LVM after installation (Devuan 4) » 2023-10-28 17:34:09

Note to myself, over a year later:in chroot environment mkinitramfs is a better idea than update-initramfs.

#209 Re: DIY » sudo and slim » 2023-10-28 17:22:45

For a while i thought that wrong access rights in /tmp-directory was a root of all problems i've been lately having with Devuan. Now i'm not so sure anymore. This morning i tried again installling Devuan into Fujitsu. With chimaera desktop image on a stick i mostly made it working.

Then i screwed up something, again. (Being tired enough is not so different from being drunk. ) Could't login as a normal user even after chmod 777 /tmp. And also something went wrong with "iptables/dnsmasq/dhclient"-side of things in the sense that apt didn't work. There were some complaints related to name service.

Again it seems necessary to find a software less difficult than slim.
I don't think sudo is a problem anymore.

#210 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-07-11 23:51:25

1. using "-p" with "tar -x" is a Bad Idea
2. changing access rights of /tmp is to be avoided at any cost

those facts have become very clear.

#211 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-07-11 00:09:16

nahkhiirmees wrote:

I have retuned on this subject. Last weekend i downloaded and burned the amd64 iso from
press ctrl+alt+another_function_key , enter normal_user as login and normal_passwd as passwd, i can get in but "su -" is still not working.
I wonder if there is something weird going on with Chimaera and pam or if the scripts are to blame. Propably the latter one. I guess i will try again soon.

Now i have confirmed that the scripts are cause for "su"-related problems. Command "su -" worked as normal user before.
So now i have to rewrite the scripts from scratch, preferably up-down-style this time, AND inside a virtual machine so that the damage to host os is limited to absolute minimum.

Maybe some day i have a working Devuan in my desktop's harddrive. After that it is time to find out if that dd-trick works with Fujitsu.

#212 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-07-10 18:19:13

I have retuned on this subject. Last weekend i downloaded and burned the amd64 iso from https://files.devuan.org/devuan_chimaera/desktop-live/ . Tried to install on my desktop.
X worked. Sudo worked. Those scripts i mentioned earlier worked too, maybe too well i'm afraid. Those scripts were supposed to remove some not-so-necessary-packages but xorg and xfce4 became collateral damage. Not so big deal. I can reinstall those.

But then i noticed that  "su -" is still not working. Ctrl+alt+function_key + root as login+root_password and i can login as root. But if i press ctrl+alt+another_function_key , enter normal_user as login and normal_passwd as passwd, i can get in but "su -" is still not working.
I wonder if there is something weird going on with Chimaera and pam or if the scripts are to blame. Propably the latter one. I guess i will try again soon.

What i would like to know:is it possible to have "su -" working without Ubuntu-style-sudo ?

#213 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-08 19:22:46

nahkhiirmees wrote:

And there's also the issue with mouse and X. Latter is useless without former.

Also reconfigured most of the installed packages so that i could kill X with ctr+alt+backspace. After reconfiguration that combination still doesn't work.
Btw, why there's no configuration file for X under /etc/X11 ?

It starts to look like quicker just to copy contents of my old laptop's ssd into new laptop's ssd. I mean, if i can trust that the install stick and usb-storage module still works. I have noticed that the memory sticks and cards today tend to be use-once-and-throw-away garbage.

#214 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-08 18:36:14

i found these lines in /var/log/auth.log:

unix_chkpwd[xxxx]: check pass: user unknown
unix_chkpwd[xxxx+1]: check pass: user unknown
unix_chkpwd[xxxx+1]: password check failed for user (root)
su: pam_unix(su-l:auth) ; authentication failure logname=<normal_user> uid=<uid> euid=<uid> tty=tty2 ruser=<normal_user> rhost= user=root

so maybe a pam problem or pam problem in a sense that a package or a configuration file is missing.

#215 Re: Installation » [solved] partioning server/NAS » 2023-05-08 18:09:01

What kind of installation media are you planning to use? Those which have Refractainstaller or netinstall ?

#216 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-08 18:06:42

Now i think that Fujitsus's keyboard is not to blame. Just temporarily forgot why there is "function lock"-key smile I can get into other tty's , not just tty1.
And i can log in as a normal user so caps lock should be fine. But it doesn't matter which tty i use, still "su -" results in "Authentication failure". But logging in as "root" , without su, works.

Edit. Found these: https://unix.stackexchange.com/question … ng-as-root https://access.redhat.com/solutions/22684 may be related.

And there's also the issue with mouse and X. Latter is useless without former.

#217 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-08 15:40:46

zapper wrote:

Which tty are you using to log in?

Usually tty1-tty4 work and in my experience, the others are not so great and refuse to work.

I could get in only into 1 tty. I'll soon check what /etc/inittab says. Maybe something is still missing or Fujitsu's keyboard is a bit faulty.

It kind of made sense that i cannot get into root account by using "su -" if i enter wrong password too many times. But now i think that it could be unrealiable caps lock key/light also.

#218 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-07 04:38:47

"su: authentication failure". Makes me think that i have "locked myself out", kind of. Got the password wrong too many times, i mean.

#219 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-07 03:58:45

More successful attempt this time.
I can log in as root. And as a normal user.
But i cannot get into root account by saying "su -" (as a normal user). Have to add "man su" into my reading list to find out why.

Some of the weird behaviour can be explained by the absence of sudo. I had some scripts to automate some tasks. Those scripts required sudo and there was none. Also there were some dependencies that i missed. That's why netfilter-persistent didn't work.
It have become clear that last year when i previously tried Devuan netinstall, i didn't pay attention to that "sudo-situatopn". Root-on-lvm was more important.

X works. But the "pad" and external mouse don't. Are people still configuring X or does that happen automagically?

This time i think i try alternatives for slim and xfce. Lxdm seems to attract libavahi and libcups so maybe not that.

#220 Re: Off-topic » Music » 2023-05-06 17:13:18

https://www.youtube.com/watch?v=JeSoiFEHqQc  on one hand this reminds me of Rammstein. On the other, some folk metal bands.

#221 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-06 17:10:12

One thing i noticed while going through UEFI settings:it has been updated last ... december. So in theory that update could have complicated the process.

Now i have new stick for round #2. First I thought that i'll copy Daedalus into it. But i can't find SHA256SUMS or SHA256SUMS.asc in https://files.devuan.org/devuan_daedalus/installer-iso/ . What's up with that?
Maybe i''l stick to Chimaera for now  and confirm that the dvd's i have are intact before dd.

Lack of sudo was 1 thing that made me think that there's something wrong with install medium. Problems with /e/i.d/netfilter-persistent and stubby another.
I also find "Ubuntu-style-sudo or no sudo at all"-attitude bit childish. Or i'm just not that much into Manowar smile

Let's see how it goes this time.
It is not first time that i use Devuan/Debian netinst cd/dvd or expert mode. But it seems that i have been installing too much into easy hardware.

#222 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-05 14:26:51

nahkhiirmees wrote:

Long story short:has anyone here tried installing Devuan into that machine mentioned in the subject? How should i configure the UEFI/BIOS before installation for example? Are there some kind of options i should enter into the boot prompt before going to expert install?

So have anyone here tried to install into that machine mentioned in the subject? Is it enough just to enable boot menu and disable secureboot? Or are there other settings i should change before install? And how about those commandline options?

Just in case of scratched dvd or crappy usb stick, i'll buy new ones, hoping that at least 1 of them works. And download latest iso for a new attempt.
But i have to say, the process have been more difficult than usual.
The machine boots and i can log into it, as a normal user. X works also. But that's all there is to it.
This week i was supposed to install Docker and do some things with it. But without root password it is challenging to install anything.
And if i cannot trust that nefilter-persistent works , maybe i shouldn't connect rj45-cable at all.

BTW, which one is considered a worse blasphemy here? Installing Ubuntu or installing Windows?
Just kidding.

#223 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-05 00:03:18

Oh yes, i found the lack of sudo weird, that's why i mentioned it. I thought that it would come with netinst, but after the installation i got complaints about that command. Didn't find /etc/sudoers either. So maybe the netinst disk was scratched or the stick was faulty or something completely different.

And netfilter-persistent not doing what it was supposed to, that was weird also.
I had a similar experience during 2008. Debian 4 install disk had kernel 2.6.18 which was not new enough for the hardware i had then. Had to wait until 2.6.24, if i remember correctly. That kernel co-operated with the hardware i had.

Maybe i'll try installing D again into that Fujitsu. But now it is not a good time for that.

#224 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-04 19:46:10

Actually there is some "real work" that i need to get done. So now it is not a best time for fighting against this particular hardware+software-combination.
But it's bugging me.

#225 Re: Off-topic » Regarding FDE - /Boot and gparted in vms, reason why its in OT below: » 2023-05-04 19:30:53

For some reason "man crypsetup" sounds like a good idea in that situation. Or at least i don't think that gparted is the right tool. If i remember correctly there may be some options(with command cryptsetup) which have something to do with resizing.

Board footer

Forum Software