summaryrefslogtreecommitdiff
path: root/debvm-run
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-21 21:52:16 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-21 21:52:16 +0100
commit1b738bd70a9e9d24d159763c0ef5efe11b561718 (patch)
treec3e23128da53bf5dc4bf8d9e1be386b037ffe8c7 /debvm-run
parentd9837758feb464f56a697ebe6a49f95f05cfa766 (diff)
downloaddebvm-1b738bd70a9e9d24d159763c0ef5efe11b561718.tar.gz
debvm-run: pass rw in the kernel command line
This originates from !3 and helps with root file systems that lack a /etc/fstab. Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Diffstat (limited to 'debvm-run')
-rwxr-xr-xdebvm-run2
1 files changed, 1 insertions, 1 deletions
diff --git a/debvm-run b/debvm-run
index 9f70e74..4ec9122 100755
--- a/debvm-run
+++ b/debvm-run
@@ -78,7 +78,7 @@ INITRDNAME=$(/sbin/debugfs "$IMAGE" -R "stat initrd.img" | sed 's/Fast link dest
test -n "$KERNELNAME" || die "failed to discover kernel image"
test -n "$INITRDNAME" || die "failed to discover initrd image"
-KERNEL_CMDLINE=root=/dev/vda
+KERNEL_CMDLINE="root=/dev/vda rw"
NETDEV="user,id=net0"
set -- \