qemu 사용법 아시는 분 ㅠㅠㅠ

realith의 이미지

qemu 를 설치했습니다
vmware는 30일마다 다시 깔아야해서 @_@;;

일단 설치는 했지만
도저히
어떻게 쓰는지 모르겠네요 ㅡ_ ㅡ;;

qemu 사용법 아시는 분 ㅠㅠ
가르쳐 주세요 ㅠㅠㅠㅠㅠㅠ
꼭~~! 도와주세요 ㅠㅠㅠ

===========================================
콘솔 상에서 qemu 명령어를 치니까 이렇게만 나오네요 ㅡㅡ;

[realith@localhost tmp]$ qemu
QEMU PC emulator version 0.6.1, Copyright (c) 2003-2004 Fabrice Bellard
usage: qemu [options] [disk_image]

'disk_image' is a raw hard image image for IDE hard disk 0

Standard options:
-fda/-fdb file use 'file' as floppy disk 0/1 image
-hda/-hdb file use 'file' as IDE hard disk 0/1 image
-hdc/-hdd file use 'file' as IDE hard disk 2/3 image
-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)
-boot [a|c|d] boot on floppy (a), hard disk (c) or CD-ROM (d)
-snapshot write to temporary files instead of disk image files
-m megs set virtual RAM size to megs MB [default=128]
-nographic disable graphical output and redirect serial I/Os to console
-enable-audio enable audio support
-localtime set the real time clock to local time [default=utc]
-full-screen start in full screen

Network options:
-nics n simulate 'n' network cards [default=1]
-macaddr addr set the mac address of the first interface
-n script set tap/tun network init script [default=/etc/qemu-ifup]
-tun-fd fd use this fd as already opened tap/tun interface
-user-net use user mode network stack [default if no tap/tun script]
-tftp prefix allow tftp access to files starting with prefix [-user-net]
-smb dir allow SMB access to files in 'dir' [-user-net]
-redir [tcp|udp]:host-port:[guest-host]:guest-port
redirect TCP or UDP connections from host to guest [-user-net]
-dummy-net use dummy network stack

Linux boot specific:
-kernel bzImage use 'bzImage' as kernel image
-append cmdline use 'cmdline' as kernel command line
-initrd file use 'file' as initial ram disk

Debug/Expert options:
-monitor dev redirect the monitor to char device 'dev'
-serial dev redirect the serial port to char device 'dev'
-S freeze CPU at startup (use 'c' to start execution)
-s wait gdb connection to port 1234
-p port change gdb connection port
-d item1,... output log to /tmp/qemu.log (use -d ? for a list of log items)
-hdachs c,h,s force hard disk 0 geometry (usually qemu can guess it)
-L path set the directory for the BIOS and VGA BIOS
-isa simulate an ISA-only system (default is PCI system)
-std-vga simulate a standard VGA card with VESA Bochs Extensions
(default is CL-GD5446 PCI VGA)
-loadvm file start right away with a saved state (loadvm in monitor)

During emulation, the following keys are useful:
ctrl-alt-f toggle full screen
ctrl-alt-n switch to virtual console 'n'
ctrl-alt toggle mouse and keyboard grab

When using -nographic, press 'ctrl-a h' to get some help.
=========================================

랜덤여신의 이미지

realith wrote:
qemu 를 설치했습니다
vmware는 30일마다 다시 깔아야해서 @_@;;

다시 설치하는 것이 아니라, 라이센스만 다시 받아서 입력해 주면 됩니다...

이런 말씀 드리기는 좀 뭣합니다만, 무례를 무릅쓰고 한번 해 보겠습니다.
어떤 프로그램을, 어떻게 사용하는지에 대한 문서는 인터넷에 무수히 많습니다.
구글 검색엔진을 이용할 수도 있고, kldp bbs 나 kldp wiki 에서 찾아보셔도 됩니다.
게다가, qemu 의 경우는 http://fabrice.bellard.free.fr/qemu/qemu-doc.html 이렇게 공식 홈페이지에 친절한 사용자 문서까지 제공합니다.
영어긴 하지만, 코드 중심으로 되어 있고, 사전 찾아가면서 하면 해석이 완전히는 아니여도 불가능한 것도 아닙니다.

