[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parted,,DD and NTFS
From: |
James Perrett |
Subject: |
Parted,,DD and NTFS |
Date: |
Fri, 9 Aug 2013 00:20:11 +0930 |
I was wondering why the following Did not work
Using Ubuntu 12. DD and parted.
My /Dev/SDA drive was failing so I did the following
dd if=/dev/sda /dev/sdb conv=noerror
/dev /sda is 1.5T and /dev/sdb is 2.0.
This worked but parted showed due to physical vs Logical block not being equal.
That the partitions where not aligned.
So created my partitions in parted sdb1=33G sdb2=33G and sdb3=33G
Sdb4/5 the rest.
Parted showed SDB1 ntfs SDB2 EXT3 SDB3 EXT3 and SDB5 ntfs. this was correct.
But Win7 could not mount NTFS partitions. Yikes.
Back to Ubuntu boot
Parted showed correct partition sizes and types check-align not errors.
Parted happy with patitions Ubuntu can mount all partitions no data lost,
BUT !! fdisk showed B1=EXT3*** B2=EXT3 B3=EXT3 B4=Extended and B5=EXT3
so after changing just partition type on B1 and B5 . Ubuntu still
happy to mount all partions after reboot.
Now I am doing a disk compare of SDA1 == SDB1 and so far all files are
identical
except for page file and Hibernate files which are different(No
suprise there). A BIG Yeah for Ubuntu /dd /parted to the rescue.
So why the diference between fdisk and parted on partition table ????
Any Ideas
- Parted,,DD and NTFS,
James Perrett <=