summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-09-21 21:22:37 +0200
committerLudovic Courtès <ludo@gnu.org>2025-10-21 16:30:23 +0200
commitc346f195fb3b6f3b49611dceeec4d762e06bcdc9 (patch)
tree7e78e934b5a67b8f1df6c543b03327f18bdc967a /gnu
parent4641d4bb8eab7d05b4915d20361d1902e1499d33 (diff)
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 <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/examples/vm-image.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl
index d3e70642b9e..d0e42ff52d0 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))