• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Burning the OS image from an SDHC card

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a tool that any of you might know to burn the image of the contents of my SDHC card? I mean something similar to the Time Machine from Apple?
 
Saloon Keeper
Posts: 24810
172
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean something like backing up the OS image to a CD/DVD? If so, you'd need to make an ISO flat file out of the card's contents and use the cdrecord utility to write it to the disc. For DVD, you can skip the ISO and use the root of the mounted SD card directly, something like this:



growisofs makes the ISO a transient object so that you don't actually have to physically create it.

Note that if you want the created ISO to be bootable, you'll have to do a little more work, since the simple form of the command does a straight file replication without regard for the "magic" boot zone of the CD or DVD.
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:Do you mean something like backing up the OS image to a CD/DVD? If so, you'd need to make an ISO flat file out of the card's contents and use the cdrecord utility to write it to the disc. For DVD, you can skip the ISO and use the root of the mounted SD card directly, something like this:



growisofs makes the ISO a transient object so that you don't actually have to physically create it.

Note that if you want the created ISO to be bootable, you'll have to do a little more work, since the simple form of the command does a straight file replication without regard for the "magic" boot zone of the CD or DVD.



Yes, I want the ISO to be bootable. I'm currently installing MongoDB for which unfortunately, there is no packaged version. I have to compile it from the sources and install it to the SD card on my RasPi. It takes at least 5 to 8 hours to get this done. If during the next couple of months, I mess something up with my SD card, I do not want to go through the pain of loosing 5+ hours on getting MongoDB on to the RasPi. So I would like to get an ISO image of my SD card and make it bootable such that if something goes wrong, I can get back the current state of it working.
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It actually looks much simpler than I thought!

http://lifehacker.com/how-to-clone-your-raspberry-pi-sd-card-for-super-easy-r-1261113524
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic