| cousin_luigi | Any 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 |
|---|---|---|
| gnarface | hmm, off the top of my head i'm not sure but maybe grub needs a uuid module loaded first? | 17:07 |
| gnarface | you sure you got them right, right? | 17:08 |
| gnarface | thing 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/grub | 17:09 |
| gnarface | now 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_luigi | gnarface: insmod search_fs_uuid is present | 17:11 |
| gnarface | or something like that | 17:11 |
| cousin_luigi | both kernels? | 17:11 |
| cousin_luigi | It's a chainloader | 17:11 |
| gnarface | oh, maybe what i was describing would specifically avoid chainloading | 17:11 |
| cousin_luigi | I want a chainloader to make things easier. And it works with hardcoded drive names. | 17:12 |
| gnarface | could it be something to do with the chainloading? maybe the chainloaded grub install also needs the module loaded or something? | 17:12 |
| cousin_luigi | But like I said, it's not completely reliable. | 17:12 |
| gnarface | (sorry, not actually a grub expert) | 17:12 |
| cousin_luigi | I doubt that, but lemme check | 17:12 |
| cousin_luigi | perhaps I could go by partition UUID instead of fs UUID? | 17:13 |
| gnarface | uh, yea probably | 17:15 |
| gnarface | considering i didn't know there was also a fs uuid | 17:16 |
| gnarface | i just look in /dev/disk/by-uuid/ | 17:16 |
| gnarface | and if not, you'd certainly need to also load the grub module for that filesystem' | 17:16 |
| gnarface | i would think at least on the chainloaded install | 17:17 |
| cousin_luigi | I used blkid, but yes | 17:17 |
| cousin_luigi | gnarface: The disk itself appears to have a partuuid | 17:18 |
| cousin_luigi | will try and report back | 17:18 |
| fsmithred | instead of chainloading you can point to another config file | 17:41 |
| fsmithred | I think the command is configfile, but I'd have to check to be sure. | 17:41 |
| fsmithred | set root=(hdX,Y) - that's the other drive/partition you want to load | 17:51 |
| fsmithred | configfile /boot/grub/grub.cfg | 17:51 |
| fsmithred | assuming /boot is part of the root partition. | 17:51 |
| fsmithred | cousin_luigi, ^^^ | 17:52 |
| cousin_luigi | fsmithred: hmm, will try that, thanks | 17:53 |
| cousin_luigi | fsmithred: wait, I still have the problem with setting the root | 17:54 |
| cousin_luigi | I need to do it via uuid of some sort | 17:54 |
| rustyaxe | cousin_luigi: i thought you were in jail | 17:54 |
| rustyaxe | Must be a different cousin luigi :O | 17:54 |
| cousin_luigi | rustyaxe: Actually I was busy with Donkey Kong. | 17:54 |
| fsmithred | if the partition is encrypted, use the /dev/mapper name | 18:33 |
| fsmithred | shit, no. That goes on the linux lilne | 18:33 |
| fsmithred | line | 18:33 |
| cousin_luigi | fsmithred: Not at all. | 20:31 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!