Fedora Linux Support Community & Resources Center
  #1  
Old 15th December 2009, 03:05 AM
lonestarshack Offline
Registered User
 
Join Date: May 2009
Posts: 4
windows_xp_2003safari
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.
Reply With Quote
  #2  
Old 15th December 2009, 03:38 AM
jonathonp Offline
Registered User
 
Join Date: Oct 2006
Location: Melbourne
Age: 42
Posts: 532
linuxfedorafirefox
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
__________________
http://poppleit.com/

Fedora 17 XFCE x64, Xubuntu 12.04 LTS x64, Windows 7 64bit
HP-ProBook 5830 i3 - PC AMD Core 4
MacBookPro v10.7.4 - 2.8GHz i7 4GB RAM
Reply With Quote
  #3  
Old 15th December 2009, 04:46 AM
lonestarshack Offline
Registered User
 
Join Date: May 2009
Posts: 4
linuxfedorafirefox
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.
Reply With Quote
  #4  
Old 15th December 2009, 06:58 AM
jonathonp Offline
Registered User
 
Join Date: Oct 2006
Location: Melbourne
Age: 42
Posts: 532
linuxfedorafirefox
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
__________________
http://poppleit.com/

Fedora 17 XFCE x64, Xubuntu 12.04 LTS x64, Windows 7 64bit
HP-ProBook 5830 i3 - PC AMD Core 4
MacBookPro v10.7.4 - 2.8GHz i7 4GB RAM

Last edited by jonathonp; 15th December 2009 at 05:51 AM.
Reply With Quote
Reply

Tags
iso, live, make, partition, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make live cd? Wiles Using Fedora 0 25th March 2009 04:30 PM
How to make big partition? dmiller123 Hardware & Laptops 5 21st October 2008 10:38 PM
How to make a partition? kirikokis Hardware & Laptops 16 26th September 2008 10:03 PM
how to make 2 partition snaziwan Installation, Upgrades and Live Media 1 3rd January 2008 09:02 PM
using revisor to make a live cd, hangs at Networking marko Using Fedora 1 3rd September 2007 05:43 AM


Current GMT-time: 11:53 (Friday, 01-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat