libera/#devuan/ Saturday, 2025-02-15

cousin_luigiAny grub expert? I'm trying to chainload to another grub installation on a usb drive, but hdb1/hdc1 references are unstable. If I search by uuid I see "bad signature" errors. Which is odd, since I don't use secure boot at all.17:06
gnarfacehmm, off the top of my head i'm not sure but maybe grub needs a uuid module loaded first?17:07
gnarfaceyou sure you got them right, right?17:08
gnarfacething is, if it's a relatively recent install, afaik it should add the right entries automatically if you just disable #GRUB_DISABLE_OS_PROBER=false in /etc/default/grub17:09
gnarfacenow that i think about it more, i seem to recall something about maybe needing both kernels on the first install to make it work though...17:10
cousin_luigignarface: insmod search_fs_uuid is present17:11
gnarfaceor something like that17:11
cousin_luigiboth kernels?17:11
cousin_luigiIt's a chainloader17:11
gnarfaceoh, maybe what i was describing would specifically avoid chainloading17:11
cousin_luigiI want a chainloader to make things easier. And it works with hardcoded drive names.17:12
gnarfacecould it be something to do with the chainloading? maybe the chainloaded grub install also needs the module loaded or something?17:12
cousin_luigiBut like I said, it's not completely reliable.17:12
gnarface(sorry, not actually a grub expert)17:12
cousin_luigiI doubt that, but lemme check17:12
cousin_luigiperhaps I could go by partition UUID instead of fs UUID?17:13
gnarfaceuh, yea probably17:15
gnarfaceconsidering i didn't know there was also a fs uuid17:16
gnarfacei just look in /dev/disk/by-uuid/17:16
gnarfaceand if not, you'd certainly need to also load the grub module for that filesystem'17:16
gnarfacei would think at least on the chainloaded install17:17
cousin_luigiI used blkid, but yes17:17
cousin_luigignarface: The disk itself appears to have a partuuid17:18
cousin_luigiwill try and report back17:18
fsmithredinstead of chainloading you can point to another config file17:41
fsmithredI think the command is configfile, but I'd have to check to be sure.17:41
fsmithredset root=(hdX,Y)   - that's the other drive/partition you want to load17:51
fsmithredconfigfile /boot/grub/grub.cfg17:51
fsmithredassuming /boot is part of the root partition.17:51
fsmithredcousin_luigi, ^^^17:52
cousin_luigifsmithred: hmm, will try that, thanks17:53
cousin_luigifsmithred: wait, I still have the problem with setting the root17:54
cousin_luigiI need to do it via uuid of some sort17:54
rustyaxecousin_luigi: i thought you were in jail17:54
rustyaxeMust be a different cousin luigi :O17:54
cousin_luigirustyaxe: Actually I was busy with Donkey Kong.17:54
fsmithredif the partition is encrypted, use the /dev/mapper name18:33
fsmithredshit, no. That goes on the linux lilne18:33
fsmithredline18:33
cousin_luigifsmithred: Not at all.20:31

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