guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c346f195fb3b6f3b49611dceeec4d762e06bcdc9
Author: Rutherther <[email protected]>
AuthorDate: Sun Sep 21 21:22:37 2025 +0200

    vm-image.tmpl: Use /dev/vda2 as root file system device.
    
    The /dev/vda1 partition points to an EFI partition.
    The /run/current-system/configuration.scm will then point to an incorrect
    partition - to the EFI partition instead of root partition. Fix that by
    pointing it to the default root-label "Guix_image".
    This allows users to reconfigure out of the 
/run/current-system/configuration.scm.
    
    * gnu/system/examples/vm-image.tmpl: Switch root filesystem device
    to /dev/vda2.
    
    Change-Id: I983892fb3c860dc5bbb2a1654d28db83e88d8c1a
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/system/examples/vm-image.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/examples/vm-image.tmpl 
b/gnu/system/examples/vm-image.tmpl
index d3e70642b9..d0e42ff52d 100644
--- a/gnu/system/examples/vm-image.tmpl
+++ b/gnu/system/examples/vm-image.tmpl
@@ -60,7 +60,7 @@ accounts.\x1b[0m
                (terminal-outputs '(console))))
   (file-systems (cons (file-system
                         (mount-point "/")
-                        (device "/dev/vda1")
+                        (device (file-system-label root-label))
                         (type "ext4"))
                       %base-file-systems))
 

Reply via email to