Dd To Copy A Thumb Drive Which I Am Live Booted On To Another Thumb Drive

I created a persistent USB thumb drive boot with LUKS for drive encryption (250 MB /boot and then 7.5 GB ext3 root). There's no swap partition because this is just to store some private files.

I want to make two or three copies of this thumb drive to store apart in case one gets destroyed/lost.

When I am booted from that thumb drive, can I plug in a same sized drive and just do a

Code:
dd if=/dev/sdb of=/dev/sdc

command to make a copy of itself to another thumb drive without booting to another host OS? This way when I make changes to one (such as to update the OS, apps, or data), I could then just copy the entire thumb drive over to the other two while still booted in the original USB.

Or would I effectively have to shut down, boot to my normal host OS (or other), and then copy the thumb drives when not booted into them.


Similar Content



Bootable Text Editor

I'm looking for a distraction-free environment to write down study notes (darn ADHD!), and my penmanship is terrible (and can't be searched).

I have an old HP laptop that can boot from USB, and an old thumb drive.

Ideally, I'd like...
- Fast boot
- Boot right into text editor (can be command line editor)
- Save out (back onto USB drive or HDD, accessible by Windows to copy over into evernote for later)

I'm not a total idiot, but am a linux noobie, so any instructions would be helpful.

I appreciate your time! Thank you!

How Do I Recover Data From Lost Partition

Booted my computer with 2 USB flash drives inserted. One of the drives turned out to be an MS-DOS boot drive. The PC booted in DOS and wiped out the partition table of the other flash drive with my data on it. This second (64Gb) drive had a single 64Gb type 83 (Linux) primary partition (ext4 file system).

Is there a way to recover the data that's on the second stick?

I've been told that all I have to do is repartition it exactly as it was and my data will be there. But I'd like to have advice from the pros here before I start messing with it.

For the time being, I dd-ed the entire stick, as is, onto a blank partition of my hard disk (dd if=/dev/sdb of=/dev/sda14). The process completed without errors but /dev/sda14 is unmountable for the moment.

Thanks for any help.

Help With Puppy Linux

Hi guys,

I'm new to this forum and linux too.
I thought of installing a lightweight distro of linux and did some research on the net where I found people recommending Puppy Linux. Plus it is (theoretically speaking) possible to run it from a USB (flash) drive which I decided to try out but it seems like it's not that simple a task as a lot of people (all over the internet) say it is.

What I tried so far is this: installing it into a thumb drive using unetbootin follwing a youtube tutorial (which basically showed how to download an iso of puppy, use unetbootin to make the thumbdrive bootable and install puppy on it). It didn't work. The USB wasn't recognized as a bootable device. I know for sure it can be booted from it since I tried ubuntu from the same USB and the same Laptop (which is able to boot from USB).

I thought that something with the Flash Drive not OK so I tried to use a windows installer to install puppy like other windows programms but this didn't work either. This time Puppy was recognized because there was an option to boot either Puppy or Windows 7 but when I chose to boot from Puppy nothing happens just a screen flash, some letters in the top left corner saying something like NTSC or NTSF (I can't read it properly because it goes away too fast) then after the screen flash the whole thing again (boot from win 7 or Puppy I choose Puppy again the flash... basically a loop).

Any ideas what I'm doing wron or what the problem is?

Thank You for any replies.

Download And Install OpenSuse

I have multiple computers to install Linux onto.

Some of my computers do not have DVD drives.

I want to boot Linux from C:, not the USB drive.

Do I download the ISO onto a C: drive.
Copy the image to the USB with the image mover.

My confusion is that this all seems to make a boot-able USB drive.

How do I install OpenSuse without having a DVD and end up booting from the C: drive?

Do I first have to boot from the USB?

Clone A Bootable CF Card With Multiple Partitions And Copy To Bigger Drive

Hi, all, I am new to the forum and quite new to Linux, I am running Mint and Kali from a USB drive, all is going well with with the software and I am starting to find my way around it.

So, now to my question, I have 15 machines which all run from a CF card and the card has multiple partitions and is a Windows Embedded XP, not that the operating system makes any difference, I need to upgrade all the CF cards from 2gb to 4gb, so unfortunately Windows isn't an option to use to copy the drives as it doesn't recognise multiple partitions on a removable drive, so I cant just remove the drive, clone it and fit the new one.

What I need is a method of cloning the drive completely with both partitions, I have read about dd but cant seem to see anything about doing this with multiple partitions, as Linux sees it as two drives when I plug it in, how can I use dd or anything else to clone the drive which is bootable and has two partitions?

At some point I would like to automate the process as I could have many of these machines/drives to upgrade, is there a way to write a program that will automatically back up the drives from a USB drive and then reinstall it, I have seen this done before but I am not sure if this method did the whole drive, just the main drive or all partitions?

