Digit | hi. nala? | 13:29 |
---|---|---|
Digit | o 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 |
romo | Hey 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 start | 17:03 |
romo | lts-: 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 arguments | 17:16 |
lts- | This is quite complex a setup and will likely require quite a few tries to get it working | 17:17 |
romo | Yeah, 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 |
romo | If 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 instead | 17:30 |
lts- | s/comples/complex/ | 17:30 |
lts- | i.e. https://wiki.gentoo.org/wiki/GRUB/Chainloading#Another_bootloader | 17:32 |
fsmithred | os-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 |
fsmithred | I'm pretty sure you can have separate /boot partitions on the same drive, but only one esp. | 17:40 |
fsmithred | each system would have its own 'set root=' in the boot menu, pointing to their respective /boot partitions. | 17:41 |
fsmithred | two esp partitions on separate drives should work if you can control the order of the drives. | 17:42 |
romo | lts-: 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 |
nemo | huh. didn't know that was a thing that happened | 18:02 |
leafwiz | Heya, Anyone know how to fix grub boot issue with windows from a devuan live cd ? | 23:33 |
leafwiz | So I wanted to install https://help.ubuntu.com/community/Boot-Repair | 23:34 |
leafwiz | on my live instance, but I dont know how to get PPA to work | 23:34 |
leafwiz | on devuan | 23:34 |
leafwiz | aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera | 23:36 |
leafwiz | sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt update | 23:36 |
leafwiz | I get that error when I try to add the ppa | 23:36 |
leafwiz | And I wonder if I can fake being debian, or something | 23:36 |
targz | Hi, 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 Devuan | 23:38 |
gnarface | leafwiz: 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 vm | 23:41 |
gnarface | *i'd | 23:41 |
leafwiz | gnarface , sure. I am in a live-usb session now | 23:42 |
leafwiz | So things I do only go to ram | 23:42 |
leafwiz | That is why i hoped to get that boot repair ppa going | 23:42 |
gnarface | there's probably a simpler way to fix your bootup | 23:43 |
gnarface | gotta find out what's actually wrong though | 23:43 |
gnarface | usually booting windows works if it's the first thing on the first drive and installed first | 23:44 |
fsmithred | what live-cd are you using? | 23:45 |
fsmithred | you should be able to reinstall grub from the live session, maybe in a chroot | 23:45 |
leafwiz | I'm using the latest live cd from devuan | 23:46 |
leafwiz | yeah, I was hoping to do that, reinstall grub | 23:46 |
fsmithred | chimaera? | 23:46 |
fsmithred | what happens when you try to boot from hard disk? | 23:47 |
leafwiz | yes, chimaera. I use os-prober and get: | 23:47 |
leafwiz | "/dev/sdc1:Windows 10:Windows:chain" | 23:48 |
fsmithred | I don't know what that means | 23:48 |
leafwiz | I get an error from grub telling me that it does not recongince a disk with a long uid | 23:48 |
gnarface | try chrooting into the linux install and running update-grub | 23:49 |
fsmithred | yeah, that's what I'd do ^^^ | 23:49 |
fsmithred | there's an arch package to help with that | 23:49 |
fsmithred | arch-install-scripts | 23:50 |
fsmithred | which I don't know how to use, but there's something in there that will do all the bind mounts for you. | 23:50 |
leafwiz | So 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 |
fsmithred | you need to mount your linux partition(s) | 23:52 |
fsmithred | is this uefi or not? | 23:52 |
leafwiz | aha.. 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 worked | 23:53 |
leafwiz | its regular mbr | 23:53 |
leafwiz | So I just ran windows | 23:53 |
fsmithred | there's no linux install on this box now? | 23:53 |
leafwiz | correct | 23:54 |
fsmithred | you need to do a windows boot repair | 23:54 |
leafwiz | aha.. Okay. | 23:54 |
fsmithred | I don't recall how to do that. | 23:54 |
fsmithred | or... | 23:54 |
leafwiz | Sure, so grub is nogo without a linux disk then_ | 23:54 |
leafwiz | ? | 23:54 |
fsmithred | put a linux install on that box and boot windows from grub | 23:54 |
sgage | I agree with fsmithred - just chroot to your linux install and reinstall grub. | 23:54 |
fsmithred | you could install on a $5 usb stick and just keep it plugged in. | 23:55 |
fsmithred | remove it for security. | 23:55 |
sgage | as far as the Windows boot repair, I always use the Macrium rescue USB | 23:55 |
sgage | Under 'restore' is an item 'fix boot problems'. always works for me. | 23:55 |
leafwiz | Nice, oki. I can try that | 23:55 |
fsmithred | that sounds like a good solution | 23:55 |
gnarface | leafwiz: 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 easier | 23:57 |
leafwiz | Gyddie. Hmm.. Maybe I can just run this devuan live cd in stead.. youtube works.. :P | 23:58 |
leafwiz | yeah, I can find some instructions online, and take a picture of that with my phone | 23:58 |
leafwiz | See if I can coax it alive | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!