Results 1 to 3 of 3

Thread: Create ISO of just the contents of a hard drive

  1. #1
    Join Date
    Mar 2010
    Location
    Near Hays Kansas
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Angry Create ISO of just the contents of a hard drive

    I've been using the command
    Code:
    dd if=/dev/sda of=/dev/sdb
    to copy my hard drives contents completely to another hard drive.
    However I need a way to copy just the files on one partition. I don't want the entire partition copied, just the files. I need the code to output them in to an ISO, any on know how to do this? I'd appreciate any help.
    @thewillweeks
    Linux User #531848 and Ubuntu User #33336
    My Personal Blog (not active)

  2. #2
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Create ISO of just the contents of a hard drive

    Does it need to bee cli? You could simply use brasero to create a cd project and write it to disc (meaning create an ISO).

    If you need it to be cli then take a look at the man pages for growisofs or genisoimage. I believe both of them can do what you want.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  3. #3
    Join Date
    Mar 2010
    Location
    Near Hays Kansas
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Create ISO of just the contents of a hard drive

    Doesn't need to be cli, just needs to be bootable when I'm done.
    @thewillweeks
    Linux User #531848 and Ubuntu User #33336
    My Personal Blog (not active)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •