Hello everyone!

Can someone help me with this? I recently installed Guix on a btrfs-volume but 
forgot to put it onto a subvolume. I tried to remedy that mistake by creating a 
subvolume \@, copying the data from the main volume on it and putting the 
following into my system config:

(file-systems
(list
(file-system
(device (file-system-label "root"))
(mount-point "/")
(type "btrfs")
(options "subvol=@"))))

when I do this, I can reconfigure

when I do this I can reconfigure without problems and it produces a grub.cfg 
with the following main entry

menuentry "GNU with Linux 6.15.5" {
search --label --set root
linux /gnu/store/mc78fnlglamkv0bdq927hmdql30h9qxk-linux-6.15.5/bzImage 
root=root gnu.system=/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system 
gnu.load=/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system/boot 
modprobe.blacklist=usbmouse,usbkbd quiet
initrd /gnu/store/p4apajqwkw8898fwjjb34h9gg7lp00w5-combined-initrd/initrd.img
}

but when I boot I get a message that 
/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system/boot is not found and am 
thrown into a Guile shell. This is even though 
/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system/boot exists. I'm guessing 
this is because of this (from the manual):

"Some bootloaders, for example GRUB, only mount a Btrfs partition at
its top level during the early boot, and rely on their configuration to
refer to the correct subvolume path within that top level… it is therefore
necessary to extract the subvolume name on which ‘/gnu/store’ lives"

But I'm not sure how or what to do about it. I tried to copy 
/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system to /@/store/ and replace the 
reference to /gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system and 
/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system/boot with 
/@/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system/ and 
/@/gnu/store/672a1xlckzpvsms2xbkdwn28297vj6w9-system/boot but I still got the 
same error. So I'm not sure about what to do next. What do I have to do to get 
my Guix system onto a btrfs subvolume?

Best,Alex(ander Prähauser)

Sent with [Proton Mail](https://proton.me/mail/home) secure email.

Reply via email to