The officially official Devuan Forum!

You are not logged in.

#201 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 ?

#202 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.

#203 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.

#204 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.

#205 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.

#206 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.

#207 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.

#208 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.

#209 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.

#210 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.

#211 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.

#212 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-04 19:20:47

I am planning to re-install Devuan into my desktop also. Unfortunately this time it is a bit difficult to copy the contents of desktop's hd into laptops SSD.
The ssd doesn't have SATA connector. I think it's m.2 or something like that.

#213 Re: Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-04 18:51:32

I spent last night fighting with aforementioned combination. The actual install process went relatively easy. Copy contents of Devuan 4 netinst dvd into usb stick, with dd, after that when you finally manage to get into the boot menu, it is pretty straightforward. After the install there were all kinds of complications.

First i noticed that there is no sudo. Well, "Ubuntu-style sudo" is annoying but i would like to be able to say:"sudo /sbin/shutdown -h now" instead of "su -"+"/sbin/shutdown -h now". So i'll copy the .deb -file containg sudo and some other files from desktop to stick and from stick to laptop.
After some tweaking i decide it is time to "/sbin/ifup eth0" and after that "apt-get update;apt-get upgrade -u". Then apt starts to complain. I remember "oh yes, the iptables rules could be outdated, lets edit them so that the name servers of my ISP are included". Then "nefilter-persistent restart". Still apt complains. And i notice that the rules haven't changed. OK, i'll say "/usr/sbin/iptables-restore /etc/iptables/rules.v4" . Now the dns-rules are ok, apt doesn't complain.

When trying to install stubby there were some complaints. So i edit the configuration files and create necessary users. Something else caught my attention so i forgot stubby for a while,

Finally i get to log into x . I say "su -" so that i can do some things, including editing sudoers for that shutdown-thing. I can't get in as root. I guess i remember the password wrong. So i reboot with install stick and enter rescue mode and change the password. I have to do that 4 times in a row and still can't get in as root.
I can be clumsy sometimes but not that clumsy. And there were also an episode where something went wrong with grub. Not sure why, but i didn't get into grub menu. Fortunately i manage to enter commands to load grub.cfg from /boot-partition.

When the sun rises i have become so exhausted that i decide to go to sleep and continue fighting another day.
No sure if i got stubby working or not.

There were always something. But I like to think that the situation is not hopeless.
I already did some searching with Google and duckduckgo but haven't found anything useful yet.

UEFI settings are 1 line of investigation and commandline options another. And trying more recent version of Devuan the third.

#214 Installation » [SOLVED] Fujitsu Lifebook U728 + Devuan 4 » 2023-05-04 18:34:45

nahkhiirmees
Replies: 70

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?

#215 Re: Off-topic » Music » 2023-05-04 18:26:57

Last weeks i have been mostly listening to My Dying Bride. For example:
https://www.youtube.com/watch?v=2P-vaGs8GRg  The Raven and the Rose (Live)
sounds interesting.

#216 Re: Off-topic » Music » 2023-05-04 18:20:58

https://www.youtube.com/watch?v=FH7dVNfzSgg
Don't Blame It All On The Alcohol Hugh X Lewis

not my cup of tea but the lyrics amuse me.

#217 Re: Other Issues » sha512sum... » 2023-05-04 18:15:42

I have been planning to reinstall os to my desktop so when i get that done, i hope that all the weird behaviour goes away or i find out if my hardware is faulty.

#218 Re: Other Issues » sha512sum... » 2023-05-04 18:11:04

I looked at those pre-mentioned scripts again. And then remembered that first i commented out the rows that generated the partial digests. And after that, removed most of the commented lines. So now it is bit difficult to reproduce the problem-causing files.
Anyways, i found a partial digest file and uploaded it to pastebin.com . It looks a bit weird(i mean those empty lines, not filenames, those are obfuscated) but "sha512sum -c" didn't complain. pastebin.com/4aCjnCLe
I can show which commands i used to make that file. For...do...done, awk, echo and sha51sum were used. That much i can tell.
Mostly pointless, i know.

#219 Re: Other Issues » sha512sum... » 2023-02-17 21:43:02

