<mark_weaver>paroneayea: on Libreboot machines, I make /boot/grub/libreboot_grub.cfg a symlink to grub.cfg
<mark_weaver>Libreboot includes its own copy of GRUB and a grub.cfg burned into the boot firmware. the first (default) menu item in Libreboot's grub.cfg will look for /boot/grub/libreboot_grub.cfg and load it if it exists.
<lfam>mark_weaver: The weird thing is that a subsequent run did report "no space left on device". I'm not sure what the difference was or why the process failed at slight different points along the way each time I ran it.
<mark_weaver>lfam: I guess that there's some concurrency involved in how the kernel does things, e.g. there are several kernel threads that do various tasks.
<mark_weaver>and of course thread switches are triggered by clock interrupts, and thus non-deterministic
<mark_weaver>the kernel panic you got before was because PID 1 exited. we ought to be able to avoid that, at least in cases like ENOSPC
<lfam>`guix system vm` boots to a WM and `guix system vm-image` boots to a guile repl
<mark_weaver>lfam: if you get a guile repl during boot, that indicates that something went wrong, e.g. it couldn't find the root partition, probably because you are launching the VM incorrectly (or not how it expects).
<lfam>Ah, I see that `guix system vm` sets a whole bunch of command-line options go `qemu-system-x86_64`. I hadn't set any of them. I'll try again
<mark_weaver>iiuc, "guix system vm" is essentially the same as "guix system vm-image" except that "guix system vm" does one additional step: it creates a script to run the VM. I would look at that script for clues.
<lfam>I have a question for later once I am actually up and running. While creating these VM images, I have the operating system declaration in the host system, of course. Once I am in GuixSD, is the effective OS declaration available anywhere? For example, under /etc? Or is it up to me to rsync it into the VM for editing and reconfiguration?
<mark_weaver>lfam: the OS configuration is not stored anywhere. it is up to you to manage it.
<mark_weaver>paroneayea: last I knew, GuixSD does not yet support LVM. if that's no longer true, than section 7.1.1 (Limitations) of the guix manual needs to be fixed, because it says there that support for LVM is missing
<fps>one hint is maybe that it usually happens after installing the first few packages, right?
<fps>was it the same for you? guix got installed, maybe another one after that and then the name resolution stopped working?
<lfam>Well, rather than go straight to the system init, I installed vim so I could edit desktop.scm. That worked. Then later on it failed when I tried to init. But there was at least an hour in between, I'd estimate.
<lfam>So, I can't say it stopped working after a certain point.
<lfam>After leaving my GuixSD laptop on all night, I pressed 'ctrl' to wake the screen up. It flashed, then nothing. It only works during the BIOS bootup. Once grub or linux takes over (not sure which), it's gone. Luckily I can connect an external monitor. So weird.
<lfam>When I say it flashed, I mean I saw the console for a second or two
<lfam>So, I'm accustomed to installing things on foreign distros from a guix checkout using ./pre-inst-env. Does that process also work on GuixSD? My intended method would be: git clone, apply the patch, `./pre-inst-env guix build grub` as a sanity check, then `./pre-inst-env guix system reconfigure config.scm`. Is that correct?
<jadedctrl>How can one edit file in /gnu/store (such as configuration files for a package), or the X desktop files in /run/current-system? Any help would be greatly appreciated.
<jadedctrl>If the files are immutable, how would one configure a program such as Apache, then...?
<lfam>Okay, I'm only just starting with GuixSD so my knowledge is pretty rough. But you should edit the Apache service in the config.scm you use to configure the whole system, and then do `guix system reconfigure config.scm`
<lfam>Each time you make a change like that, a new directory is created in /gnu/store, and the current system points to that new directory. Just like installing new versions of packages.
<jadedctrl>Ah, that makes sense. Thank you, lfam. I've been looking in the wrong area of the manual, then.
<lfam>I only just installed GuixSD so I don't know the details of how to configure Apache in particular. If you hang around here, somebody else will chime in eventually. Or, you can send an email to the mailing list (email@example.com)
<davexunit>jadedctrl: yeah, we don't have an apache service yet, but the general idea is that the OS config would specify the configuration files somehow so that the system service knows which one to use when it starts.
<lfam>davexunit: Got any thoughts about the question I asked ~90 minutes ago? About using ./pre-inst-env to test a Grub patch?