<---- template headericclude ----->
Need to make ISO of Live USB Partition
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need to make ISO of Live USB Partition

    I created a FC12 Live USB and it works great. I created it with 1 Gb of persistent storage and I've made all the changes that I need to make and it is operating as advertised. Now, I'm trying to make an ISO image of all my changes so that I can then later use it to create a duplicate live USB stick so that I don't have to go through all of my changes again. However, I'm having trouble making an ISO of the FC12 partition on my USB stick. Any ideas? Thanks in advance.

  2. #2
    Join Date
    Oct 2006
    Location
    Melbourne
    Age
    52
    Posts
    603
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To backup:


    To find the device of your flash drive plug it in and type at the prompt:

    Code:
    df -h
    Now unmount your flash drive

    Then to back it up:
    Code:
    dd  if=/dev/name-of-device of=/home/username/flash-backup.img
    dd=disc dump
    if=Input file
    of=output file

    To Restore the image:
    Code:
    dd if=/home/username/flash-backup.img of=/dev/name-of-device
    Fedora 39 Gnome Desktop

    Theme: Sweet [GTK2/3]
    Icons: Sweet-Rainbow [GTK2/3]

  3. #3
    Join Date
    May 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the quick reply Johnny. I guess the only unfortunate thing is that dd creates an image the same size as my usb drive rather than just imaging the contents of the usb partition.

  4. #4
    Join Date
    Oct 2006
    Location
    Melbourne
    Age
    52
    Posts
    603
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To save space, you can compress data produced by dd with gzip, e.g.:

    Code:
    dd if=/dev/your-flash-drive | gzip -c  > /home/username/image.img
    You can restore your disk with:
    Code:
    gunzip -c /home/username/image.img.gz | dd of=/dev/your-flash-drive
    Unfortunate about the space.

    DD should accurately capture the bit state of an unmounted drive. Best not to dd a live filesystem as it can corrupt files since the program has no understanding of the file-system activity that may be going on, and makes no attempt to mitigate it. If a write is partially underway, you will get a partial write.

    How big is u flash drive?

    ---------- Post added at 01:58 PM CST ---------- Previous post was at 12:48 PM CST ----------

    Partimage backs up data only.

    Code:
    yum install partimage
    see here http://www.psychocats.net/ubuntu/partimage for how to

    or try clonzilla

    http://clonezilla.org/download/sourc...-zip-files.php
    Last edited by jonathonp; 15th December 2009 at 06:51 AM.
    Fedora 39 Gnome Desktop

    Theme: Sweet [GTK2/3]
    Icons: Sweet-Rainbow [GTK2/3]

Similar Threads

  1. make live cd?
    By Wiles in forum Using Fedora
    Replies: 0
    Last Post: 25th March 2009, 04:30 PM
  2. How to make big partition?
    By dmiller123 in forum Hardware
    Replies: 5
    Last Post: 21st October 2008, 10:38 PM
  3. How to make a partition?
    By kirikokis in forum Hardware
    Replies: 16
    Last Post: 26th September 2008, 10:03 PM
  4. how to make 2 partition
    By snaziwan in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 3rd January 2008, 10:02 PM
  5. Replies: 1
    Last Post: 3rd September 2007, 05:43 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]