J’ai fait un paquel lomount qui permet de monter une partition d’un disque virtuel:
[quote]totoche:/home/francois/Emulation# lomount
ex. lomount -t fs-type -diskimage hda.img -partition 1 /mnt
totoche:/home/francois/Emulation# lomount -t ext2 -diskimage linux.img -partition 1 /mnt
totoche:/home/francois/Emulation# ls -l /mnt
total 62
drwxr-xr-x 2 root root 2048 2006-12-02 09:51 bin
drwxr-xr-x 3 root root 1024 2006-12-02 10:37 boot
lrwxrwxrwx 1 root root 11 2006-12-02 10:22 cdrom -> media/cdrom
drwxr-xr-x 11 root root 24576 2006-12-02 10:38 dev
drwxr-xr-x 51 root root 3072 2007-11-13 14:32 etc
drwxrwsr-x 3 root staff 1024 2006-12-02 09:41 home
drwxr-xr-x 2 root root 1024 2006-12-02 10:24 initrd
lrwxrwxrwx 1 root root 28 2006-12-02 10:36 initrd.img -> boot/initrd.img-2.6.17-2-686
drwxr-xr-x 11 root root 4096 2006-12-02 09:50 lib
drwxr-xr-x 2 root root 12288 2006-12-02 10:22 lost+found
drwxr-xr-x 3 root root 1024 2006-12-02 10:22 media
drwxr-xr-x 2 root root 1024 2004-12-15 23:55 mnt
drwxr-xr-x 2 root root 1024 2006-12-02 10:24 opt
drwxr-xr-x 2 root root 1024 2004-12-15 23:55 proc
drwxr-xr-x 4 root root 1024 2006-12-02 18:07 root
drwxr-xr-x 2 root root 3072 2006-12-02 13:41 sbin
drwxr-xr-x 2 root root 1024 2006-12-02 10:24 srv
drwxr-xr-x 2 root root 1024 2005-05-10 22:01 sys
drwxrwxrwt 2 root root 1024 2007-11-13 13:59 tmp
drwxr-xr-x 11 root root 1024 2006-12-02 10:24 usr
drwxr-xr-x 13 root root 1024 2006-12-02 10:24 var
lrwxrwxrwx 1 root root 25 2006-12-02 10:36 vmlinuz -> boot/vmlinuz-2.6.17-2-686
totoche:/home/francois/Emulation# umount /mnt
totoche:/home/francois/Emulation#
[/quote]Par ailleurs, tu as ici http://forum.debian-fr.org/viewtopic.php?t=3095 des exemples d’utilisation de qemu.