Installing QEMU on slack?
I am trying to install qemu on my slack 14.2
system. Questions on hold for a few minutes while I try to install: |
Installing QEMU on slack?
use slackbuilds.org to install it.
|
Here is how I did:
Found qemu-2.9.0.tar.bz2 on alien Bob's place. Downloaded it. unzip it: bzip2 -d qemu-2.9.0.tar.bz2 untar it: tar -xvf qemu-2.9.0.tar changed to directory qemu-2.9.0 which was created by the above. found configure and ran it after logged in as root, with su command then:. # ./configure # make # make install seems to have worked, after running things forever. so I enter command --> qemu and nothing happens. I try to find where it is installed with: find / -iname qemu* -print and it finds it various places like this: /usr/local/share/qemu /usr/local/share/doc/qemu Here is what is in the first directory above: ---------------------------------------------- QEMU,cgthree.bin efi-virtio.rom petalogix-s3adsp1800.dtb skiboot.lid QEMU,tcx.bin efi-vmxnet3.rom ppc_rom.bin slof.bin acpi-dsdt.aml keymaps pxe-e1000.rom spapr-rtas.bin bamboo.dtb kvmvapic.bin pxe-eepro100.rom trace-events-all bios-256k.bin linuxboot.bin pxe-ne2k_pci.rom u-boot.e500 bios.bin linuxboot_dma.bin pxe-pcnet.rom vgabios-cirrus.bin efi-e1000.rom multiboot.bin pxe-rtl8139.rom vgabios-qxl.bin efi-e1000e.rom openbios-ppc pxe-virtio.rom vgabios-stdvga.bin efi-eepro100.rom openbios-sparc32 qemu-icon.bmp vgabios-virtio.bin efi-ne2k_pci.rom openbios-sparc64 qemu_logo_no_text.svg vgabios-vmware.bin efi-pcnet.rom palcode-clipper s390-ccw.img vgabios.bin efi-rtl8139.rom petalogix-ml605.dtb sgabios.bin ------------------------------------------------ Okay found in the doc/qemu to run it I have to enter --> qemu-system-i386 linux img that runs some things and tells me, emu-system-i386: Could not open 'linux.img': No such file or directory So any help on how to use this thing? I want to run dos eventually. Guess I have to load some version of it, but how do I invoke that as a command in qemu? Well, found a site with instructions, will see if I can figure them out pretty soon, but tired of this now. Seems like everything I do on linux is like trying to herd cats. Here is the site I found with instructions: https://opensource.com/article/17/10...ications-linux |
It might be beneficial to look at SlackBuilds.org (commonly called SBo) as they already have a SlackBuild for qemu. Pay careful attention to the optional dependencies and the various options that are available to ensure it is built to your liking.
But, assuming you're fine with how yours was built, you could then just look into how to use it. Unfortunately, from my (limited) understanding, qemu is not the simplest VM to use. You might want to search for some tutorials on how to use it with what you're wanting to do or you could look at ArchWiki page for qemu and see if that gives you what you need to get it going. |
Quote:
|
Well I got it installed, but it has turned into
a puzzle inside a conundrum. Instructions are terrible, even after I figure them out they don't work. I tried to use this site to figure out how to run it: https://opensource.com/article/17/10...ications-linux It seemed to get by the first instruction --> qemu-system-i386 On the 2nd one the whole system locked up and I had to power off to get control of the computer. That command was this --> -m 16 I can see the writing on the wall, this is just going to be one false start after another one. Have any of you installed dosbox on linux? |
Removed all the qemu that was installed,
giving up on qemu, marking this thread as solved. |
I have installed Dosbox on my Slackware64 laptop. I use it to run an old msdos program that I like and I use it every time I power up my computer. Maybe it is not so difficult because I am not particularly smart and am not schooled or trained in computers. Also I am 66 years old and this old dog don't learn easily any new tricks.
Now you have me curious about qemu |
Gordie
Arch has a nice and fairly simple qemu HOW-TO: https://wiki.archlinux.org/index.php/QEMU more help here: https://en.wikibooks.org/wiki/QEMU/Images The qemu wiki has all the gory details: https://wiki.qemu.org/Documentation What the OP didn't seem to understand, is that qemu is NOT an operating system, but a virtualization system to allow you run another OS on your existing OS. In the "old days" we needed to do this via dual/multi-booting various OS installed on hard drives. Thus, you need to tell qemu to create a disk image, then load that image but boot off another image (or CD/DVD) to install the new OS into the created image. This is why we can't have nice things: too many people are too lazy to RTFM. In the documentation the OP referenced, it specifically stated: 1. qemu-img create dos.img 200M 2. qemu-system-i386 -m 16 -k en-us -rtc base=localtime -soundhw sb16,adlib -device cirrus-vga -display gtk -hda dos.img -cdrom FD12CD.iso -boot order=d (1) creates the hard drive image (2) starts the image and boots "drive d:" (the "cdrom") iso image to start the freedos installation to "drive c:" the hard drive image. Then you simply can "qemu-system-i386 dos.img" to run the newly installed freedos. Dosbox is a good, easy, alternative but is geared to running old DOS games. Freedos is more feature complete. And yes, if you are running Slackware, install via Slackbuilds.org. |
qemu is beside Qt the second package I remember that is unfunny to build.
luckily it exists also on Slackonly https://slackonly.com/pub/packages/1...4/system/qemu/ |
I have never experienced problems building qemu using the SlackBuild from slackbuilds.org. (I note that the binaries at Slackonly are for qemu-2.10.2 whereas the SlackBuild is for qemu-2.11.1).
If you want the graphical virt-manager, then there is a long list of dependencies. Personally I have never built that, as I am happy using qemu with command line options and do not administer multiple virtual machines. |
a4z and allend
email me the issues/error messages building qemu via the Slackbuilds.org script (i.e. a bug report), or post on the mailing list. I just submitted the 2.12.0 update. I works here (command line of course), but I do want to know if anyone is having isues. |
I have just built qemu-2.12.0 using the SlackBuild script on a 64-bit -current install. No issues or error messages found, apart from a new deprecated option 'no-frame'. I have run my usual VM (a Windows XP system that has proprietary software I use) and it behaves as expected. Thanks for your work on this! I have leeched many times in the past.
|
Quote:
no bugs found here for me it is just that it takes some time to build and therefore I prefer the already compiled version from SlackOnly. |
All times are GMT -5. The time now is 03:04 PM. |