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

Re: [OT] cambiare hd a WinXP



Il 02/07/2010 09:21, Paolo Sala ha scritto:
Ciao a tutti scusate l'OT, non infamatemi... un PC con windows XP ha un
hd piccolissimo (20 GB) e volevo sostituirlo con un hd da 60 GB.
Ho pensato: niente di più facile:
1. con sfdisk -d ho copiato le partizioni dall'hd da 20 GB e sempre con
sfdisk le ho create sull'hd da 60GB.
2. con dd ho copiato la partizione dall'hd da 20GB a quello da 60GB
3. con gparted ho allargato la partizione affinche occupasse tutto l'hd
da 60GB
4. Con un disco di windows dalla console di ripristino ho rupristinato
il MBR con fixmbr

Ma non funziona. Cosa ho dimenticato?

Grazie

Piviul



Forse la partizione non ha il flag "boot",  lo vedi da "fdisk -l" (asterisco)
Potevi evitarti tutto questo, sia usando gparted con copia partizione, oppure usando clonezilla ;-)
Altro strumento, che tra l'altro è usato da gparted, è partclone

http://partclone.org/usage.php

Examples 1:
              clone /dev/hda1 to hda1.img and display debug information.
              $ partclone.extfs -c -d -s /dev/hda1 -o hda1.img
             
Examples 2:
              restore /dev/hda1 from hda1.img and display debug information.
              $ partclone.extfs -r -d -s hda1.img -o /dev/hda1

Examples 3:
              clone /dev/hda1 to /dev/hdb1 directly  and display debug information.
          $ partclone.extfs -b -d -s /dev/hda1 -o /dev/hdb1

ATTENZIONE alla sintassi, tempo fa ho 'piallato' un disco ntfs :-(

naturalmente per ntfs devi usare partclone.ntfs

partclone.ntfs v0.1.9 (Rev:343M) http://partclone.org
Usage: partclone.ntfs [OPTIONS]
    Efficiently clone to a image, device or standard output.

    -o,  --output FILE      Output FILE
    -O   --overwrite FILE   Output FILE, overwriting if exists
    -s,  --source FILE      Source FILE
    -L,  --logfile FILE     Log FILE
    -c,  --clone            Save to the special image format
    -r,  --restore          Restore from the special image format
    -b,  --dev-to-dev       Local device to device copy mode
    -R,  --rescue           Continue after disk read errors
    -dX, --debug=X          Set the debug level to X = [0|1|2]
    -C,  --no_check         Don't check device size and free space
    -N,  --ncurses          Using Ncurses User Interface
    -X,  --dialog           Output message as Dialog Format
    -I,  --ignore_fschk     Ignore filesystem check
         --ignore_crc       Ignore crc check error
    -F,  --force            Force progress
    -f,  --UI-fresh         Fresh times of progress
    -h,  --help             Display this help

Ciao,
Antonio


Reply to: