TIP: Click on subject to list as thread! ANSI
echo: linux
to: MIKE POWELL
from: ALEXEY VISSARIONOV
date: 2018-07-13 10:48:00
subject: running linux vm on a lin

Good ${greeting_time}, Mike!

12 Jul 2018 19:12:28, you wrote to All:

 MP> I have a few questions about running a linux distro in a vm on a
 MP> linux box. I have read up about how to get Ethernet working over a
 MP> bridge,

Hopefully those manuals didn't contain the brctl command...
`man ip` (or `man ip-link`) will guide you in the right direction.

 MP> but have not yet got to installing the system, etc.
 MP> (1) When the qemu session is running, is it smart to use the xserver
 MP> on the vm instance?

Nothing prevents you from doing that.

 MP> If I am not using the xserver and running the vm instance in console
 MP> mode, will qemu catch certain keystrokes like ctrl-alt-2 so I can
 MP> switch to tty2 (for example) or will that keystroke combo be
 MP> interpreted by the host machine?

It seems you're confusing C-A-1 and C-A-F1. Anyway, the -monitor parameter
allows you to control the Qemu running even with -display none

 MP> (2) If I can follow the directions and get the Ethernet bride working
 MP> correctly, so that the network can see both the host and vm, I assume
 MP> I can also do things like mount nfs shares in the vm. Is that a
 MP> correct assumption?

Properly configured network bridge allows even boot-up over the PXE.

 MP> (3) Will I be able to access other hardware while in the vm, like a
 MP> usb port and whatever might be connected to it?

man qemu
/-usbdevice

 MP> I have run DOS in a vm on a linux box, but I expect this to be
 MP> different. :)

Not much.


--
Alexey V. Vissarionov aka Gremlin from Kremlin
gremlin.ru!gremlin; +vii-cmiii-cmlxxvii-mmxlviii

... :wq!
--- /bin/vi
* Origin: http://openwall.com/Owl (2:5020/545)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.