I have taken account the path. I think the problem are some non-visible characters in the lists. Making the hash list in many parts seemed like a good idea for a while but now i'm not so sure anymore. Maybe i'll upload the full file or partials into pastebin some day.

#220 Re: DIY » sudo and slim » 2023-02-17 21:35:07

Altoid wrote:

Hello:

~$ aptitude why libcups3
E: No package named "libcups3" exists.
~$ 

Maybe it is just a chimaera thing?

Best,

A.

I think i have mixed libcups2 with libavahi3 when writing the previous messages.
Anyways, can i configure apt in a way that it downloads/installs only the "Depends" packages ?

#221 Re: Off-topic » Music » 2023-02-17 19:39:30

https://www.youtube.com/watch?v=bjOG0meK-vk Junkhead (Alice In Chains)

beginning of song sounds a bit like Black Sabbath. Although singer is not Ozzy.

#222 Re: Other Issues » sha512sum... » 2023-02-17 19:23:11

ralph.ronnquist wrote:

Are those the actual commands?
Are the files in a/athe same as in a/?
Or have you transcribed into some notional commands to illustrate what you wanted to do?
(or actually a near miss thereof)

I don't think any of your options applies, since it very likely is just a user error.

The actual commands are a bit different from the previous posts. I thought i could reproduce the problem that way but no.

The basic idea is:"copy files mentioned in this list, from source to destination and make also a list of digests containing almost all of the mentioned files".

for file in $list do
  cp $sourcedir/$file $destdir
  tmp=$(sha512sum $sourcedir/$file | grep -v $not_this_file)
  echo $tmp >> part1.txt
done

sha512sum $sourcedir/*.zz > part2.txt
cp $sourcedir/*.zz $destdir
cp part*.txt $destdir

cd $destdir
mv part1,txt sums.txt
cat part2.txt >> sums.txt

would be a very close approximation to the actual script. I guess it's the second or third row inside for-loop where things go wrong. Haven't found yet a perfect solution. With awk, i got rid of most of the complaints from "sha512sum -c".

#223 Re: Other Issues » sha512sum... » 2023-02-17 19:12:12

nahkhiirmees wrote:

Should it be possible, to combine a working digest list from smaller ones, with cat, mv and sha512sum?

I'll answer to myself:it is possible.

#224 Re: Other Issues » sha512sum... » 2023-02-17 15:39:33

Should it be possible, to combine a working digest list from smaller ones, with cat, mv and sha512sum?

#225 Re: Other Issues » sha512sum... » 2023-02-17 13:58:05

Last night, while trying to distillate the essential parts of the problem, it seems that i was not precise enough. Noise is needed along with the signal.
Another try:

Try 1

mount /dev/sdaX /mnt/a -o ro
mount /dev/sdaY /mnt/b -o rw

cp /mnt/a/*.xx /mnt/b
cp /mnt/a/*.yy /mnt/b
cp /mnt/a/*.zz /mnt/b
cd /mnt/b
sha512sum ./* > sums.txt
sha512sum -c sums.txt

sha512sum says the files in the list are all OK
after that another round:

umount /mnt/a
rm -rf /mnt/b/*
mount /dev/sdaX /mnt/a -o ro
cd /mnt/a
sha512sum ./*.xx > part1.txt
sha512sum ./*.yy >> part1.txt
sha512sum ./*.zz > part2.txt
cp /mnt/a/*.xx /mnt/b;cp /mnt/a/*.yy /mnt/b;cp /mnt/a/*.zz /mnt/b;cp /mnt/a/part*.txt /mnt/b
cd /mnt/b
mv part1.txt sums.txt
cat part2.txt >> sums.txt
sha512sum -c sums.txt

and only .xx files receive OK from sha512sum -c .
.zz files are supposed to change more often than .yy files and .yy files are supposed to change more often than .xx - files. So it seemed like a good idea to split the file sums.txt in 3 parts. Or to be more precise, build the file sums.txt from 2 or 3 files.

I tried to look at those .txt files with hexdump. I may have found the characters that cause the problem with "sha512sum -c" but i haven't figured out how to get completely rid of them.

Board footer

Forum Software