|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
||||
Yes, you're asking a lot of questions.
The first one, about -nographic, I can answer. You got into trouble because the readme is describing running OpenBSD as a guest, not Windows. -nographic eliminates the virtual graphics card, and routes the first serial device I/O to the host standard input and output. Very useful for an OpenBSD guest where X would not be used ... not so helpful with your typical MS Windows installation, which isn't designed to communicate with an operator via a com port nor to typically be operated and administered headless. The second question, about virtual memory limitations, I can also answer. You have two limiting factors: 1) you are running i386 -- in that arch, userland processes are limited to obtaining just under 1GB of virtual memory in total, and 2) qemu consumes lots on its own. This new release (1.0) consumes much much more than earlier versions. The third question, I cannot answer only because I don't understand the problem. If you don't use -net, you will get a single "userland" network interface definition, which will have a virtual 10.x subnet and a virtual DHCP server on it. You haven't posted what "doesn't work for me" means, but the only reasons I could think of that it isn't working for you is either a missing NIC driver in your guest OS, or perhaps a conflict between the virtual 10.x subnet and a real subnet in the 10/8 address space in your private network. The fourth question -- well, I think you need not use -usb at all. Just give the raw, phyiscal drive to the guest as either an IDE or SCSI drive, your choice. If sd0 is the drive, the device to pass to qemu would be /dev/rsd0c. You'll need to be superuser, of course. Last edited by jggimi; 8th March 2012 at 11:54 AM. |
|
||||
Quote:
I see, i thought it was just an example for every OS and it was just using openbsd for it. :/ Oooh, i was not aware there were limitations according to the arch. Yes that's what it is. I forgot about this kind of windows annoying problems. Quote:
Code:
sudo qemu-system-i386 -usbdevice /dev/rsd0c -hda xpdark.img -m 320 qemu: could not add USB device '/dev/rsd0c' |
|
||||
Yes jggimi -hdb did it for me:
Code:
sudo qemu-system-i386 -hda xpdark.img -m 320 -hdb /dev/rsd0c One last thing: I noticed that i must mount the usb device to obsd to use it with qemu. Don't know might be that i'm brand new to a lot of things latetly but this kinda strange. Anyway, thanks again. Last edited by sepuku; 8th March 2012 at 09:24 PM. |
|
||||
Unless xpdark.img is on sd0, or some part of the /usr/local hierarchy is on sd0, there should be no requirement for mounting any of its partitions on OpenBSD.
(An example: Suppose your guest was OS X and your USB device contained only a single foreign filesystem for which there is no filesystem driver in OpenBSD, such as HFS. Or your device used GPT instead of MBR. Or your guest architecture were SPARC and the device had no MBR... etc.) |
|
||||
Quote:
Yes, you were right. I guess i got confused with the previous attempts with -usb and -usbdevice and got wrong impressions. Anyway thank you once again. |
|
|||
I have installed XP guest using qemu. But XP doesnot find NIC driver.
I donot use any "-net" switch so it should be e1000 . Can you share the NIC driver ? Sincerely! Last edited by sw2wolf; 25th March 2012 at 08:44 AM. |
Tags |
networking, qemu, usb devices |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
qemu networking | gpatrick | OpenBSD Packages and Ports | 2 | 18th December 2011 04:20 AM |
OpenBSD Support for Realtek 802.11n USB devices | J65nko | News | 0 | 18th December 2010 11:00 PM |
OpenBSD OpenBSD developer wants USB devices | ocicat | News | 0 | 9th November 2010 01:57 AM |
Automounting USB devices with HAL/KDE | vinegaroon | FreeBSD General | 1 | 13th June 2008 02:16 PM |
Automatic Mount for Devices/Filesystems | vermaden | FreeBSD General | 11 | 12th June 2008 04:55 AM |