The question is about disks that were formatted as 520 or 528 bytes rather than 512 bytes. How does the operating system read data if I cannot access to those disks via hexedit/cat or any viewer?

Is there a way that I can read and write data coming from 520 formatted disks without reformatting the size to 512 on Ubuntu?


If you want to read the data from the disk, you plug it back into the storage device it came out of, along with the rest of the disks that comprised whatever storage array it was a part of.

Linux cannot read disks formatted with 520-byte sectors. (Nor does Windows.) If you want to use this drive with Linux, you need to reformat it to 512-byte sectors. Instructions to do this are very easy to find on the Internet.

| improve this answer | |
  • Note - not all disks with 520b sectors can be reformatted to 512b sectors. – fpmurphy Jul 15 at 5:07
  • Correct. Not all disks can be reformatted to resize the sector size. – netrox Jul 17 at 4:15
  • But this is not really my question though... exactly how do I view the content of what's in the disk via the RAID configuration? Those disks formatted as non-512B are not readable with cat or hexedit when you attempt to open a /dev/sd* device so how do I view them in raw format if not with hexedit? – netrox Jul 17 at 4:17
  • @netrox Again, you don't. If you really want to read the data on the disks, you plug them back into the device they were designed for. – Michael Hampton Sep 4 at 1:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.