Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please virtiofs support #12

Open
532910 opened this issue May 22, 2023 · 1 comment
Open

please virtiofs support #12

532910 opened this issue May 22, 2023 · 1 comment

Comments

@532910
Copy link

532910 commented May 22, 2023

initramfs: Parameter root=root unsupported (only /dev/, 0xMAJMIN and UUID= are  supported)
@532910
Copy link
Author

532910 commented May 22, 2023

workaround: serve virtiofs with tag name as exising file in /dev (/dev/null) and boot with rootfstype=virtiofs root=/dev/null

libvirt:

<cmdline>rootfstype=virtiofs root=/dev/null ro console=ttyS0,115200n8 net.ifnames=0</cmdline>
<filesystem type='mount' accessmode='passthrough'>
  <driver type='virtiofs'/>
  <source dir='/srv/foreign/bullseye'/>
  <target dir='/dev/null'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</filesystem>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant