libera/#devuan/ Thursday, 2022-03-24

fat-avocado@gnarface I'm going to use a live CD to download the packages to my LVM. Do I need anything other cryptsetup and cryptsetup-initramfs?02:04
fsmithredfat-avocado, cryptsetup cryptsetup-bin cryptsetup-run cryptsetup-initramfs libcryptsetup1202:45
Xenguy.oO( zing )03:11
fat-avocado@fsmithred Thank you! :^D Will there be any configuration after the download?03:18
fsmithredwhen you install cryptsetup, it will rebuild the initramfs.03:18
fsmithredare you planning to do this in chroot?03:19
* Xenguy was never smart enough to figure out chroot ...03:19
fsmithredI'll walk you through it some time03:20
fsmithredand it'll be easy03:20
Xenguycool03:20
fat-avocadoNo, I thought apt install with a specified root would be OK03:20
fsmithredis that possible?03:20
fsmithredif you know your way around grub command line, you could boot it manually and then just install whatever you want.03:20
fsmithredactually, it might be easy03:21
fsmithredc03:21
fsmithredset root=(hd  whatever is your /boot03:21
fat-avocadoI was wrong. With xbps, I can use -r to install packages to a mounted device. I can't do that with apt03:22
fat-avocado-r is specify root directory for installation03:22
fsmithredlinux /vmlinuz-  (TAB complete for version)  root=/dev/mapper/vg-lv03:23
fsmithred^^^ that last one is one line03:23
fsmithredinitrd /initrd.img-(version)03:23
fsmithredboot03:23
fat-avocadoBut right now I don't even enter grub.03:23
fsmithredoh03:23
fat-avocadoI was going to try your chroot method03:23
fsmithredok03:23
fsmithredboot the live media03:24
fsmithredget a root terminal03:24
fsmithredcryptsetup open /dev/whatever some-label03:24
fsmithreduh, lemme check something. I might have this printed somewhere.03:25
fat-avocadoShould I use the ash shell or choose Rescue mode?03:28
fsmithredfat-avocado, scroll down to Mount Encrypted Lvm: https://refracta.org/docs/Release_Notes_10.0.txt03:28
fsmithredoh, you have an installer iso?03:28
fsmithredeaiser03:28
fsmithredboot into rescue mode, let it open the lvm and give you a root shell03:29
fsmithredthen apt install whatever03:29
fat-avocadoYes, I am using the latest Gnuinos server iso03:29
fsmithredthat should work03:29
fat-avocadoWhat should I enter when it asks me to choose a device for the root filesystem?03:47
fsmithreddoesn't it give you some choices?03:47
fsmithredyou want the root fs that's inside the encrypted lvm03:47
fsmithredI don't recall the exact steps03:48
fat-avocadoIt gives me an error when I select the /dev/mapper/rootfs03:48
fat-avocadoI can select /dev/sda, my LVMs, or choose no root03:48
fsmithred /dev/mapper/vg-lg I think03:48
fsmithredwhere vg-lv is the real name of your volume group and logical volume03:49
fat-avocadoI have /dev/dm-0,dm-1,dm-2, /dev/LVMs, and my block devices03:54
fsmithredno /dev/mapper/ ?03:55
fsmithredmaybe you need to choose /dev/sdaN so it will open the encrypted partition03:55
fsmithredoh, it's also possible that it's not working on that iso.03:55
fat-avocado No /dev/mapper/*, I will try using the block device03:56
fat-avocadoWhat happens if I choose no root, or if I choose root as the liveCD, mount the encrypted root, and chroot into that?03:57
fsmithredthat will work03:59
fat-avocado03:59
fat-avocadoOk, because I cannot access /dev/sda, only my flash drives.03:59
fsmithredchoose root as the liveCD does not make sense04:01
fsmithredif you choose no root, you can do it all manually04:02
fat-avocado I had to choose no root, none of the other options were valid04:03
fsmithredok04:05
fsmithreddo you know the commands to do this?04:05
fat-avocadoYeah, just mounting the LVM now04:09
fat-avocadoThen I just chroot /mnt/x and sudo apt install cryptsetup etc right?04:09
fsmithredyou probably just need to install cryptsetup-initramfs. The other should already be there.04:09
fat-avocadoI checked my /bin and had no mention of anything with crypt.04:10
fsmithreddpkg -l |grep cryptsetup04:10
fsmithredin the chroot04:10
fat-avocadoLol! Cryptsetup, -bin, -initramfs, and libcryptsetup12 are already installed04:14
fsmithredcryptsetup-run?04:15
fat-avocadoNot cryptsetup-run04:16
fsmithredare you still in the chroot?04:22
fsmithredyou might need to install grub04:22
fsmithredmount the boot partition04:22
fsmithredif grub packages are installed, run 'dpkg-reconfigure grub-pc'04:22
fsmithredunless you have uefi04:22
fsmithredthen there's more to do04:23
fsmithredoh, you have to bind-mount /dev /proc and /sys if you have to install grub04:23
fsmithredand /dev/pts04:23
fat-avocadoOk, I am still in the chroot, but how can I troubleshoot DHCP? My network configured automatically, but I unplugged my ethernet. I plugged it back it, and I can't ping anything five minutes later :P04:32
fsmithreddhclient eth004:33
fat-avocadoI was going to download cryptsetup-run, then I will go to the /boot04:33
fsmithredI need to get to sleep.04:34
fsmithredif dhclient complains that it's already up, bring it down with ifconfig or ip04:35
fat-avocado@fsmithred, Thanks for the help :) You can sleep and I can get back on (っ⌒‿⌒)っ04:44
fat-avocadoI'm tired too, lol. Thank you All!~04:49
brocashelminteresting. i didn't know glmark2 was installable in devuan. i thought you had to either compile it yourself or get the deb from ubuntu06:31
apersonThanks !20:39

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!