Obnova img disku z linuxu
- Jackmediv
- Nováček

-
- Registrován: 22. dub 2005
- Kontaktovat uživatele:
Obnova img disku z linuxu
Zdarec, su naprosta lamka a potrebuju pomoct, chtel bych si udelat img dusku, kde amm windows a ten pak jednoduse z linuxu obnovit, kdys se enco pokazi abych měl hned fungujici win s programama a nemusel vsechno podar pracne instalovat, ale nevim jak to udělat, mužete mi někdo poradit nějaky software, nebo link na navod, bo cokoliv. Moc diky za jakoukoli pomoc 
- cubic
- Nováček

-
- Registrován: 13. bře 2006
http://www.partimage.org/Main_Page
ale!:
The NTFS (Windows NT File System) is currently not fully supported: this means you will be able to save an NTFS partition if system files are not very fragmented, and if system files are not compressed. In this case, you will be able to save the partition into an image file, and you will be able to restore it after. If there is a problem when saving, an error message will be shown and you won't be able to continue. If you have successfully saved an NTFS NTFS partition, you shouldn't have problems as you restore it (except in the case of bugs). Then the best way is to try to save a partition to know if it is possible. If not, try to defragment it with diskeeper or another tool, and try to saving the partition again.
ale!:
The NTFS (Windows NT File System) is currently not fully supported: this means you will be able to save an NTFS partition if system files are not very fragmented, and if system files are not compressed. In this case, you will be able to save the partition into an image file, and you will be able to restore it after. If there is a problem when saving, an error message will be shown and you won't be able to continue. If you have successfully saved an NTFS NTFS partition, you shouldn't have problems as you restore it (except in the case of bugs). Then the best way is to try to save a partition to know if it is possible. If not, try to defragment it with diskeeper or another tool, and try to saving the partition again.
- tosuja
- Začátečník

-
- Registrován: 07. dub 2004
- Bydliště: Brno
Predpokladejme, ze windy jsou na 1. partition na primary master disku (v linuxu tedy hda1). Potom odpoj (umount) windowsovy diskovy oddil a jako root spust:
Toto ti vytvori zagzipovany obraz windowsoveho disku. Vznikly obraz bude jednoduse pouzitelny pouze pro obnovu windows na stavajicim diskovem oddile.
Obnova (opet jako root):
EDIT: mnohem mensiho obrazu disku dosahnes, pokud pred vytvorenim obrazu vyplnis volne misto na disku nulami. Nevim, jak toho dosahnout ve Windows, ale pokud to je FAT32, tak to udelas klidne z Linuxu - na disk s windows uloz soubory plne nul (bude jich muset byt asi vic - FAT 32 nezvlada soubory vetsi, nez 4GB).
Kód: Vybrat vše
dd if=/dev/hda1 | gzip > windy.img.gzObnova (opet jako root):
Kód: Vybrat vše
zcat windy.img.gz > /dev/hda1Kód: Vybrat vše
cat /dev/zero > /mnt/windows/nuly1AMD Athlon XP 2000+ se snizenym napetim 1.6V | chladic Spire WhisperRockIII | MB Soltek SL75DRV-2 | 1GB CL2 RAM | 320GB Hitachi | DVD-RW NEC 3520A | DVD-ROM Pioneer 106S | GK ATI 9800 128MB | SoundBlaster Live 5.1 | sitovky Via-Rhine II a Realtek 8139 | TV+FM tuner Genius Video Wonder III Pro | bedna YeongYang YY-5601, 120mm vetrak| zdroj Chieftec 350W | monitor ADI E75 | OS Debian sid