Forum Home
Press F1
 
Thread ID: 26197 2002-10-22 01:15:00 Win Partition Image with Linux Shroeder (492) Press F1
Post ID Timestamp Content User
91475 2002-10-22 01:15:00 Hi all

I've been fiddling with Linux for awhile now and it seems to me that judicious use of the dd command should allow me to image my Win98 partition to another drive as backup?

Does this make sense, and if so, how would I go about achieving it?

TIA
Shroeder (492)
91476 2002-10-22 03:08:00 If your Windows partition is /dev/hda1 and you have another (empty)partition called say, /dev/hda2 you could, with both partitions unmounted, do dd if=/dev/hda1 of=/dev/hda2 bs=512 count=XXXXXX (where you will have to calculate a count). The blocksize ("bs") can be bumped up --- I commonly use "72k" on floppies, with the count scaled down to suit. (Microsoft blocksize is 512, not 1024 ...) Bigger blocksize means a bigger buffer is used, and fewer transfers, making it go faster. (They are not mounted, because this sort of copy is not file structured).

If you want to make a *nix file. again with the windows disk unmounted, use dd if=/dev/hda1 of=/path/to/my_enormous_windows_file.dat bs=blah count=blahblah as before. The destination file is on a mounted disk ... because it is a file. ;-)
Graham L (2)
91477 2002-10-22 03:13:00 Thanks Graham.

I'll give it a go :D

Shroeder
Shroeder (492)
1