libera/#devuan/ Wednesday, 2022-08-24

Digithi.  nala?13:29
Digito wait, never mind, i just got a bum shuffle on searx.neocities.org.  i see now.  even devuan respins happily releasing with nala.  :)  nala?  yes.  :)13:30
romoHey guys, what's the correct way to install two linux distros alongside each other on a single drive in UEFI-mode, both having an encrypted /root. Do they share one /esp and one /boot or do I need two of either of those partitions?16:53
lts-You can only have one ESP partition, and well, only one /boot as well, AFAIK. Technically your bootloader will just load a kernel and tell it where to look for root partition. Try looking into keywords "dual boot" and perhaps "chainload". Something like https://wiki.archlinux.org/title/GRUB#Dual-booting is a place to start17:03
romolts-: Ah, thanks. Since the archlinux entry is about feeding GRUB instruction manually: If I install both distros... GRUB should default to let me switch between on bootup on its own, right?17:14
lts-You can definitely configure it to work like that, yes. I think os-probe at grub-mkconfig specifically is run in order to search for other installed operating systems. If you run encrypted roots, I have doubts will it actually find them and configure GRUB with matching crypt_root arguments17:16
lts-This is quite complex a setup and will likely require quite a few tries to get it working17:17
romoYeah, I thought that might be tricky as well. So, I'm used to run two distros - each on their own drive in legacy mode... now I'm looking for a way to replicate this to uefi. Simply setting it up the same way did not work (one distro always ended up not being able to boot). This is just to separate fun/gaming from work.17:23
romoIf I used two drives in UEFI-mode as well, would that mean two /esp and two /boot then? I also thought of running just one system, creating another user for gaming... but then I realised I have bingo experience locking down an account so that this setup could be secure.17:28
lts-That is one way to do it, and is least comples. You could also chainload from first grub to the second, if you don't want to manually override every boot which drive is attempted first. That basically means that in your primary grub, one of the selections boots the second grub instead17:30
lts-s/comples/complex/17:30
lts-i.e. https://wiki.gentoo.org/wiki/GRUB/Chainloading#Another_bootloader17:32
fsmithredos-prober will definitely not see other systems with encrypted root. For those, you can create a menuentry in /etc/grub.d/40_custom and run update-grub to add it to the boot menu.17:39
fsmithredI'm pretty sure you can have separate /boot partitions on the same drive, but only one esp.17:40
fsmithredeach system would have its own 'set root=' in the boot menu, pointing to their respective /boot partitions.17:41
fsmithredtwo esp partitions on separate drives should work if you can control the order of the drives.17:42
romolts-: fsmithred: Ah... okay. I've started a flipchart in the meantime. It look like rain, but only a little bit. I think I will meditate on this further and weigh the pros and cons of another installation-spree. Thank you both for your help.17:51
nemohuh. didn't know that was a thing that happened18:02
leafwizHeya, Anyone know how to fix grub boot issue with  windows from a devuan live cd ?23:33
leafwizSo I wanted to install https://help.ubuntu.com/community/Boot-Repair23:34
leafwizon my live instance, but I dont know how to get PPA to work23:34
leafwizon devuan23:34
leafwizaptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera23:36
leafwizsudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt update23:36
leafwizI get that error when I try to add the ppa23:36
leafwizAnd I wonder if I can fake being debian, or something23:36
targzHi, is there a possibility to donate with cryptos to Devuan? I know it can be done to Dyne, but I don't know if that comes to Devuan23:38
gnarfaceleafwiz: if i knew how it'd still tell you not to do it, it's bound to break your install. if you really need something only in an ubuntu ppa, try running ubuntu from a chroot or a vm23:41
gnarface*i'd23:41
leafwizgnarface , sure. I am in a live-usb session now23:42
leafwizSo things I do only go to ram23:42
leafwizThat is why i hoped to get that boot repair ppa going23:42
gnarfacethere's probably a simpler way to fix your bootup23:43
gnarfacegotta find out what's actually wrong though23:43
gnarfaceusually booting windows works if it's the first thing on the first drive and installed first23:44
fsmithredwhat live-cd are you using?23:45
fsmithredyou should be able to reinstall grub from the live session, maybe in a chroot23:45
leafwizI'm using the latest live cd from devuan23:46
leafwizyeah, I was hoping to do that, reinstall grub23:46
fsmithredchimaera?23:46
fsmithredwhat happens when you try to boot from hard disk?23:47
leafwizyes, chimaera. I use os-prober and get:23:47
leafwiz"/dev/sdc1:Windows 10:Windows:chain"23:48
fsmithredI don't know what that means23:48
leafwizI get an error from grub telling me that it does not recongince a disk with a long uid23:48
gnarfacetry chrooting into the linux install and running update-grub23:49
fsmithredyeah, that's what I'd do ^^^23:49
fsmithredthere's an arch package to help with that23:49
fsmithredarch-install-scripts23:50
fsmithredwhich I don't know how to use, but there's something in there that will do all the bind mounts for you.23:50
leafwizSo the boot partition is a windows boot partition I think. And when I try to chroot into /mnt I get "chroot: failed to run command ‘/bin/bash’: No such file or directory"23:51
fsmithredyou need to mount your linux partition(s)23:52
fsmithredis this uefi or not?23:52
leafwizaha.. yeah, this is kinda an old system. So the linux disk was removed I think but grub was installed on the windows disk so it still worked23:53
leafwizits regular mbr23:53
leafwizSo I just ran windows23:53
fsmithredthere's no linux install on this box now?23:53
leafwizcorrect23:54
fsmithredyou need to do a windows boot repair23:54
leafwizaha.. Okay.23:54
fsmithredI don't recall how to do that.23:54
fsmithredor...23:54
leafwizSure, so grub is nogo without a linux disk then_23:54
leafwiz?23:54
fsmithredput a linux install on that box and boot windows from grub23:54
sgageI agree with fsmithred - just chroot to your linux install and reinstall grub.23:54
fsmithredyou could install on a $5 usb stick and just keep it plugged in.23:55
fsmithredremove it for security.23:55
sgageas far as the Windows boot repair, I always use the Macrium rescue USB23:55
sgageUnder 'restore' is an item 'fix boot problems'. always works for me.23:55
leafwizNice, oki. I can try that23:55
fsmithredthat sounds like a good solution23:55
gnarfaceleafwiz: you could enter the grub console and type in a menu entry for windows manually but nobody here can tell you how to do that by memory and frankly reinstalling linux or just using windows tools would be easier23:57
leafwizGyddie. Hmm.. Maybe I can just run this devuan live cd in stead.. youtube works.. :P23:58
leafwizyeah, I can find some instructions online, and take a picture of that with my phone23:58
leafwizSee if I can coax it alive23:59

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