qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Damm <damm@opensource.se>
To: mark.williamson@cl.cam.ac.uk, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] installing a boot loader into the disk images
Date: Sat, 11 Sep 2004 20:06:31 +0200	[thread overview]
Message-ID: <1094925991.1024.76.camel@kubu.opensource.se> (raw)
In-Reply-To: <200409111611.21969.mark.williamson@cl.cam.ac.uk>

Hello,

> You'll have to figure out a way of getting files onto this disk image at some 
> stage :-)  Some possibilities:
> * Use a distro running in QEmu to copy the files across (which it could in 
> turn get from NFS, SAMBA, etc.)
> * Patch your host kernel so that it understands partitions in loop devices
> * Use losetup to individually map the partitions to loop devices, using the -o 
> (offset) switch, then mount those.  (I saw a script for doing this on a 
> mailing list somewhere - Google knows)

I've created a tool that makes it possible to create and populate
filesystems (ext2/ext3/reiserfs right now) on a disk image. Scriptable
without root permissions. 

This tool is actually a small custom linux distribution (< 3 Mbytes)
desigend to be executed in the QEMU environment. It is possible to pass
a set of commands or a script to the QEMU environment for easy
scripting. Files are transfered from the host to the guest with TFTP.
Busybox fdisk is included (if I remember correctly that is), but no
lilo/grub yet. You need a recent CVS snapshot of QEMU or 0.6.0 with a
patch to get the tftp support.

I really would like to get this project out of my closet, one big
problem right now is that the entire source code is so damn large (> 100
Mbytes) and I need a way to distribute that amount of data. I was
thinking bittorrent, does anyone know a good tracker for FOSS?

Thanks!

/ magnus

  reply	other threads:[~2004-09-11 18:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11 11:56 [Qemu-devel] installing a boot loader into the disk images Diego Iastrubni
2004-09-11 13:18 ` Mark A. Williamson
2004-09-11 14:44   ` Diego Iastrubni
2004-09-11 15:11     ` Mark A. Williamson
2004-09-11 18:06       ` Magnus Damm [this message]
2004-09-11 19:55   ` Marcello 'R.D.O.' Magnifico
2004-09-11 14:25 ` Tim
2004-09-12  6:56   ` [Qemu-devel] " Alexander E. Patrakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1094925991.1024.76.camel@kubu.opensource.se \
    --to=damm@opensource.se \
    --cc=mark.williamson@cl.cam.ac.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).