💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-08-23.txt captured on 2024-05-26 at 16:22:49.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

2020-08-23T06:26:37 #kisslinux <dylanaraps> illiliti: Good job on hotplugging. Will try it out in a bit. :D
2020-08-23T10:08:12 #kisslinux <Guest58> full disk encryption , anyone was successful, that could help me ?
2020-08-23T10:09:53 #kisslinux <Guest58> trying to install grub I get this error
2020-08-23T10:09:54 #kisslinux <Guest58> https://bpa.st/UX7Q
2020-08-23T10:10:27 #kisslinux <Guest58> and this is my lsblk -f
2020-08-23T10:10:28 #kisslinux <Guest58> https://bpa.st/VX4Q
2020-08-23T10:10:46 #kisslinux <Guest58> I have tinyramfs installed
2020-08-23T10:30:57 #kisslinux <aurelain> is grub going to directly decrypt the disk?
2020-08-23T10:31:11 #kisslinux <Guest58> yes
2020-08-23T10:31:53 #kisslinux <aurelain> what is in your grub config?
2020-08-23T10:32:14 #kisslinux <Guest58> https://bpa.st/QO7Q
2020-08-23T10:34:14 #kisslinux <aurelain> this is LUKS right?
2020-08-23T10:34:29 #kisslinux <Guest58> lvm on luks
2020-08-23T10:34:37 #kisslinux <aurelain> LUKS2?
2020-08-23T10:34:48 #kisslinux <Guest58> luks1
2020-08-23T10:34:52 #kisslinux <Guest58> I think
2020-08-23T10:35:13 #kisslinux <aurelain> did you pass --type luks1 to cryptsetup?
2020-08-23T10:35:16 #kisslinux <Guest58> let me check
2020-08-23T10:35:18 #kisslinux <Guest58> I did
2020-08-23T10:35:53 #kisslinux <aurelain> are you using systemd
2020-08-23T10:36:04 #kisslinux <Guest58> No
2020-08-23T10:36:14 #kisslinux <Guest58> I just checked and its luks1
2020-08-23T10:36:34 #kisslinux <Guest58> I am just following kiss wiki but trying to make a full disk encryption
2020-08-23T10:36:45 #kisslinux <aurelain> rd.luks.name is a systemd thing
2020-08-23T10:36:50 #kisslinux <aurelain> use cryptdevice=
2020-08-23T10:38:19 #kisslinux <Guest58> Pretty sure I had that rd.luks on runnit
2020-08-23T10:38:21 #kisslinux <aurelain> also for cryptdevice its cryptdevice=UUID=DEVICE_UUID:LVMNAME
2020-08-23T10:38:28 #kisslinux <Guest58> But I changed to that
2020-08-23T10:38:31 #kisslinux <aurelain> in your case LVMNAME is cryptlvm
2020-08-23T10:38:33 #kisslinux <Guest58> And get the same error
2020-08-23T10:39:02 #kisslinux <Guest58> but the root partition is
2020-08-23T10:39:17 #kisslinux <Guest58> dev / kiss /root right ?
2020-08-23T10:39:25 #kisslinux <aurelain> yes
2020-08-23T10:39:44 #kisslinux <aurelain> both rd.luks.name and cryptdevice take the VG name
2020-08-23T10:40:05 #kisslinux <Guest58> pretty sure my vg name is kiss
2020-08-23T10:40:12 #kisslinux <Guest58> but here is my updated grub config
2020-08-23T10:40:21 #kisslinux <aurelain> *pvname
2020-08-23T10:40:21 #kisslinux <aurelain> sorry
2020-08-23T10:40:21 #kisslinux <Guest58> https://bpa.st/AF3A
2020-08-23T10:40:54 #kisslinux <Guest58> And this is the error: https://bpa.st/O7BQ
2020-08-23T10:42:00 #kisslinux <aurelain> you are calling grub-install incorrectly
2020-08-23T10:42:22 #kisslinux <aurelain> dont pass the disk
2020-08-23T10:42:49 #kisslinux <Guest58> so without efi-directory ?
2020-08-23T10:42:56 #kisslinux <aurelain> no
2020-08-23T10:42:59 #kisslinux <aurelain> without the disk
2020-08-23T10:43:04 #kisslinux <aurelain> right now you are passing /dev/sda as the disk
2020-08-23T10:44:09 #kisslinux <Guest58> thanks, the same error still ocurring
2020-08-23T10:44:11 #kisslinux <Guest58> https://bpa.st/MSUQ
2020-08-23T10:44:25 #kisslinux <aurelain> try using an alternative disk path
2020-08-23T10:44:33 #kisslinux <aurelain> such as the one under /dev/kiss/root
2020-08-23T10:45:13 #kisslinux <Guest58> could you explain more ? On efi directory I pass /dev/kiss/root ?
2020-08-23T10:45:25 #kisslinux <aurelain> no
2020-08-23T10:45:31 #kisslinux <aurelain> in your grub.cfg
2020-08-23T10:45:36 #kisslinux <aurelain> the root is currently set to /dev/mapper/kiss-root
2020-08-23T10:45:42 #kisslinux <aurelain> try using /dev/kiss/roiit
2020-08-23T10:46:20 #kisslinux <Guest58> Oh okay, I already had that
2020-08-23T10:46:29 #kisslinux <Guest58> and changed it to /dev/mapper
2020-08-23T10:46:48 #kisslinux <Guest58> grub : https://bpa.st/OT2A
2020-08-23T10:47:08 #kisslinux <Guest58> error: https://bpa.st/OP3Q
2020-08-23T10:47:17 #kisslinux <aurelain> you also do not need cryptdevice
2020-08-23T10:48:18 #kisslinux <Guest58> didn't get that sorry
2020-08-23T10:48:31 #kisslinux <Guest58> Are you saying to delete the cryptdevice=UUID*
2020-08-23T10:48:36 #kisslinux <aurelain> in your grub.cfg, the cryptdevice flag is useless
2020-08-23T10:49:29 #kisslinux <Guest58> grub : https://bpa.st/K77Q
2020-08-23T10:49:31 #kisslinux <Guest58> like this ?
2020-08-23T10:49:52 #kisslinux <aurelain> yes
2020-08-23T10:50:08 #kisslinux <Guest58> the error is the same
2020-08-23T10:50:27 #kisslinux <aurelain> you are booted into the KISS system, right?
2020-08-23T10:50:31 #kisslinux <Guest58> honestly I don't know what I am missing , installed lvm2 and cryptsetup
2020-08-23T10:50:34 #kisslinux <aurelain> or are you on an installation usb
2020-08-23T10:50:46 #kisslinux <aurelain> are you booted into the system?
2020-08-23T10:50:47 #kisslinux <Guest58> Still on the usb chrooting
2020-08-23T10:50:55 #kisslinux <aurelain> oh
2020-08-23T10:51:01 #kisslinux <aurelain> did you activate the volume group?
2020-08-23T10:51:08 #kisslinux <aurelain> vgchange -ay cryptlvm
2020-08-23T10:52:22 #kisslinux <Guest58> https://bpa.st/NOAA
2020-08-23T10:52:56 #kisslinux <Guest58> I didn't because I formatted right before chrooting so it's a new vgroup
2020-08-23T10:53:07 #kisslinux <Guest58> I created before mounting the disk
2020-08-23T10:53:33 #kisslinux <aurelain> ah
2020-08-23T10:53:34 #kisslinux <Guest58> Now that I am thinking of it
2020-08-23T10:53:45 #kisslinux <Guest58> I think I missed the creation of pv
2020-08-23T10:53:46 #kisslinux <aurelain> well activate the kiss volume group
2020-08-23T10:53:53 #kisslinux <aurelain> oh
2020-08-23T10:53:54 #kisslinux <Guest58> and skipped to vg
2020-08-23T10:54:02 #kisslinux <aurelain> oof
2020-08-23T10:54:03 #kisslinux <Guest58> I need a pv right ?
2020-08-23T10:54:04 #kisslinux <aurelain> you might want to fix that
2020-08-23T10:54:09 #kisslinux <Guest58> damm
2020-08-23T10:54:11 #kisslinux <aurelain> Yes
2020-08-23T10:54:39 #kisslinux <aurelain> also you might want to just use a non-encrypted /boot
2020-08-23T10:54:45 #kisslinux <aurelain> LUKS2 is better than LUKS1
2020-08-23T10:54:49 #kisslinux <Guest58> And the only way is to reformat and start over right ?
2020-08-23T10:54:59 #kisslinux <aurelain> Yes
2020-08-23T10:55:36 #kisslinux <Guest58> The steps are the same right ? I just need to not uncomment the right GRUB_ENABLE_CRYPTODISD
2020-08-23T10:55:38 #kisslinux <Guest58> ?
2020-08-23T10:55:48 #kisslinux <aurelain> yes
2020-08-23T10:55:49 #kisslinux <Guest58> to not make the boot folder "encrypted"
2020-08-23T10:56:00 #kisslinux <Guest58> Thanks I am going to start over then : )
2020-08-23T10:56:03 #kisslinux <aurelain> you also need to install linux and associated files to a non-encrypted partiton
2020-08-23T10:56:09 #kisslinux <aurelain> Alright
2020-08-23T12:06:15 #kisslinux <protonesso> > rd.luks.name is a systemd thing
2020-08-23T12:06:26 #kisslinux <protonesso> aurelian: not only
2020-08-23T12:06:32 #kisslinux <protonesso> It used by dracut in general
2020-08-23T12:07:19 #kisslinux <protonesso> https://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
2020-08-23T12:07:27 #kisslinux <protonesso> Can work with/without systemd
2020-08-23T12:08:23 #kisslinux <protonesso> aurelain*
2020-08-23T12:53:10 #kisslinux <DeusExMachina> Test1
2020-08-23T13:20:33 #kisslinux <Guest67> still haven't been able to make full disk encryption work ...
2020-08-23T13:23:58 #kisslinux <Guest67> here is my grub cfg : http://pastie.org/p/2Oa4wNKB9gjlnGH3xvLbz2
2020-08-23T13:24:20 #kisslinux <Guest67> Ups thats the error that it gives
2020-08-23T13:24:24 #kisslinux <Guest67> this is my grub cfg
2020-08-23T13:24:45 #kisslinux <Guest67> http://pastie.org/p/14ZhWc1mf5LIoMwFcU9n0D
2020-08-23T13:25:14 #kisslinux <Guest67> lsblk -f : http://pastie.org/p/6mn5yQkyT5wRprEQQxvMH3
2020-08-23T13:26:53 #kisslinux <Guest67> Any help is appreciated !
2020-08-23T13:27:13 #kisslinux <Guest67> Forgot to mention , still chrooting
2020-08-23T15:17:46 #kisslinux <bjoernfan> Just thinking out loud here... I'm trying to build the kernel, but it looks like objtool wants to run diff -I which doesn't come with busybox. Not sure if maybe I checked something I shouldn't have in menuconfig, but don't think that's it. Let's see if I can untagle this..
2020-08-23T15:23:29 #kisslinux <bjoernfan> tools/objtool/sync-check.sh is exanding $* to -I ... -I ...
2020-08-23T15:24:12 #kisslinux <bjoernfan> Oh, it's at the bottom of the file, eheh
2020-08-23T15:26:30 #kisslinux <bjoernfan> That wasn't the real issue anyway, dopidoo
2020-08-23T15:29:27 #kisslinux <bjoernfan> Okay, I have some reading to do. :)
2020-08-23T15:57:41 #kisslinux <bjoernfan> 5.7.17 worked better than 5.8.3
2020-08-23T16:14:51 #kisslinux <micr0> o/
2020-08-23T16:22:38 #kisslinux <micr0> whats the posix shell equivalent of the zsh construct `REPOSITORY_PATH=${KISS_REPOSITORY_PATH:-/var/db/kiss/repos}`
2020-08-23T17:23:21 #kisslinux <bjoernfan> micr0: I'm not fluent in shell, but maybe it's featured on bash pitfalls (https://mywiki.wooledge.org/BashPitfalls) or shellcheck might be able to figure that out for you
2020-08-23T17:38:34 #kisslinux <micr0> shellcheck checks for bashisms, so thats neat
2020-08-23T17:38:47 #kisslinux <micr0> and #bash said that its posix so *shrug*
2020-08-23T17:38:59 #kisslinux <micr0> i'm thinking of splitting out all my repo- packages into a repository repository
2020-08-23T17:39:07 #kisslinux <micr0> so people can just use that to add or remove repositories
2020-08-23T17:39:12 #kisslinux <micr0> its been working well for me so far
2020-08-23T17:40:29 #kisslinux <micr0> I also have an *insane* graphical bug, which shows up in firefox (and i guess any gtk app but thats the only one i use)
2020-08-23T17:40:37 #kisslinux <micr0> fi renders as a phone icon, instead of f i
2020-08-23T17:40:43 #kisslinux <micr0> like its a phone ligature or something
2020-08-23T17:40:53 #kisslinux <micr0> so like wifi looks like wi:phone:
2020-08-23T17:45:30 #kisslinux <micr0> https://wiki.archlinux.org/index.php/Font_configuration/Examples#Disable_ligatures_for_monospaced_fonts LUL
2020-08-23T17:50:07 #kisslinux <micr0> k, disabled ligatures in firefox to fix it O_O
2020-08-23T20:17:40 #kisslinux <bjoernfan> micr0: Hah, haven't seen that before
2020-08-23T20:19:25 #kisslinux <bjoernfan> Okay, I got somewhere! "!! failed to lookup partition" is where I will continue whenever the next time I have time is. :) Got an initrd via tinyramfs (I had to rename the produced file to /boot/initramfs-kernelversion for grub-mkconfig to find it... apparently. The other issues were mainly compiling the right things into the kernel. I'm using LVM, because why make things easy.
2020-08-23T20:19:58 #kisslinux <bjoernfan> Anybody got any favorite Live Linux dists? Using Kali atm, works okay. Bet there's something better for doing this on a VM though.
2020-08-23T22:07:31 #kisslinux <bjoernfan> Okay, I kept at it a bit, works alright now. :) Managed to have grub output over libvirt serial and have a new ttyS0 started for login as well. I'm not getting any networking though, I believe I have all virtio drivers in the kernel. I would use lshw but... don't have that. Any pointers welcome.
2020-08-23T22:07:41 #kisslinux <bjoernfan> CONFIG_VIRTIO_BLK=y
2020-08-23T22:07:41 #kisslinux <bjoernfan> CONFIG_VIRTIO_NET=y
2020-08-23T22:13:45 #kisslinux <j`ey> I guess CONFIG_INET is on?