Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1148284

Bug#1036918: debvm: manual mounting of root image

From Wouter Verhelst <wouter@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1036918: debvm: manual mounting of root image
Date 2023-05-29 14:30 +0200
Message-ID <GAKaB-ceJS-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: debvm
Version: 0.2.10
Severity: wishlist

Hi,

I am exploring the possibility to write an autopkgtest for the initramfs
stuff that I wrote for nbd-client.

In order to do so, I want to run a client VM that has no root hard disk
configured, but is configured to attempt to mount the VM image over the
network, using NBD. This is accomplished by way of a few kernel command
line parameters.

I tried running

debvm-run -- -append 'nbdroot=192.168.88.103,root_export,nbd0'

however, since debvm-run had by this point already mounted the hard
drive, the kernel sees the same root device twice, and let's just say
that this didn't go very well.

I would like to see an option to tell debvm-run not to mount the
filesystem image but to let the user handle that. However, the
extracting of the kernel and initramfs which debvm-run does would still
be necessary; it's just that I want to fiddle with how we get to the
filesystem.

Thanks,

-- System Information:
Debian Release: 12.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.1.0-9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8), LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debvm depends on:
ii  e2fsprogs                   1.47.0-2
ii  genext2fs                   1.5.0-3
ii  ipxe-qemu                   1.0.0+git-20190125.36a4c85-5.1
ii  mmdebstrap                  1.3.5-7
ii  passwd                      1:4.13+dfsg1-1+b1
ii  qemu-system-arm             1:7.2+dfsg-7
ii  qemu-system-mips            1:7.2+dfsg-7
ii  qemu-system-misc            1:7.2+dfsg-7
ii  qemu-system-ppc             1:7.2+dfsg-7
ii  qemu-system-sparc           1:7.2+dfsg-7
ii  qemu-system-x86 [qemu-kvm]  1:7.2+dfsg-7

Versions of packages debvm recommends:
ii  arch-test         0.20-1
ii  binfmt-support    2.2.2-2
ii  fakechroot        2.20.1+ds-15
ii  fakeroot          1.31-1.2
ii  file              1:5.44-3
ii  openssh-client    1:9.2p1-2
ii  qemu-system       1:7.2+dfsg-7
ii  qemu-user-static  1:7.2+dfsg-7
ii  seabios           1.16.2-1
ii  systemd           252.6-1
ii  uidmap            1:4.13+dfsg1-1+b1

Versions of packages debvm suggests:
ii  qemu-system-gui  1:7.2+dfsg-7

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1036918: debvm: manual mounting of root image Wouter Verhelst <wouter@debian.org> - 2023-05-29 14:30 +0200
  Bug#1036918: debvm: manual mounting of root image Helmut Grohne <helmut@subdivi.de> - 2023-05-29 20:30 +0200
    Bug#1036918: debvm: manual mounting of root image Wouter Verhelst <w@uter.be> - 2023-05-31 12:30 +0200
      Bug#1036918: debvm: manual mounting of root image Helmut Grohne <helmut@subdivi.de> - 2023-06-01 08:00 +0200
        Bug#1036918: debvm: manual mounting of root image Wouter Verhelst <w@uter.be> - 2023-06-01 10:40 +0200

csiph-web