You are not logged in.

#1 2012-07-28 18:26:06

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

User-mode Linux won't give me a console [N/M I'm stupid]

When I boot a UML kernel using the host filesystem, like so

./kernel32-3.4.6 rootfstype=hostfs ram=384M

I get a ton of messages like this

Failed to open console 1, err = -2
getmaster - no usable host pty devices

If I use bash as init, I get a usable console, but it's not good for much.

I've tried setting 'con' to a pty, and then using screen to switch to said pty... No luck. screen either shows blank nothingness or says the pty is inaccessible.

Googling, of course, has found me absolutely zilch. And this situation occurs whether I start UML as root or limited user.

What's going on?

Update: further Googling seems to indicate that running the system init from inside UML is Not Smart and will generally fail. Apologies for the bandwidth wastage.

Last edited by Gullible Jones (2012-07-28 18:35:20)

Offline

Board footer

Powered by FluxBB