Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had an ext3 filesystem on my hard disk at /dev/hdc2 with a small 1024 byte blocksize. Now I recorded the whole filesystem on a DVD like this:

dd if=/dev/hdc2 of=/tmp/image.img
wodim -dev=/dev/scd0 /tmp/image.img

Now when I am trying to mount it, ext3 complains in dmesg:

EXT3-fs: blocksize 1024 too small for device blocksize 2048.

I guess that's because the DVD sector size is not 512 (like a hard disk), but 2048.

Is there some way to mount this? Without dd-ing the data back to a hard-disk of course, as I know that solution.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I've never tried this and am not going to burn a CD to test, but have you tried using an intermediate loop device, which uses /dev/scd0 as the backing "file", and specifying a blocksize for the loop device, to shim things into place?

The blocker would be if one of the tools is too smart and rejects it because the loop backing is not a regular file ...

share|improve this answer

I think you should write your image as file on ISO fs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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