[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation minimales Debian II



-Das Kernelpaket wollte auf ein ext2 image kopieren, indem ich dieses einfach mounte:
 mount image.ext2 /mnt/qemu/ -t ext2 -o loop,rw
Da gab es dann aber den Fehler:
 VFS: Can't find an ext2 filesystem on dev loop0 qemu
Ich schätze, das liegt daran, daß das Image eine komplette Festplatte mit mbr und partition table ist und nicht nur file mit ext2. Letzteres kann ich problemlos mounten.
Wie kann ich denn das Festplattenimage mounten?

Ups. OK. Google ist mein Freund :).
http://bochs.sourceforge.net/doc/docbook/user/loop-device-usage.html


2. If you want access to a hard disk image, you have to calculate the size of the first cylinder. This value is the offset argument for losetup.

offset = bytes per sector * sectors per cylinder

The command for dlxlinux image looks like this:

losetup /dev/loop0 /usr/local/bochs/dlxlinux/hd10meg.img -o 8704

For images created by bximage you must use the value 32256.


Wo ich jetzt allerdings das offset herbekomme, ist mir noch schleierhaft.....

Gruß,
Patrick



Reply to: