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

Partprobe needed to access nbd0p1 #99

Open
alkisg opened this issue May 9, 2019 · 1 comment
Open

Partprobe needed to access nbd0p1 #99

alkisg opened this issue May 9, 2019 · 1 comment

Comments

@alkisg
Copy link

alkisg commented May 9, 2019

The following /proc/cmdline fails:

nbdroot=server:image root=/dev/nbd0p1

with error:

ALERT! /dev/nbd0p1 does not exist. Dropping to a shell!

A workaround is to patch local-top/nbd to call partprobe/blockdev as follows:

sed 's/systemd-mark$/& -b 512; blockdev --rereadpt $nbdrootdev/' -i /scripts/local-top/nbd

I initially reported this as a secondary issue in #87, but since the primary issue there was resolved, I'm filing this one. Thanks!

@yoe
Copy link
Member

yoe commented Jul 28, 2023

This has now been fixed in my Debian branch. Sorry for the (insane) delays, a better guess next time is to file a Debian bug ;-)

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

2 participants