이렇게 정보가 많은데, 해보지도 않으시고 무조건 "모르겠다" 라고 말씀하시는 것은 조금 심하다고 생각되지 않으시나요...?
realith 님이 올리신 글들을 보면 다들 "안 되는 상황" 에 대한 즉각적인 반응으로 글을 올리신 것처럼 보입니다. (제가 틀린 것일수도 있겠지만요...)

아무튼...
https://iorinux.net/wiki/HowToQemu
이 문서를 참고해 보시기 바랍니다.
젠투 문서긴 하지만... 사용 방법은 같으므로... 참고가 될 듯 하군요.

익명 사용자의 이미지

QEMU 는 VMWare와 달리 아주 간단한 기능만을 제공합니다.

그리고 버전이 0.7 까지 올라간 것 같은데 0.6 버전을 사용하신 것 같군요.

사용법은 간단합니다.

qemu -fda /dev/fd0 -hda hddimage.img -cdrom /dev/cdrom

이런 식으로 qemu 명령 뒤에 장치 옵션(-fda, -hda, -hdb, -cdrom, ...)을 붙이고 사용하려고 하는 장치나 이미지 파일을 적어 넣으면 됩니다.

플로피 디스크를 가상 장치의 플로피 디스크로 사용하고 싶다면,
-fda /dev/fd0
이런 식으로 적고,

하드 디스크를 가상 장치의 하드디스크로 사용하고 싶다면,
-hda /dev/hda
이런 식으로 적어 주면 됩니다.

하드디스크 이미지 파일을 가상장치의 하드디스크로 사용하고 싶다면
-hda imagefilename
이런 식으로 적어 주면 됩니다.

하드디스크를 하나 더 추가 하고싶다면
-hdb imagefilename2
이런 식으로 옵션을 주면 됩니다.

CD는 -cdrom 옵션을 사용하면 되고요.

부팅장치를 선택하고 싶다면 -boot 옵션 뒤에 a, c, d 등을 적어 주면 됩니다. (a는 플로피, c는 하드디스크, d는 CDrom)

예로, 가상 장치에 윈도우 설치 CD로 윈도우를 설치하고자 할 때는,
cd드라이브에 윈도우 설치 CD를 넣고
qemu -fda /dev/fd0 -hda hddimage.img -cdrom /dev/cdrom -boot d하면 됩니다.
hddimage.img 파일은 적당한 크기로 미리 만들어 놓아야 합니다.

j0nguk의 이미지

예전에 qemu로 windows를 설치해본 적 있습니다.

http://bsdforum.or.kr/viewtopic.php?t=511

참고하세요.

단, 제가 해봤을 때는 정말 느렸었습니다. 주의하세요. 그 동안 qemu가 좋아졌을지도 모르지만요.

uriel의 이미지

우분투에서 qemu를 사용하는 방법에 대한 문서입니다. http://www.ubuntuforums.org/showthread.php?t=39513

offree의 이미지

그런데, 살펴보니, qemu 사용하려면, 커널컴파일 작업이 필요한 것 같은데..
커널컴파일을 안하거나, 조금 편리하게 하는 방법이 없을까요?

debian , ubuntu 를 쓰다보니, 커널컴파일 하기가 왠지 싫어집니다. ^^ (ubuntu 는 qemu 용 커널을 제공하라!!)

사용자가 바꾸어 나가자!!

= about me =
http://wiki.kldp.org/wiki.php/offree , DeVlog , google talk : offree at gmail.com

익명 사용자의 이미지

우분투에서는 커널컴파일 할 필요 없습니다. 데비안도 마찬가지 일 것 같군요

offree의 이미지

Anonymous wrote:
우분투에서는 커널컴파일 할 필요 없습니다. 데비안도 마찬가지 일 것 같군요

그런가요!
시도하다가 커널컴파일에서 할까 말까 고민하고 있었는데, 다시 시도해봐야 겠군요.

사용자가 바꾸어 나가자!!

= about me =
http://wiki.kldp.org/wiki.php/offree , DeVlog , google talk : offree at gmail.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.