Linux Lite Forums

Software - Support => Other => Topic started by: liamjake05 on July 11, 2016, 10:20:32 AM

Title: Make an image of usb drive
Post by: liamjake05 on July 11, 2016, 10:20:32 AM
I have a Raspberry PI SD Card which I need to format but before I want to make an image of it. Unfortunate, all the programs are all for windows. Does any body know about a piece graphical software for this. (Do not mention dd)
Title: Re: Make an image of usb drive
Post by: torreydale on July 11, 2016, 10:31:20 AM
Perhaps you could use the Disks program in Linux Lite.  Menu > Settings > Disks.  Highlight your SD card on the left.  Then use the More actions icon in the upper right.  Under it will be an option to Create Disk Image. 

You can also use the Archive Manager.  Menu > Accessories > Archive Manager.  From the Archive Manager menu click on Archive and then New.  Select your SD card, and then change the default extension from .zip to .iso.

Title: Re: Make an image of usb drive
Post by: liamjake05 on July 11, 2016, 11:11:33 AM
I got an error. Hint: The SDCard has 2 Partitions

(http://i.imgur.com/P5veZ9l.png)
Title: Re: Make an image of usb drive
Post by: trinidad on July 11, 2016, 11:37:32 AM
If you have windows already on board try this.

http://raspi.tv/2012/back-up-your-raspberry-pi-sd-card

TC
Title: Re: Make an image of usb drive
Post by: N4RPS on July 11, 2016, 09:16:53 PM
Hello!

Redo Backup should be able to back up your entire SD card quite nicely. It is a LiveCD/USB that's Lubuntu-based, and plays quite nicely in a mutiboot USB envoironment.

I use it HERE all the time - every time I need to back up an entire drive...

73 DE N4RPS
Rob
Title: Re: Make an image of usb drive
Post by: liamjake05 on July 12, 2016, 08:11:54 AM
I do not have Windows on the Raspberry Pi and also I only want software not live boot. I also said that I do not want to use DD.
Title: Re: Make an image of usb drive
Post by: trinidad on July 12, 2016, 10:05:48 AM
Not a Raspberry expert, but this is a bit read error. You have a 32bit and 64bit part on the same sd. Which linux lite disks utility, and numerical release version are you using 32 or 64?

TC   
Title: Re: Make an image of usb drive
Post by: trinidad on July 12, 2016, 10:32:19 AM
I don't think the disk utility in LL2.8 32 bit has the 64bit read, lseek64(3) i think. The upgrade bugfix is in Ubuntu 15.10 and above somewhere, but you may not be able to avoid the terminal to add it.

TC
Title: Re: Make an image of usb drive
Post by: trinidad on July 13, 2016, 10:14:06 AM
This is a decent tutorial. I know you want GUI software, but without Windows, you will have a problem finding any because linux and pi are geared to the terminal for what you want to do. This tutorial is pretty succinct. I think you could get through it.

http://sysmatt.blogspot.com/2014/08/backup-restore-customize-and-clone-your.html

TC

Title: Re: Make an image of usb drive
Post by: liamjake05 on July 14, 2016, 05:08:15 AM
Too much work, teach me how to use DD.
Title: Re: Make an image of usb drive
Post by: Jerry on July 14, 2016, 05:15:45 AM
DD tutorial in the Help Manual under Install Guide.

Sent from my phone using Tapatalk

Title: Re: Make an image of usb drive
Post by: liamjake05 on July 15, 2016, 04:46:44 AM
I did not understand. I do not want to image a usb but I want to turn a usb into an image.
Title: Re: Make an image of usb drive
Post by: torreydale on July 15, 2016, 08:44:27 AM
I've mentioned Disks and Archive Manager.  I'll add Clonezilla to the list.  If these apps can see your SD card, one or more of them should be able to turn that data into a *.img and/or *.iso file.
Title: Re: Make an image of usb drive
Post by: liamjake05 on July 15, 2016, 09:02:32 AM
I want a program not a live boot. Just show me how to do this using dd.
Title: Re: Make an image of usb drive
Post by: torreydale on July 15, 2016, 12:39:55 PM
liamjake05, a few things:

(1) Imaging SD card storage doesn't necessarily make it a live boot or even bootable.  It puts it into an image file (*.img or *.iso), which from your initial post, is what you said you wanted.
(2) You've said you don't want dd, and now you want lessons.
(3) You're coming off as more demanding than appreciative or cooperative.
(4) Others, including the LL creator, have chimed in.
(5) It's been a business week. 


A combination of the following should explain what's happening when using dd:

(A) Type the following into a terminal: 
Code: [Select]
man dd(B) View the following video
 
https://www.youtube.com/watch?v=74A6pVrv0CA


BUT,
I think it would be simpler to use the Archive Manager in Linux Lite and combine what's on your SD card into a *.iso file.  It's like zipping it using WinZip, but instead you're zipping it into a *.iso (ie. image) file.  If that isn't sufficient, and if Disks gave you an issue over your partitions, Clonezilla would be a suitable choice.  Clonezilla should be able to image your entire SD card with partitions into a single image file.
Title: Re: Make an image of usb drive
Post by: firenice03 on July 15, 2016, 01:33:24 PM
A little googling... and a find...

Usage would be something like
Code: [Select]
sudo dd if=/dev/sdb of=~/USB_imagewhere /dev/sdb is your usb drive as listed by sudo fdisk -l (maybe with df -h as well) and ~/USB_image is the image file where the copy will be made (a path where the image file will be created).

FYI '~' equates to your users /home folder


To restore the image to another USB drive just invert the process:
Code: [Select]
sudo dd if=~/USB_image of=/dev/sdb
will restore ~/USB_image to the device sdb. Just make sure that the new USB drive is as big or bigger than the original one.

I added additional comments...  Make sure you are entering your USB/SDCard appropriately for the /dev/sdb paths
Also,  additional parameters may be required, I've not used dd, others may add input...

Found here: http://askubuntu.com/questions/318893/how-do-i-create-a-bit-identical-image-of-a-usb-stick
Title: Re: Make an image of usb drive
Post by: Jerry on July 15, 2016, 01:56:41 PM
liamjake05, a few things:

(1) Imaging SD card storage doesn't necessarily make it a live boot or even bootable.  It puts it into an image file (*.img or *.iso), which from your initial post, is what you said you wanted.
(2) You've said you don't want dd, and now you want lessons.
(3) You're coming off as more demanding than appreciative or cooperative.
(4) Others, including the LL creator, have chimed in.
(5) It's been a business week. 


A combination of the following should explain what's happening when using dd:

(A) Type the following into a terminal: 
Code: [Select]
man dd(B) View the following video
 
https://www.youtube.com/watch?v=74A6pVrv0CA


BUT,
I think it would be simpler to use the Archive Manager in Linux Lite and combine what's on your SD card into a *.iso file.  It's like zipping it using WinZip, but instead you're zipping it into a *.iso (ie. image) file.  If that isn't sufficient, and if Disks gave you an issue over your partitions, Clonezilla would be a suitable choice.  Clonezilla should be able to image your entire SD card with partitions into a single image file.

I echo point 3 here.
Title: Re: Make an image of usb drive
Post by: BurchSung on June 04, 2018, 01:29:17 PM
Hi.....I think it would be simpler to use the Archive Manager in Linux Lite and combine what's on your SD card into a *.iso file.  It's like zipping it using WinZip, but instead you're zipping it into a *.iso (ie. image) file.  If that isn't sufficient, and if Disks gave you an issue over your partitions, Clonezilla would be a suitable choice.

turnkey pcb (https://www.7pcb.com/)