Re: What the proper way to create debian rescue disk (debian installed into qemu iso and dd'ed into some hard drive)
-----BEGIN PGP SIGNED MESSAGE-----
On 2008-07-16 16:54, Jabka Atu wrote:
> On Wed, Jul 16, 2008 at 4:04 PM, Jabka Atu <firstname.lastname@example.org> wrote:
>> I did not understand what you are trying to do. Are you installing
>>> Debian on qemu, and then intend to clone this qemu image to a real hard
>>> disk? That might work (Debian is not Windows), but is not ideal as the
>>> virtualized hardware of qemu is not the same as of the actual system.
>>> I'd recommend clonezilla for making images of disks and restoring them
>>> later. It has worked well for me.
>> Yep , the idea is to copy the image into to hard drive.
> What i meen is what do i need to do with the image to make suitable for
> harddisk copying (do i need to change it to raw format or anything ?
I also don't really understand what you intend to do. If you'd just like
to backup some (or all) files from your partition you can just copy them
to wherever you like. It doesn't matter if these are 'data files,
'system files' or qemu images.
(There are some funny OSs that distinguish between these types in order
to make it more difficult to clone an installation, but that's not the
case for linux)
You might consider keeping the file properties and/or to compress files,
in case you'd like to save disk space.
dd is capable of copying your disk / partition bit for bit. Read 'man
dd'. However, with current disk sizes this approach will probably be
highly inefficient as all the empty space is copied as well. For most
backup scenarios rsync or other backup tools are miles better. They are
also much more flexible (in case your replacement disk has different
specifications from the then dead one).
HTH, take care, YMMV,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----