Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to extract the OS filesystem from Fedora's ISO image (downloadable from their site) using dd command?

share|improve this question

migrated from stackoverflow.com Aug 5 '09 at 17:09

This question came from our site for professional and enthusiast programmers.

    
You need to extract an specific file? –  setatakahashi Aug 5 '09 at 17:16

3 Answers 3

If you already have the ISO filesystem in a file on your hard drive (downloaded from the Internet or copied, wholesale, from a CD or DVD), you'll need to mount the file in "loopback" mode. ("loopback" means the source of the filesystem is in fact another file, not a physical device.) As root, something like this would work:

# mkdir /tmp/fedora
# mount /path/to/image.iso /tmp/fedora -o ro,loop -t iso9660

Then you can browse /tmp/fedora using your favorite tools.

You can use dd to create an iso file from a CD or DVD:

# dd if=/dev/cdrom of=image.iso
share|improve this answer

I believe dd can't do that, it just enables raw access to the ISO file itself.

I think you should use the mount command:

mount -o loop file.iso /mnt
share|improve this answer

Your Answer

 
discard

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