jaeger changed the topic of #crux to: CRUX 3.6 | Homepage: https://crux.nu/ | Ports: https://crux.nu/portdb/ https://crux.ninja/portdb/ | Logs: https://libera.irclog.whitequark.org/crux/
<farkuhar> Guest323: SiFuh has something close to what you want, but using only primary partitions, not lvm. It should be easy enough to modify, though. https://raw.githubusercontent.com/SiFuh/Documentation/master/encrypted-CRUX-without-dracut.txt
<SiFuh> You can also skip the swap rc script if you don't have swap on a seperate partition
<Guest323> farkuhar: thanks for the text, it looks promising. about to give machine a reboot with lilo and see what happens. if it stays on same situation will look into the text for more details.
<Guest323> thank you!
<Guest323> it was fun building lilo with devicemapper support to support encryption because the lilo package coming with crux is built without DM, took a while to fix all deps and errors.
<SiFuh> Guest323: Also check out this one, with dracut. But as I mentioned before the swap setup might not be what you want. It is specifically how my system has the swap since i don't use hibernation
<Guest323> appreciate! saved both links. its a server so no need for hibernation :) will give it a read if the upcoming reboot fails
<SiFuh_> Cool, I have mine re-encrypt randomnly swap on boot.
<SiFuh_> I am also using serpent cypher not the aes in that text
<Guest323> ran a similar setup before moving to bsd. used serpent-twofish-aes + whirlpool and 2 boot partitions, first boot partition unencrypted that decrypts second boot partition with first password, makes checksums of all files separately and together (kernel,initramfs...) then another password to decrypt the main partition which holds the filesystem.
<Guest323> this way it protects the data before entering the main decryption pwd. ciphers were kinda slow though probably an overkill.
<Guest323> heh. "acpi: spcr: unexpected spcr access width. defaulting to byte size. the bios has corrupted hw-pmu resources (msr 38d is 330)"
joacim has joined #crux
ivandi has quit [Ping timeout: 264 seconds]
ivandi has joined #crux
SiFuh has quit [Changing host]
SiFuh has joined #crux
SiFuh_ has joined #crux
SiFuh_ has quit [Changing host]
joacim has quit [Ping timeout: 258 seconds]
joacim has joined #crux
prologic has quit [Quit: ZNC - https://znc.in]
prologic has joined #crux
Mellowlink has quit [Ping timeout: 265 seconds]
Mellowlink has joined #crux
<SiFuh_> Heh, adjust volume per program, press pause and the volume drops below the main volume when I continue, what an annoying feature in pulseaudio
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux
tilman has quit [Ping timeout: 264 seconds]
tilman has joined #crux
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux
prologic has quit [Quit: ZNC - https://znc.in]
prologic has joined #crux
Guest323 has quit [Quit: Client closed]
SiFuh_ has quit [Ping timeout: 245 seconds]
SiFuh has quit [Ping timeout: 264 seconds]
SiFuh has joined #crux
SiFuh_ has joined #crux
lockywolf has joined #crux
Belgacem1958 has joined #crux
<cruxbot> [opt.git/3.6]: [notify] jdk8-bin: update to 8.312.07.1
<cruxbot> [opt.git/3.6]: ruby-sqlite3: fix build with latest ruby
<cruxbot> [opt.git/3.6]: ruby-ncurses: fix build with latest ruby
<cruxbot> [opt.git/3.6]: ruby-mysql: fix build with latest ruby
<cruxbot> [opt.git/3.6]: gtk-theme-adwaita: dependency fix, new intltool
<cruxbot> [opt.git/3.6]: gtk-engines: dependency fix, new intltool
<cruxbot> [opt.git/3.6]: cups-filters: dependency fix, new xorg-font-dejavu-ttf
Moth has quit [Remote host closed the connection]
Moth1 has joined #crux
Moth1 is now known as Moth
Belgacem1958 has quit [Quit: Client closed]
Belgacem1958 has joined #crux
ppetrov^ has joined #crux
<cruxbot> [opt.git/3.6]: vte: dependency fix, new intltool
<cruxbot> [opt.git/3.6]: libwnck: dependency fix, new intltool
<cruxbot> [opt.git/3.6]: graphviz: update to 2.49.2
<cruxbot> [opt.git/3.6]: php-mbstring: new dependency libpcre2
<cruxbot> [opt.git/3.6]: quota: use bash for configure, new dependency rpcsvc-proto
<cruxbot> [opt.git/3.6]: lxappearance: dependency fix, new intltool
prologic has quit [Remote host closed the connection]
Guest70 has joined #crux
<Guest70> hello. im still trying to install crux+luks+lvm on dl360 g8. i've tried multiple bootloader configs with syslinux and lilo however im encountering the same issue all over again, it starts unpacking initramfs from what i see but fails with 'could not find /dev/sda2'. i find this weird cause same initramfs and same lilo config are being used over 5
<Guest70> other virtual machines. could this be something specific with bare metal, any ideas?
<Guest70> here's my lilo.conf http://ix.io/3Chv and my init in initramfs http://ix.io/3Chw
<Guest70> i would be happy to provide more information on request
<Guest70> ive tried earlier with nullspoons mkinitramfs on setup without lvm, also same issue. then i wrote custom initramfs and to have sda2 access used major 8 minor 2 block devices created with 'cp -a /dev/sda2 ./initramfs/tree/dev/'
<Guest70> however it is unable to find 'enc_root=/dev/sda2' from appended kernel parameter. sadly when it drops to initramfs shell it has no keyboard, trying to deal with this now
<Guest70> so the cryptsetup is unable to find /dev/sda2, maybe it needs some sleep before so the system can find the devices
<Guest70> ie, if the initramfs is too fast
SiFuh_ has quit [Ping timeout: 245 seconds]
prologic has joined #crux
<braewoods> Guest70: i would make it drop to a shell so you can probe /dev
<braewoods> chances are a failure to find boot devices is a timing issue (too soon), lack of kernel support, hardware issue, or configuration issue
Belgacem1958 has quit [Quit: Client closed]
<Guest70> braewoods: initramfs does drop to a shell with 'some_command | exec /bin/sh' however with no keyboard, so i rebooted back to iso to find the corresponding kernel module, it seems its 'hid-generic.ko' included it now. will be making few boot entries with lilo now and try all of them. will be giving it a shot in half an hour and report back. thank
<Guest70> you for helping out.
<Guest70> do you know why do these timing issues happen, i experienced these before, is it due to multi-threading?
<Guest70> thank you.
<braewoods> Guest70: it's to do with variable hardware detection or startup times.
<braewoods> to know if this is the issue, you'd need to see if they appear later on in recovery shell
<braewoods> if they do you got a timing issue where you are trying to use hardware before it is ready
<braewoods> nothing to do with threading in this case
<braewoods> the most often way to deal with this is introducing a sleep delay, perhaps in combination with code for testing for the existence of devices.
<braewoods> but a bulk sleep is far simpler
<Guest70> appreciate your explanation
SiFuh has quit [Ping timeout: 258 seconds]
SiFuh has joined #crux
Moth has quit [Remote host closed the connection]
Moth has joined #crux
SiFuh_ has joined #crux
pitillo_ has quit [Ping timeout: 245 seconds]
pitillo has joined #crux
jeremyc has left #crux [#crux]
jeremyc has joined #crux
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux
<Guest70> a small update, tried going with dracut however it has its own issues with cryptsetup not asking decryption password. upon dropping to dracut shell and opening luks partition manually, more lvm issues arise. been playing around with my custom initramfs it seems for some reason 'hpsa' kmod for hp 420i raid controller is not loaded even though its
<Guest70> not built as module but built inside kernel. now im almost positive this is the issue - hpsa. will try building hpsa as module and including other module dependencies in initramfs and see where that goes.
<Guest70> the plan is to include hpsa.ko , scsi_mod.ko and scsi_transport_sas.ko to initramfs. last two are deps for hpsa.
<Guest70> all this takes time on a 0.4mbps connection :)
<SiFuh_> hpsa needs to be a module
<SiFuh_> Everything you need to access the disk to get to the kernel needs to be a module and packed into your initrd
Moth has quit [Remote host closed the connection]
Moth has joined #crux
<SiFuh_> But I don't have that issue since I use a modular kernel
<Guest70> SiFuh_: that was it, had to build hpsa as module. now thinking about it, its logical, it needs to be module so it can prepare disks for decryption, since it wasnt it couldn't find /dev/sda2. now everything is clear. it sems i was too tired and not thinking straight. cryptsetup asks for luks password, however i forgot to include whirlpool (wp512.ko)
<Guest70> so it didn't go through as expect but that is it, should boot after this fix.
<Guest70> thank you for your help, all :)
<Guest70> this is my pre-final init http://ix.io/3Cj0 will post initramfs tree once machine boots :)
<Guest70> ls -R of initramfs tree http://ix.io/3Cjd
<Guest70> ls -laR http://ix.io/3Cje
<Guest70> hopefully somebody finds this helpful, thank you
Guest70 is now known as Guest-69
Guest-69 has quit [Changing host]
Guest-69 has joined #crux
<Guest-69> booted succesffuly, hurray
<SiFuh> :-D
<SiFuh> Guest-69: pretty compact and lite
<Guest-69> :))) thank you, i have saved your links and will a bit how you did the swap encryption since im interested in that. need to reboot back to bsd. using this windows only for java/ilo/console connections. brb :)
<Guest-69> s/a bit/a bit later see/
Guest-69 has quit [Quit: Client closed]
<cruxbot> [contrib.git/3.6]: hyperfine: initial commit, version 1.12.0
<cruxbot> [contrib.git/3.6]: lfs: 1.1.0 -> 1.2.0
<cruxbot> [contrib.git/3.6]: lua-language-server: 2.4.4 -> 2.4.5
<cruxbot> [contrib.git/3.6]: python3-tzlocal: 4.0 -> 4.0.1
<cruxbot> [contrib.git/3.6]: seatd: 0.6.2 -> 0.6.3
<cruxbot> [contrib.git/3.6]: wpebackend-fdo: 1.10.0 -> 1.12.0
<cruxbot> [contrib.git/3.6]: zellij: 0.18.1 -> 0.19.0
pedja has joined #crux
stenur has quit [Remote host closed the connection]
stenur has joined #crux
<SiFuh> bountyht: https://www.youtube.com/watch?v=7gSU_Xes3GQ check this out
<bountyht> No Youtube capabilities here.
<SiFuh_> Good news for you. It is a documentary about the Chinese surveiilance system
<SiFuh_> Surveillance*
<SiFuh_> jaeger: https://morefines.com/products/morefine-s500-mini-pc A little bigger than the NUC but holy wow. It runs nice
Guest-69 has joined #crux
<Guest-69> its not only china surrveilance but everywhere surveillance. see, the same way i know you typed about surveillance but just entered the channel ;) joke aside. i haven't had yt capabilities either but used mplayer for music so thought why not yt-dlp since its python3 only dependant.
SiFuh has quit [Ping timeout: 260 seconds]
SiFuh_ has quit [Ping timeout: 252 seconds]
SiFuh has joined #crux
SiFuh_ has joined #crux
ppetrov^ has quit [Quit: Leaving]
SiFuh has quit [Ping timeout: 245 seconds]
SiFuh_ has quit [Ping timeout: 258 seconds]
SiFuh has joined #crux
Belgacem1958 has joined #crux
SiFuh has quit [Ping timeout: 264 seconds]
Belgacem1958 has quit [Remote host closed the connection]
Guest22 has joined #crux
Guest22 has quit [Client Quit]
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #crux
SiFuh has joined #crux
SiFuh_ has joined #crux
<SiFuh> Guest-69: Yeah, I use to live in Shanghai for a few years. Left just before the olympic games.
Mellowlink has quit [Ping timeout: 245 seconds]
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux
DaViruz has quit [Ping timeout: 265 seconds]
DaViruz has joined #crux
pedja has quit [Quit: Leaving]
rlittl01 has quit [Quit: -a- Connection Timed Out]
frinnst has quit [Ping timeout: 252 seconds]
Guest3681 has joined #crux
frinnst has joined #crux
Guest3681 has quit [Client Quit]
rlittl01 has joined #crux
Mellowlink has joined #crux
Mellowlink has quit [Quit: Mellowlink]
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux