Create ISO files in Linux


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #To make an ISO from your CD/DVD
  2.  
  3. dd if=/dev/dvd of=dvd.iso # for dvd
  4. dd if=/dev/cdrom of=cd.iso # for cdrom
  5. dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
  6.  
  7. #To make an ISO from files on hard drive, create a directory which holds the files you want.
  8. #Then use the mkisofs command.
  9.  
  10. mkisofs -o /tmp/cd.iso /tmp/directory/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.