Dirk Abe <[EMAIL PROTECTED]> writes: > Am Samstag, 19. Februar 2005 22:59 schrieb Bernd Schwendele: >> Hallo Liste, > [...] >> Wenn ich nun ein solches RAW-Image erstellt habe, kann ich das dann >> auch irgendwie bspw. mit FAT32 formatieren? Sorry, ich hab' da echt >> keinen Plan! Gru� > > Wenn ich mich nicht irre, dann ging es, indem Du das Image an ein > Loop-Device bindest (-> losetup) und anschlie�end mit mkfs-irgendwas > formatierst. Danach das Loop einfach mounten. > (Hoffe ich erz�hle jetzt kein Mist!)
Nur ein wenig. Das beschriebene Verfahren funktioniert mit Partitionen, nicht mit kompletten Disk Images. Da kommen dann Offsets ins Image dazu, und die von Hand zu berechnen ist kein Vergn�gen. Ich habe ein Skript hier (eine Vorversion hatte ich auf der Qemu-Liste): | $ mount-hd-image --help | Syntax: mount-hd-image [-t type] raw_image mountpoint [ mount-opts ] | Function: mount all partitions of a complete hd image | optionally create a new one | opts: | -c size create image, run fdisk on it and create filesystems | on all partitions. size may be followed by k, M, or G. | Implies -f | -f run fdisk on raw_image | -m type make a filesystem on all partitions | -C use captive-ntfs for NTFS partitions | -P (Paragon) use ufsd for NTFS partitions | -v debug level (may be given multiple times) | -x Script debug (set -x) Nat�rlich ohne Garantie; bei Bedarf Mail. Gru�, Heike -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

