I'm trying to use the dd
command to copy the content of the folder boot0 to the my disks intial bytes.
This is the command :
sudo dd if=boot0/ of=/dev/sdb ibs=440 obs=440 count=1
But I get this error :
dd: error reading ‘boot0/’: Is a directory
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000209512 s, 0.0 kB/s
How can I solve this problem?
dd
reads files, not folders. As it is, that's not the proper way to write files to the start of a drive. You need to create a FAT32 partition first and then usecp
to copy the contents over. – saiarcot895 May 29 '14 at 12:15