![]() CrystalDiskInfo supports only IDE (Parallel ATA) and Serial ATA disks connected internal ATA controller (Chipset included). The filed of rotation rate is defined by ATA8-ACS. The field of buffer size supports a maximum of 32 MB. Ntfsclone -restore-image -overwrite /dev/sdb1 /mnt/sda1/sdb1. Writes disk information to registry for gadgets and other software. Sfdisk /dev/sdb < /mnt/sda1/sdb-partition-table.dmp I did shut my Ubuntu workstation down then plugged a new spare raw (ie. Once you have your image, you may check if your hdd applies for RMA and restore your image to a new hdd if you have a spare one. I used -rescue to have ntfsclone ignore disk errors and -force to have it clone into an image even if the disk was marked as dirty. Sfdisk dumped the partition table layout ( -d option), here I had the classic single-partitioned Windows XP.ĭd saved the mbr (the first 512 bytes) into the sdb- mbr.dmp file.įinally, ntfsclone did an image of my broken partition (don't get confused by sdb1 & sda1 on the last command.). The commands above did the task I was looking to accomplish perfectly! Ntfsclone -rescue -force -save-image -output /mnt/sda1/sdb1.img /dev/sdb1 Sfdisk -d /dev/sdb > /mnt/sda1/sdb-partition-table.dmpĭd if=/dev/sdb of=/mnt/sda1/sdb-mbr.dmp bs=512 count=1 I plugged the faulty hdd on my Ubuntu box and, as soon as ubby booted, I opened a sudo prompt and typed the following nice commands on my terminal (you'll have to know where your NTFS hdd is mapped to: check your fstab, launch "blkid" and/or this "dmesg | egrep '(s|h)d'"): I knew I coulda used Acronis and such " for pay tools", but I needed to justify my salary and I had an Ubuntu box to play with.Īfter some reasearch on the topic, I gathered some helpful information which allowed me to accomplish this task. So I decided to clone the broken data to an image, then restore the image to a new hdd. If you are more interested into how the various partitions are associated with the mount points try lsblk which I often use as: lsblk -o 'NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID' to include UUID info. I checked this HDD with Crystal Disk Info and the report was preoccupying to say the least.Īfter trying to boot the system, I got some BSODs and chkdsk wasn't able to finish the checks. Someday I was given the task to fix a problematic Windows XP Pro (used as a server, but let's supersede.), with a scratchy hdd.
0 Comments
Leave a Reply. |