VM root file system has no label

  • Open
  • quality assurance status badge
Details
One participant
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal
R
R
Ricardo Wurmus wrote on 27 Sep 2023 00:00
(address . bug-guix@gnu.org)
877coc4mok.fsf@elephly.net
When building a Guix System VM (qcow2) image from an operating system
file containing the following file systems

(file-systems (append
(list (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4")))
%base-file-systems))

the resulting image will not have the label “my-root”. When booting the
virtual machine and reconfiguring with the configuration file (as saved
by “--save-provenance”) Guix will complain about the fact that there is
no disk with the given label.

--
Ricardo
?