Kali Thumbdrive Boot Error "Failed To Load COM32 Filename Vesamenu.c32

Using a Kingston 4GB datatraveler for drive creation
Created using amd64 1.1.0a of the Kali ISO verified from Kali.org
Drive created using Ubuntu 14.04 on a Dell Latitude E5500

dd seems to create the drive with no errors. The drive boots to the error. Hard reboot into Ubuntu to search for solution has led me to a long series of issues that I have been trying to correct.

A possible fix for the failed to load error is to copy the file to the root of the USB drive (/dev/sdb1). Drive is created with a hidden HPFS/ NTFS fs. 0x17. Changed FS to HPFS/NTS (0x07). Drive now mounts, but when attempting to copy onto drive, I get an error that the file system is read only.

I try to correct the issue using nautilus and the properties menu. It does not allow me to change the view only to read/write even though it shows me as the owner.

I think maybe a command line thing would work, or who knows what else. Maybe an fstab entry? I am continuing to search the web, and hope to work this out.

Any help would be appreciated.

Image A Bootable CF Card With Multiple Partitions

Hi all,

As you can probably tell I am new to Linux and new to the forum, I am using Kali and Mint both as live Linux environments on USB drives, all is good and I am finding my way around, the reason for the post is that I need to copy 15 CF cards that have multiple partitions, Windows isn't really an option as it can only see one partition on a removable drive, so here goes with Linux.

The CF cards contain Windows Embedded XP in one partition and a separate partition for user data which isn't protected, not that the contents matter, only the fact that it is bootable with multiple partitions, the object is to upgrade the old 2gb cards to 4gb cards to add an additional program on the embedded drive, but they are both full.

as long as I can copy both partitions over the partition size doesn't matter as I can resize that if necessary, but I need both partitions to copy over to the new drive.

I have read that dd command is the way to go but cant find much on multiple partitions which display in Linux as two drives, so how do I go about this, any pointers

Ideally I would like to automate the process as this is something that we could end up doing on a regular basis, I have seen a USB drive that was plugged into a PC and through a basic GUI allowed you to copy a HDD but I don't know If that would do both partitions, something for the future?

Asus Eee PC 1005HA-PU17 How To Install Linux?

I have installed linux(mint and ubuntu) on a few laptops, but i have an ASUS eEEE netbook PC..Atom processor...No DVD drive...

I have chosen PUPPY Linux distro, and I have booted from a thumb a few times to make sure everything seems to work....but...when I start trying to install...well...its asking me about using the partition tool to change the types of partitions that are best for linux...

I am not understanding the instructions...as far as what i need to do...has anybody done this install ,,,the current netbook OS is Windows Starter 7. I just want to REPLACE it entirely with linux puppy. I did not encounter this on my laptop installs..i just said yes...replace the current OS..but somehow the netbook install is acting different....do i need to change the partitions or can i just take the defaults...I forge the exact partition extentsions..something line ntfs and it says to change to ext2 and ext3...not sure how to do that...

Can some direct me to the best way to do this? thx.

Flash Drive Read-only Half Solved

Lots of posts on internet about flash drives ending up read-only in Linux after using on a windows or mac systme. Gather it is a problem with incorrectly ejecting or the ejection being poorly done.

Usually I can go back to the box and re-eject and all is well. This time even GParted and the resident fedora 21 Disk Utility programs did not even see the drive (which Was visible under "files").

Using disk utility on the "offending" machine, it seems there were many files that were truncated (due to some eject issue? Note the ejection was done "according to Hoyle" ); regardless the flash drive was still read-only. Howeverk, re-trying GParted, which now recognized the drive, the drive was unmounted checked. Some repair was necessary. Currently, I can read, write and copy within the drive.

However, the drive itself is still only read-only for all but the owner (which is not even root). I cannot copy any file to the flash drive. Chmod does nothing (no matter if root or other user tries). I suppose I should be satisfied for the access there is, but if anyone has any more suggestions, it would be great.

Thanks in advance for any info/interest

Trouble Installing Linux Mint To 500gb External Hard Drive Due To Normal.mod Error

i am very new to linux but i wanted to try it out, my main windows drive is tiny so i decided to format my usb hard drive and use that, first i tried to install ubuntu but i got a normal.mod not found error, so after some reserch and a grub reinstallation it booted once,

the next day however i got another error so i decided to switch to mint to see if it would work any better, but i'm still getting the normal.mod not found error.

i've tried a whole bunch of things like reinstalling mint and grub, boot repair, but nothing works, i'm kinda frustrated because i know it works because it booted up before but i just can't figure out how to fix it.