2020-08-23T06:26:37 #kisslinux illiliti: Good job on hotplugging. Will try it out in a bit. :D
2020-08-23T10:08:12 #kisslinux full disk encryption , anyone was successful, that could help me ?
2020-08-23T10:09:53 #kisslinux trying to install grub I get this error
2020-08-23T10:09:54 #kisslinux https://bpa.st/UX7Q
2020-08-23T10:10:27 #kisslinux and this is my lsblk -f
2020-08-23T10:10:28 #kisslinux https://bpa.st/VX4Q
2020-08-23T10:10:46 #kisslinux I have tinyramfs installed
2020-08-23T10:30:57 #kisslinux is grub going to directly decrypt the disk?
2020-08-23T10:31:11 #kisslinux yes
2020-08-23T10:31:53 #kisslinux what is in your grub config?
2020-08-23T10:32:14 #kisslinux https://bpa.st/QO7Q
2020-08-23T10:34:14 #kisslinux this is LUKS right?
2020-08-23T10:34:29 #kisslinux lvm on luks
2020-08-23T10:34:37 #kisslinux LUKS2?
2020-08-23T10:34:48 #kisslinux luks1
2020-08-23T10:34:52 #kisslinux I think
2020-08-23T10:35:13 #kisslinux did you pass --type luks1 to cryptsetup?
2020-08-23T10:35:16 #kisslinux let me check
2020-08-23T10:35:18 #kisslinux I did
2020-08-23T10:35:53 #kisslinux are you using systemd
2020-08-23T10:36:04 #kisslinux No
2020-08-23T10:36:14 #kisslinux I just checked and its luks1
2020-08-23T10:36:34 #kisslinux I am just following kiss wiki but trying to make a full disk encryption
2020-08-23T10:36:45 #kisslinux rd.luks.name is a systemd thing
2020-08-23T10:36:50 #kisslinux use cryptdevice=
2020-08-23T10:38:19 #kisslinux Pretty sure I had that rd.luks on runnit
2020-08-23T10:38:21 #kisslinux also for cryptdevice its cryptdevice=UUID=DEVICE_UUID:LVMNAME
2020-08-23T10:38:28 #kisslinux But I changed to that
2020-08-23T10:38:31 #kisslinux in your case LVMNAME is cryptlvm
2020-08-23T10:38:33 #kisslinux And get the same error
2020-08-23T10:39:02 #kisslinux but the root partition is
2020-08-23T10:39:17 #kisslinux dev / kiss /root right ?
2020-08-23T10:39:25 #kisslinux yes
2020-08-23T10:39:44 #kisslinux both rd.luks.name and cryptdevice take the VG name
2020-08-23T10:40:05 #kisslinux pretty sure my vg name is kiss
2020-08-23T10:40:12 #kisslinux but here is my updated grub config
2020-08-23T10:40:21 #kisslinux *pvname
2020-08-23T10:40:21 #kisslinux sorry
2020-08-23T10:40:21 #kisslinux https://bpa.st/AF3A
2020-08-23T10:40:54 #kisslinux And this is the error: https://bpa.st/O7BQ
2020-08-23T10:42:00 #kisslinux you are calling grub-install incorrectly
2020-08-23T10:42:22 #kisslinux dont pass the disk
2020-08-23T10:42:49 #kisslinux so without efi-directory ?
2020-08-23T10:42:56 #kisslinux no
2020-08-23T10:42:59 #kisslinux without the disk
2020-08-23T10:43:04 #kisslinux right now you are passing /dev/sda as the disk
2020-08-23T10:44:09 #kisslinux thanks, the same error still ocurring
2020-08-23T10:44:11 #kisslinux https://bpa.st/MSUQ
2020-08-23T10:44:25 #kisslinux try using an alternative disk path
2020-08-23T10:44:33 #kisslinux such as the one under /dev/kiss/root
2020-08-23T10:45:13 #kisslinux could you explain more ? On efi directory I pass /dev/kiss/root ?
2020-08-23T10:45:25 #kisslinux no
2020-08-23T10:45:31 #kisslinux in your grub.cfg
2020-08-23T10:45:36 #kisslinux the root is currently set to /dev/mapper/kiss-root
2020-08-23T10:45:42 #kisslinux try using /dev/kiss/roiit
2020-08-23T10:46:20 #kisslinux Oh okay, I already had that
2020-08-23T10:46:29 #kisslinux and changed it to /dev/mapper
2020-08-23T10:46:48 #kisslinux grub : https://bpa.st/OT2A
2020-08-23T10:47:08 #kisslinux error: https://bpa.st/OP3Q
2020-08-23T10:47:17 #kisslinux you also do not need cryptdevice
2020-08-23T10:48:18 #kisslinux didn't get that sorry
2020-08-23T10:48:31 #kisslinux Are you saying to delete the cryptdevice=UUID*
2020-08-23T10:48:36 #kisslinux in your grub.cfg, the cryptdevice flag is useless
2020-08-23T10:49:29 #kisslinux grub : https://bpa.st/K77Q
2020-08-23T10:49:31 #kisslinux like this ?
2020-08-23T10:49:52 #kisslinux yes
2020-08-23T10:50:08 #kisslinux the error is the same
2020-08-23T10:50:27 #kisslinux you are booted into the KISS system, right?
2020-08-23T10:50:31 #kisslinux honestly I don't know what I am missing , installed lvm2 and cryptsetup
2020-08-23T10:50:34 #kisslinux or are you on an installation usb
2020-08-23T10:50:46 #kisslinux are you booted into the system?
2020-08-23T10:50:47 #kisslinux Still on the usb chrooting
2020-08-23T10:50:55 #kisslinux oh
2020-08-23T10:51:01 #kisslinux did you activate the volume group?
2020-08-23T10:51:08 #kisslinux vgchange -ay cryptlvm
2020-08-23T10:52:22 #kisslinux https://bpa.st/NOAA
2020-08-23T10:52:56 #kisslinux I didn't because I formatted right before chrooting so it's a new vgroup
2020-08-23T10:53:07 #kisslinux I created before mounting the disk
2020-08-23T10:53:33 #kisslinux ah
2020-08-23T10:53:34 #kisslinux Now that I am thinking of it
2020-08-23T10:53:45 #kisslinux I think I missed the creation of pv
2020-08-23T10:53:46 #kisslinux well activate the kiss volume group
2020-08-23T10:53:53 #kisslinux oh
2020-08-23T10:53:54 #kisslinux and skipped to vg
2020-08-23T10:54:02 #kisslinux oof
2020-08-23T10:54:03 #kisslinux I need a pv right ?
2020-08-23T10:54:04 #kisslinux you might want to fix that
2020-08-23T10:54:09 #kisslinux damm
2020-08-23T10:54:11 #kisslinux Yes
2020-08-23T10:54:39 #kisslinux also you might want to just use a non-encrypted /boot
2020-08-23T10:54:45 #kisslinux LUKS2 is better than LUKS1
2020-08-23T10:54:49 #kisslinux And the only way is to reformat and start over right ?
2020-08-23T10:54:59 #kisslinux Yes
2020-08-23T10:55:36 #kisslinux The steps are the same right ? I just need to not uncomment the right GRUB_ENABLE_CRYPTODISD
2020-08-23T10:55:38 #kisslinux ?
2020-08-23T10:55:48 #kisslinux yes
2020-08-23T10:55:49 #kisslinux to not make the boot folder "encrypted"
2020-08-23T10:56:00 #kisslinux Thanks I am going to start over then : )
2020-08-23T10:56:03 #kisslinux you also need to install linux and associated files to a non-encrypted partiton
2020-08-23T10:56:09 #kisslinux Alright
2020-08-23T12:06:15 #kisslinux > rd.luks.name is a systemd thing
2020-08-23T12:06:26 #kisslinux aurelian: not only
2020-08-23T12:06:32 #kisslinux It used by dracut in general
2020-08-23T12:07:19 #kisslinux https://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
2020-08-23T12:07:27 #kisslinux Can work with/without systemd
2020-08-23T12:08:23 #kisslinux aurelain*
2020-08-23T12:53:10 #kisslinux Test1
2020-08-23T13:20:33 #kisslinux still haven't been able to make full disk encryption work ...
2020-08-23T13:23:58 #kisslinux here is my grub cfg : http://pastie.org/p/2Oa4wNKB9gjlnGH3xvLbz2
2020-08-23T13:24:20 #kisslinux Ups thats the error that it gives
2020-08-23T13:24:24 #kisslinux this is my grub cfg
2020-08-23T13:24:45 #kisslinux http://pastie.org/p/14ZhWc1mf5LIoMwFcU9n0D
2020-08-23T13:25:14 #kisslinux lsblk -f : http://pastie.org/p/6mn5yQkyT5wRprEQQxvMH3
2020-08-23T13:26:53 #kisslinux Any help is appreciated !
2020-08-23T13:27:13 #kisslinux Forgot to mention , still chrooting
2020-08-23T15:17:46 #kisslinux 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 tools/objtool/sync-check.sh is exanding $* to -I ... -I ...
2020-08-23T15:24:12 #kisslinux Oh, it's at the bottom of the file, eheh
2020-08-23T15:26:30 #kisslinux That wasn't the real issue anyway, dopidoo
2020-08-23T15:29:27 #kisslinux Okay, I have some reading to do. :)
2020-08-23T15:57:41 #kisslinux 5.7.17 worked better than 5.8.3
2020-08-23T16:14:51 #kisslinux o/
2020-08-23T16:22:38 #kisslinux whats the posix shell equivalent of the zsh construct REPOSITORY_PATH=${KISS_REPOSITORY_PATH:-/var/db/kiss/repos}
2020-08-23T17:23:21 #kisslinux 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 shellcheck checks for bashisms, so thats neat
2020-08-23T17:38:47 #kisslinux and #bash said that its posix so shrug
2020-08-23T17:38:59 #kisslinux i'm thinking of splitting out all my repo- packages into a repository repository
2020-08-23T17:39:07 #kisslinux so people can just use that to add or remove repositories
2020-08-23T17:39:12 #kisslinux its been working well for me so far
2020-08-23T17:40:29 #kisslinux 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 fi renders as a phone icon, instead of f i
2020-08-23T17:40:43 #kisslinux like its a phone ligature or something
2020-08-23T17:40:53 #kisslinux so like wifi looks like wi:phone:
2020-08-23T17:45:30 #kisslinux https://wiki.archlinux.org/index.php/Font_configuration/Examples#Disable_ligatures_for_monospaced_fonts LUL
2020-08-23T17:50:07 #kisslinux k, disabled ligatures in firefox to fix it O_O
2020-08-23T20:17:40 #kisslinux micr0: Hah, haven't seen that before
2020-08-23T20:19:25 #kisslinux 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 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 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 CONFIG_VIRTIO_BLK=y
2020-08-23T22:07:41 #kisslinux CONFIG_VIRTIO_NET=y
2020-08-23T22:13:45 #kisslinux <j`ey> I guess CONFIG_INET is on?
text/plain; charset=utf-8
This content has been proxied by September (3851b).