Ubuntu :: Clone USB Stick To Another?

Jul 28, 2011

I have linux installation which is on USB flash drive...there are two partitions. how to clone it to another USB. I tried manualy creating partitions on new flash drive and manualy copyng files but this doesn't work.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Clone Bootable USB Stick To Smaller Drive?

Aug 22, 2011

I wanted to back up my 4Gb boot drive and the new drive I had was slightly smaller. Couldn't find any info on here and precious little on the internet but I have previously used this technique to clone an 8Gb disk onto a 4Gb one. Since I have gained a lot of useful info from this forum over the years its probably time I contributed something. I used my netbook but this would work equally well from a live CD. Note the disk has to be unmounted so you can't use the live system. Firstly your USB stick probably has 2 partitions one for "/" and one for swap.

The first step is to reduce the "/" partition on the source drive to a size smaller than your target drive. I used gparted for this. Next create a partition on your target drive that is the same size or bigger than your newly shrunken partition. I formatted this although I'm not sure this is necessary. Personally I just used the whole drive and used a file on a hard disk as swap. Next you have to use dd to copy the partition.What is important is that you are copying the partition not the drive. So your source would be /dev/sdx1 and target /dev/sdy1 (you will need to find your own values for x&y).

Once again be very careful that you get these the right way around or you will destroy your souce disk. Even better do it in two stages - copy your source to a file and then the file to the target. Now you have a replica of your original disk but it is not bootable. If you are planning to use a swap partition you may as well create it now. Remember you will probably have to change /etc/fstab to read the new swap - at least on my system this was referenced by UUID. No need to change anything for the replicated partition as the UUID came over with everything else.

View 3 Replies View Related

General :: Copy / Clone Usb Stick That Have Several Partitions?

May 6, 2010

Is there a good way from the shell to copy/clone a usb stick that have several partitions?

View 5 Replies View Related

Ubuntu :: Corrupt Usb-stick - Close Gtk Button And Pulled The Stick Out Of Pc

Oct 1, 2010

i was writing a .img file to my usb stick with ImageWriter, but it didn't seem to do anything so i clicked the close gtk button and pulled the stick out of my pc. now my pc gives my an when i try to open the stick. is there any way to fix this. I can use win xp pro, win xp media center, win 7 starter, ubuntu 9.10 and ubuntu 10.04

View 5 Replies View Related

Ubuntu Servers :: Installing Server From USB Stick To Another USB Stick?

Sep 1, 2011

I'm about to ditch Freenas as my NAS software and make it an Ubuntu server box. The mainboard is an Asus AT3ION-T dual core Atom board. Freenas runs happily from USB stick. I have no optical device to install Ubuntu from and would like to install Ubuntu Server to a USB stick.

View 8 Replies View Related

OpenSUSE :: Open Files From Memory Stick The Memory Stick Is Not Available?

Mar 21, 2011

When I start bluej and try to open files from my memory stick the memory stick is not available. Is there any way that I can open files directly in bluej from my memory stick.

View 3 Replies View Related

Ubuntu :: Use DD To Clone One Disk To Many

Jan 25, 2011

I was thinking about make a clone machine. I was thinking about use a old computer that have some SATA connection. One disk is source and then I add some other disk to destination. I going to have Linux on USB stick. I have look at dd and it look nice but what I can see it only use one disk to another.
Code:
dd if=/dev/hdx of=/dev/hdy
is it possible to add more then one destination?

View 7 Replies View Related

Ubuntu :: Can DD Completely Clone An SD Card

Mar 19, 2010

I have come across an issue when cloning an SD card.I have a SheevaPlug, which is a low power ARM based computer. I used an Intel based HP laptop running Ubuntu 9.04 to clone the 4GB SD card of the SheevaPlug. The card contains 2 partitions: the boot image, and the root filesystem. I did this using dd directly from one 4GB card to a second 4GB card (sudo dd if=/dev/sdb of=/dev/sdc), and also by dumping the first card to an image file and then from the image file to the second card.

The process worked successfully in that the SheevaPlug seems to run fine off the cloned card, but here�s the strange thing: when I use Gparted to examine the original card, it shows it has 2 partitions. However, when I do the same with the cloned card, Gparted detects no partitions at all. Ubuntu seems to mount the partitions fine as well. Anyone have any idea what might be happening? I thought DD was supposed to perform a bit-for-bit copy of the whole device given the parameters I used, and that Gparted should therefore show identical results no matter which card it was looking at

View 9 Replies View Related

Ubuntu :: Re-Creating Grub After HD Clone?

Apr 9, 2010

I tried to recreate my Grub setup after restoring a backup tar file to a new hard drive. Here is what I did.

I created a tar backup of my working 9.10 server install. I used fdisk to create the same partition structure as the old hard drive:

sda1 Primary bootable ext4 (83)
sda2 Extended
sda5 Linux / swap (82)

I mounted the new drive with the newly created partitions on the current system and extracted the tar backup to the new sda1 partition. I then recreated all the directories which were excluded in the tar backup (mnt, media, home, proc, sys, etc).

I then shut down, unplugged the old OS hard drive, plugged the new hard drive into the same cable as the old OS HD and powered it up. It told me that there was a GRUB error.

I did some looking around and found that I could use an Ubuntu Live CD to fix/install Grub on that hard drive. I burnt a 9.10 desktop CD, booted, installed Grub and here I am.

I am having a difficult time figuring out the GRUB commands.

This is what I was planning on doing:

Code:
1. Pop in the Live CD, boot from it until you reach the desktop.
2. Open a terminal window or switch to a tty.
3. Type "grub"

[Code].....

View 8 Replies View Related

Ubuntu :: How To Clone Monitor Resolution For TV

Jun 23, 2010

How to change the resolution of my tv to be the same as the monitors. I mean cloning ..

View 9 Replies View Related

Ubuntu Installation :: How To Create Clone In USB

Oct 2, 2010

I have Ubuntu 10.04 installed in my desktop and is working fine. I would like to clone the Ubuntu with all my settings etc to a USB Flsah drive so that I can take it with me during travel.I don't want to reinstall in USB FLASH rather I want asis Desktop Ubuntu in USB FLASH.

View 1 Replies View Related

Ubuntu Installation :: Best Way To Clone / Transfer OS Across HDD

Dec 23, 2010

What's the best way to transfer across one hdd to another? I want to avoid setting up my kubuntu 10.10 instance again and hoping there's a way to easily clone it across.

View 2 Replies View Related

Ubuntu Networking :: Mac Address Will Not Clone?

Apr 7, 2011

Bit of a strange one, to get internet I have to clone my MAC address on eth0. I'm using Ubuntu 10.10 64bit and have had a couple of strange problems.

