![]() |
Re: Which Linux distributions do you use?
If you've mounted the ntfs partition correctly, you're good to go. As long as it's mounted, the concept of a partition is transparent to the userland tools. It'll write to it as if it's on the root and the filesystem driver will do the actual write. Most linux distributions have the proper support to write to ntfs enabled. If you can echo foo > bar, then you can dd.
And if you can't, it should stop you by giving you a permission denied message before it lets you do something that can nuke the partition. It's only "disk destroyer" if you start playing with outputting to files in /dev - that's the only time it actually writes bytes to raw disk - and really anything written to those files can be dangerous, just dd does it the most. They might be special files, but they're still just files, and dd doesn't do much of anything special - it just moves bytes around, like a really low-level cat. |
Re: Which Linux distributions do you use?
Quote:
For the reasons explained by rbmj above, this command is perfectly safe. The output file, /mnt/sdb1/MBR.img is a normal file -- it is not a device node, and does not control anything inside the kernel. Therefore, writing to it is a safe operation. The underlying filesystem is sufficiently abstracted away such that dd is never aware it is writing to an NTFS partition -- it simply tells the kernel "put this data into this file", and the kernel deals with the filesystem itself. |
Re: Which Linux distributions do you use?
Quote:
Quote:
dd if=/dev/sda of=/mnt/sdb1/MBR.img bs=512 count=1 |
Re: Which Linux distributions do you use?
Quote:
Code:
dd: opening `/mnt/sdb1/MBR.img': No such file or directory |
Re: Which Linux distributions do you use?
There are also builds of dd for Windows.
My experiences with dd match those listed above. dd for Windows |
| All times are GMT -5. The time now is 04:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi