~ruther/guix-local

c346f195fb3b6f3b49611dceeec4d762e06bcdc9 — Rutherther 6 months ago 4641d4b
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/system/examples/vm-image.tmpl
M gnu/system/examples/vm-image.tmpl => gnu/system/examples/vm-image.tmpl +1 -1
@@ 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))