dd ntfs to fat32
I have read the very informative thread here about the dd command and thought I should tinker around with it. Here is what I did. I booted up my IBM laptop with Puppy 2 cd.
Code:
dd if=/dev/hda1 skip=1 of=/dev/sda1 seek=1 bs=4k conv=noerror dmesg | tail yields this: Code:
File system has been set read-only Code:
mount -t vfat -o ro /dev/sda1 /mnt/test |
If it was ntfs on hda1 it will still be ntfs on sda1. Try mounting it with the ntfs driver.
|
tried:
mount -t ntfs -o user,ro /dev/sda1 /mnt/test output of dmesg | tail Code:
FAT: Filesystem panic (dev sda1) Looks like to me I could fix the mbr and actually boot this in windows, but I just want to be able to look at through linux for now. |
What is the reason for skipping the first 4K Bytes of the partition? I suspect that you have left out some crucial file system info.
|
Yeah, the skip/seek would have a tendency to screw things up when you don't copy the whole partition.
|
http://www.linuxquestions.org/questi...light=learn+dd
Quote:
|
Yes, the skip/seek might apply when copying a whole disk to another, but not from one partition to another. When using partitions, your are only copying filesystems and so you should copy from the very beginning on.
|
Gotcha, so I messed up again! At least I know now, rather than later, when I might really need it! I missed that subtle difference when reading the dd post!
|
That's alright, it's why we're here. :)
Hope it works for you now. |
All times are GMT -5. The time now is 08:04 AM. |