This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: running systemtap on qemu


On 9/28/05, William Cohen <wcohen@redha.com> wrote:
> I am probably not the only one that doesn't always have a spare machine
> handy to try something out on. Tuesday I set up an FC4 image on QEMU on
> my FC3 laptop. I have attached a writeup describing what I did.
>
> -Will
>

great idea, i use a trial version of vmware and get faster results but
same intent

[snip]
> The next step is to set up a FC4 image. For this you will need a file
> to act as the virtual disk drive and the ISO image for the FC4 DVD.  A
> 8Gigabyte virtual disk drive file can be created for QEMU with:
>
> qemu-img create qemu-fc4.img 8G

i have found that you can get by with  a 4G disk if you follow my
recomendations outlined below.

>
> The FC4 DVD ISO,FC4-i386-DVD.iso, can be obtained from:
>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/iso/FC4-i386-DVD.iso
>
> Now you can install FC4 on the virtual disk drive with QEMU. QEMU can
> grab the mouse and keyboard, you can toggle back to the regular system
> with <cntl>-<alt>. Start the installation with:
>
> qemu -boot d -cdrom FC4-i386-DVD.iso qemu-fc4.img
>
> This will boot off the DVD iso. Now you can do the normal installation
> using the normal defaults for things. When selecting packages at a
> minimum SystemTap will need the kernel-devel and the gcc compiler
> packages. The "Workstation" installation should be sufficient; to keep
> the amount of space required down and reduce the installation time
> avoid an "everything" install. Refer to the following URL for more information
> about installation:
>
i use a custom install,  no X, nothing extra just develepopment tools.

> http://fedora.redhat.com/docs/fedora-install-guide-en/fc4/
>
> The installation of the packages will take a while.  Allow the RPM
> install to complete. When asked select the reboot and go through the
> normal first boot. After this you have an FC4 image you can play with
> on QEMU. You will need to shut down the system in the normal manner,
> e.g. selecting shutdown on log out.  To restart the FC4 image you use
> the following command:
>
> qemu   qemu-fc4.img
>

> You will want to update the packages in the FC4. The machine
> will need a network connection to connect to the YUM repository. Log
> in as root on the FC4 system running on QEMU. Open a terminal and run
> the upgrade:
>
> yum update

this is over kill, you can get by with just following these instructions

http://sources.redhat.com/ml/systemtap/2005-q3/msg00470.html

a bit more steps, but it ends up being much faster.

James Dickens
uadmin.blogspot.com


[snip]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]