1. If I run macchanger after login and set the mac to the correct one everything works perfectly. But as soon as I reboot it reverts back to the old mac.
2. If I use the network settings (i.e., the tray icon in the top right) to spoof the mac, then I get no connection. Eventually it does connect (I'm talking about a 10 minute wait) then I get kicked off after a few minutes.
3. If I edit the /etc/network/interfaces files there is no setting for et0. All that is in the file is:
auto lo
iface lo inet loopback
If I add the settings for et0 then I get the same problems as in 2. The settings I've been adding are.
auto eth0
iface eth0 inet dhcp
hwaddress ether 01:02:03:04:05:06 (obviously with a different MAC)

View 2 Replies View Related

Ubuntu :: Backup Or Clone Install To Usb Hd?

May 25, 2011

I have ubuntu 10.10 installed on 1TB HD. I would like to back up the full hd, on a 2TB usb HD I have. I would like an easy way to clone/backup the full installation, so if my hd fails I would be able to book the usb hd to get files or do a full reinstall. I have tried dd, but not certain if it worked correctly.Also tried clonezilla and that did not work

View 6 Replies View Related

Ubuntu :: DD Disk Clone For Some Partitions

Jun 11, 2011

I have a 160Gb Hard drive with 3 partitions. sda1, sda2, sda3. sda1 & 2 are just under 20 GB each. the other 120 GB is free space. I have so many 40GB hard drives! I would like to copy (with dd) the MBR, sda1 & 2 to a 40GB hard drive and be able to just use that so I can free up my 160GB hard drives. Typically when I want to clone something, the drives are equal or larger than the original. I'm not too sure about this, and if I use code (show below), will I also get the MBR? #where sda is the 160gb with 3 partitions and drive sdb is a 40GB drive with 2 partitions.

Code:
dd if=/dev/sda1 of=sdb1
dd if=/dev/sda1 of=sdb1
Also, is there a way I can do this with 1 line, or have both dd operations running simultaneously?

View 2 Replies View Related

Ubuntu Networking :: Git Clone Is Very Slow

Aug 2, 2011

git clone is very very slow..This internet is capable of 630 kb/s and git is only cloning it at 30kb/s-80kb/s from git://kernel.ubuntu.com/ubuntu/ubuntu-natty.git and I am trying to make a custom kernel. I am the IT for my company. And I am trying to make a new kernel for our linux server. I am still somewhat new to Linux, but I know for a fact over the several T1's we have fused it shouldn't be this slow.

View 1 Replies View Related

Ubuntu Servers :: How To Backup Or Clone

Aug 9, 2011

I have a file server running in an office that's mostly used for file sharing and a scanner saves pdf files to the server. I'm running the latest LTS ubuntu server edition and I really only have ssh installed and samba. My question is that I've done so much to the server as far as premissions and configuration and I'd like to make a clone of this to another computer and not sure how I would do this?

I'm not sure if clonezilla or something like this can perform this task? I basically just have a very old computer and now I have another very old computer that I want to make into a spare just incase something happens to the original. Any recommedations on how I would accomplish this?

View 3 Replies View Related

Ubuntu :: Clone A Hard Drive Using Dd & Netcat?

Jan 7, 2010

i'm trying to clone a hard drive using dd & netcat.

Quote:

on target:
nc -l -p 1333 |dd of=/dev/sdb
on source:
dd if=/dev/sdb |nc 192.168.0.5 1333

However after a while since the process was initiated I get a

I/O error in filesystem ("....") meta-data dev ...block 0x..... ("xfs_read_buf") error 5 buf count 512 XFS: size check 2 failed

Further digging showed that the target hard drive was less in space by 100 kb. Both are 1 T drives seagte but different models, hence the diff in space maybe.The data on the original drive is only 900 GB.

View 6 Replies View Related

Ubuntu :: Backup Or Clone The System Daily Using Ssh?

Feb 13, 2010

I have ubuntu 8.4 can i backup or clone the system daily using ssh ??

View 3 Replies View Related

Ubuntu Servers :: How To Clone System On Different Hardware

Feb 19, 2010

I am getting a new server and would like to avoid the typicall install process of OS and applications.How can I clone my actual server on a new one that has different hardware?

View 9 Replies View Related

Ubuntu :: Best Choice To Clone Or Backup System?

Mar 2, 2010

I am new Ubuntu. I have a new Dell Mini10 running that I have configured and running. I want to clone or backup the system at it's current state. I have been looking at the options and Clonezilla seems to be recommended often. Are there other choices that are easer or better? My real goal is to make a bootable DVD that will restore my system back to the point it was cloned.

View 2 Replies View Related

Ubuntu :: Backup Software That Can Clone A Directory?

Mar 28, 2010

I'm looking for software that can backup all the files in my /home directory including hidden files.

I liked Lucky Backup, but it puts everything in a tar file, meaning that the backup fails if the file gets too large (4 GB I think). I would prefer to avoid using tar/archives anyway, as often I only need to recover 1 file from a backup (an archive holding my 50 Gb of data would take ages to open).

Does anyone know of a program or a way to get rsync or the like to copy all the files in a directory, including hidden files, into another directory ( so I end up with effectively a carbon copy of the original). Disk space is not an issue so I don't need to compress anything. I'm not bothered whether its a fancy GUI-based program or a rsync command, just so long as it can save my previous files from.... myself.

View 9 Replies View Related

Ubuntu Installation :: Clone Physical Drive To Another One

Jun 27, 2010

My Ubuntu system drive is starting to throw up S.M.A.R.T. errors. I have two partitions on the drive (/home and /) and grub in the mbr. Is there a way to exactly clone this drive to another one so I don't need to reinstall or re-setup anything?

View 1 Replies View Related

Ubuntu :: Using DD To Clone Vista HD And Recovery Partition?

Aug 14, 2010

I'm using dd to clone a Windows Vista hard drive and recovery partition with zero luck. I duplicated the partitions with gparted then used dd to copy each partition and then the master boot record. Nothing............. no boot.

Code:
dd if=/dev/sdb1 of=/dev/sda1
Code:
dd if=/dev/sdb2 of=/dev/sda2
Code:
dd if=/dev/sdb of=/sda bs=512 count=1

View 3 Replies View Related

Ubuntu Installation :: Any Way To Clone Wubi Install?

Dec 3, 2010

My wife's laptop has XP on it, I installed Ubuntu using wubi apparently. I thought I had made a separate partition and made a true dual boot system but I guess I didn't. Is there a way to clone the wubi install to it's own partition and add the boot loader after or am I going to have to do a fresh install and set everything up again? I am surprised that she has taken to Ubuntu as well as she has, I thought she would hate it but she actually prefers it to windows now..

View 2 Replies View Related

Ubuntu :: USB Disk Clone With Dd But Still Not Exact Copy?

Dec 11, 2010

I'm trying to clone a 2GB USB memory stick to another stick just like it (same size and brand). The src drive has three partitions, one fat, one ext2 and one encrypted (in that order). It also has an mbr. I create the clone using the following command:

dd if=/dev/xxx of=/dev/xxx bs=512k conv=noerror,notrunc

Once it's done the mbr, the ext2 and the encrypted partitions seem fine, but the fat one is slightly modified on the clone. Here is a hex dump of the (broken) clones fat partition followed by a dump of the original partition.

"Clone":
0000000 3ceb 6d90 646b 736f 7366 0000 0402 0001
0000010 0002 0002 f800 00bc 003e 0040 0000 0000

[code]....

View 3 Replies View Related

Ubuntu Installation :: Image Clone Will Not Boot

Jan 18, 2011

My HDD crashed (it wasn't completely disastrous, though). I was able to get my Ubuntu 10.10 partition of the disk with dd_rescue. I can see all of the data in the partition and everything. dd_rescue reported that there were no errors.Now, I have a fresh HDD, and I copied the image that I created with Gparted, and turned the boot flag on. I turn my system on, and all I get is a flashing cursor in the corner of the screen.I get the feeling that this would be easy for a seasoned user, but I'm not sure where to go. I originally got some information about cloning partitions here: [URL] But, it doesn't tell you how to reload the image after you make it.

View 2 Replies View Related

Ubuntu Installation :: Clone A USB Startup Disk?

Apr 19, 2011

I often run various computers from my Ubuntu 10.04 USB startup disk. Every now and then, people get interested and want a copy of their own. Since I have installed a few extras (VLC, codecs, flash etc) on the disk, not just the out of the box 10.04, I would like to create a clone of the USB startup disk, to give away. How can it be done?

View 2 Replies View Related

Ubuntu :: Natty - Can't Clone My Drive Since Upgrade?

May 19, 2011

I have not been able to clone my drive since the upgrade to Natty. This was never a problem for me in 'any' previous distro. I have a dual boot Windows 7/Natty system; and I never have a problem with the Windows partition getting cloned. partclone (Clonezilla) crashes about an hour and 15 min into the cloning of the Ubuntu partition. I'm getting a "buffer-overflow" error. I'm using clonezilla-live-1.2.5-35-amd64; and have been since Lucid. I've recently downloaded clonezilla-live-1.2.8-42-amd64.iso and am burning it to DVD now. I don't know if this is going to help; but I'm ready to try anything; as this is my only means of disaster recovery! During the reboot into Natty, I received some error messasges stating that there were inode problems. I don't know if this was on the source or destination drive; as I still had the destination drive connected to my USB port. Then I started thinking... What package, that wasn't there in Maverick, that is present in Natty messes with inodes???

Then I thought ZeitGeist So I ripped it and everything connected to it out-by-roots and tried running Clonezilla again; but no luck...Has anyone else had this problem; and what can I do about it I've replaced all of the relevant hardware; and two days and $500 later, I still don't have a solution.

View 9 Replies View Related

Ubuntu Installation :: How To Delete Directory After Git Clone

Jun 25, 2011

I have a couple of beginner questions;I have checked out some source code in a directory, not inside the home directory, using: Code:git clone git://git.videolan.org/ffmpeg.git ffmpeg-gitI moved the folder around (was not originally in the right directory), and now would like to delete it and start from scratch. How can I do it without creating issues with git? (I don't see ffmpeg-git in Synaptic)More generally, what is the best way to delete old folders related to obsolete or malfunctioning software, or even unsuccessful attempts at installing software ? Can I do 'delete' in the file manager? or just sudo rm <folder name> ? Or is there hidden issues?Another related question: When manually installing packages not available in Synaptic, for example, from downloaded tar.gz, what is the recommended directory structure. For example, is it better to use, for example: /home/<program name>/source to unpack the source code/home/<program name>/build to build the software?as opposed to using folders in the root directory? Is there a tutorial on the subject of best practice for directory structure?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved