Re: Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?

2014-09-13 Thread Brett Mahar
On Fri, 12 Sep 2014 21:15:59 -0400
Steve Litt sl...@troubleshooters.com wrote:

| Hi all,
| 
| Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?

Hi Steve,

There's a readme that is installed when you install the qemu package, you 
should check that out. I had opensuse running a while ago (lots of the other 
linux distributions would not work). What I did was:

After creating .img file:

$ ulimit -d 200

$ qemu -m 1300 -no-acpi -monitor stdio -no-fd-bootchk -hda virtual.img -cdrom 
openSUSE-11.4-GNOME-LiveCD-i686.iso -boot d

Then when you get to the installer screen, select f4[kernel version]safe mode; 
F3[graphics]vesa

Once installed and virtual disk compressed, normal booting works with:

$ qemu -m 1300 -no-acpi -no-fd-bootchk -hda virtual.img

then selecting failsafe mode to boot into a console (no x11) desktop. If you 
want a graphical desktop
environment, choose failsafe mode and then delete nomodeset x11 failsafe from 
the boot arguments.

This would need to be adjusted for newer qemu, command line options I used 
recently with pcbsd were:

$ qemu-system-x86_64 -m 256 -cdrom 
PCBSD10.0.2-RELEASE-06-20-2014-x64-DVD-USB.iso pcbsd-qemu.img 

launch:
$ qemu-system-x86_64 -m 1200 -display gtk -vga std -sdl -hda pcbsd-qemu.img

Brett.

PS whatever you run it will be slow.



Re: Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?

2014-09-13 Thread Stefan Berger
On Sat, Sep 13, 2014 at 10:18:31PM +1000, Brett Mahar wrote:
 On Fri, 12 Sep 2014 21:15:59 -0400
 Steve Litt sl...@troubleshooters.com wrote:
 
 | Hi all,
 | 
 | Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?
 
 Hi Steve,
 
 There's a readme that is installed when you install the qemu package, you 
 should check that out. I had opensuse running a while ago (lots of the other 
 linux distributions would not work). What I did was:
 
 After creating .img file:
 
 $ ulimit -d 200
 
 $ qemu -m 1300 -no-acpi -monitor stdio -no-fd-bootchk -hda virtual.img -cdrom 
 openSUSE-11.4-GNOME-LiveCD-i686.iso -boot d
 
 Then when you get to the installer screen, select f4[kernel version]safe 
 mode; F3[graphics]vesa
 
 Once installed and virtual disk compressed, normal booting works with:
 
 $ qemu -m 1300 -no-acpi -no-fd-bootchk -hda virtual.img
 
 then selecting failsafe mode to boot into a console (no x11) desktop. If you 
 want a graphical desktop
 environment, choose failsafe mode and then delete nomodeset x11 failsafe 
 from the boot arguments.
 
 This would need to be adjusted for newer qemu, command line options I used 
 recently with pcbsd were:
 
 $ qemu-system-x86_64 -m 256 -cdrom 
 PCBSD10.0.2-RELEASE-06-20-2014-x64-DVD-USB.iso pcbsd-qemu.img 
 
 launch:
 $ qemu-system-x86_64 -m 1200 -display gtk -vga std -sdl -hda pcbsd-qemu.img
 
 Brett.

Thanks a lot.  I will try that too because I had problems with 
Linux distributions too.  Maybe, this 'Damn Small Linux' thing might be 
usable... .  Gentoo booted, too (the install iso), but I don't want to 
waste my entire life compiling linux stuff inside qemu. 

However, I got MINIX up and running within qemu (the system compiles 
inside the qemu box without any problems) and of course, OpenBSD runs 
inside qemu, too.  



Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?

2014-09-12 Thread Steve Litt
Hi all,

Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit? I
don't know whether I'm making dumb mistakes or whether I'm fighting
windmills, but so far I haven't gotten a guest to recognize my USB
keyboard's cursor keys, nor proceed on an install without hanging.

So, has anyone been successful with this? If so, I'll go ahead and form
an exact symptom description.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Re: Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?

2014-09-12 Thread Vijay Sankar

Quoting Steve Litt sl...@troubleshooters.com:


Hi all,

Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit? I
don't know whether I'm making dumb mistakes or whether I'm fighting
windmills, but so far I haven't gotten a guest to recognize my USB
keyboard's cursor keys, nor proceed on an install without hanging.

So, has anyone been successful with this? If so, I'll go ahead and form
an exact symptom description.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance




I tested the qemu port by installing debian 7.5, I had to edit the  
grub menu and add noapic and nolapic but this was based on info from  
various search results. Probably there are better ways of installing  
linux as a VM guest on OpenBSD but this worked for me.


Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

-
This message was sent using ForeTell-POST 4.9



Re: Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit?

2014-09-12 Thread Steve Litt
On Fri, 12 Sep 2014 21:34:56 -0500
Vijay Sankar vsan...@foretell.ca wrote:

 Quoting Steve Litt sl...@troubleshooters.com:
 
  Hi all,
 
  Has anyone gotten qemu to install a Linux vm on OpenBSD5.5, 64bit? I
  don't know whether I'm making dumb mistakes or whether I'm fighting
  windmills, but so far I haven't gotten a guest to recognize my USB
  keyboard's cursor keys, nor proceed on an install without hanging.
 
  So, has anyone been successful with this? If so, I'll go ahead and
  form an exact symptom description.
 
  Thanks,
 
  SteveT
 
  Steve Litt*  http://www.troubleshooters.com/
  Troubleshooting Training  *  Human Performance
 
 
 
 I tested the qemu port by installing debian 7.5, I had to edit the  
 grub menu and add noapic and nolapic but this was based on info from  
 various search results. Probably there are better ways of installing  
 linux as a VM guest on OpenBSD but this worked for me.

Thanks Vijay!

I'll try it Sunday. By the way, did you mean the grub menu on your
OpenBSD host, or did you somehow somehow modify the grub menu on the
qemu image file, or on the Debian installer ISO image?

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance