Ubuntu :: Directly Cloning Old HDD To New One?

Mar 28, 2010

I was wondering how can I clone old hdd to new hdd directly. Is this right procedure?
sda is new hdd
sdb is old hdd

Code:
sudo sfdisk /dev/sda < sudo sfdisk -d /dev/sdb
cloning ntfs partitions.(X are ntfs partitions)

Code:
sudo ntfsclone --overwrite /dev/sdaX /dev/sdbX
cloning other partitions.

Code:
sudo dd if=/dev/sdbX of=/dev/sdaX bs=8MB

View 1 Replies


ADVERTISEMENT

Ubuntu :: Cloning From One Partition To Another?

Aug 10, 2010

I had to change my disc for a bigger one, and i want to transfer all my dataconfigurations, etc to a partition in another disk, a simple ctrl C, ctrl V will do or theres a specific tool that i need? I dont want to download all the updates, programs and go through the hassle of reconfiguring everyhtingmy new disk have windows 7 and i installed a fresh ubuntu on it but i want it to be a clone of my old onePS: i just notice now that grub no longer recognize both win7, the old and the new. What's wrong?

View 3 Replies View Related

Ubuntu Installation :: Cloning OEM To 20+ Machines?

Apr 26, 2010

We are giving away 20+ machines to 3rd world county and I was asked from the receiving party to install linux on them. What I don't want is to pop a cd into all of them and do the manually install.

I'm thinking of installing one computer the old fashion way and do the OEM-configuration on it afterwards. It would be nice to just clone the hard drives since the computer is identical right down to the hard drive.

View 7 Replies View Related

Ubuntu :: Cloning Drive With Dd From 10.10 Installer CD

Nov 1, 2010

I am trying to clone my internal drive on my laptop using the dd command after starting up my computer using the 10.10 installer CD. Nothing happens when I follow the instructions from this site: [URL] When I follow these instructions, it doesn't work. I know that I am not being specific here but all I can say is that nothing happens. What am I doing wrong. My internal drive is 250GB and the partition I created on my DOS formatted external drive is 250GB as well.

View 9 Replies View Related

Ubuntu :: Dd For Cloning An Image To A Partition?

Apr 13, 2011

have a binary image that I can copy to a partition and have done so successfully in the past. The image is smaller than the partition size, and everything is all good. However, I noticed that in copying the 5 gb image to the 9 gb partition there are 4 gb that are unnoticed by the system. It still registers the partition at the correct size in Gparted and Disk Utility.

View 3 Replies View Related

Ubuntu :: Cloning Disk W/o Unmounting

Apr 18, 2011

I've spent the better part of an afternoon looking for a solution to a problem: backing up my installation of 10.10 as an image file to an external hard drive. My research has yielded a lot of suggestions for clonezilla, dd, and partimage/particlone, but those don't seem very appealing, due to a number of issues (can't backup live, copies free space as well, doesn't handle ext4, etc). Also why is clonezilla 150mb?

I'd like a simple solution that can clone an entire disk (used space only) to an explorable image file on a separate hard drive and be able to do it while the operating system is running on the disk. I used to use apricorn ez gig to do this on windows and it worked like a charm, but I can't seem to find a similar solution that creates and explorable .iso image file with linux. I've used superduer on osx, which is awesome and i wish there was something like that for ubuntu/linux.

View 3 Replies View Related

Ubuntu :: Disk Cloning With Clonzilla Versus DD

Jan 1, 2010

Is there any reason why is DD still prefer over clonezilla for disk cloning?

View 6 Replies View Related

Ubuntu :: Cloning Or Echoing Files And Folders

Jan 27, 2010

I need to backup my data through the cloning or echoing option, which means I want to have my new files/folders in the left copied to the right, replacing older files if that's the case, but I also need the deleted files and folders on the left to be deleted on the right.

I'm using Conduit right now, but it doesn't clone folders/files, also tried Synchrorep but the same issue. Should I try Unison or Rsync? Will they offer this option? Other options?

View 3 Replies View Related

Ubuntu :: DD And Cloning External Harddrives Of Different Sizes?

Feb 17, 2010

In the past, I have used dd to replace (as well as overwrite) hard drives.

If you do a direct clone of a drive, you are supposed to make sure the target drive is the same size as the source drive.

It is quite important that I am able to clone a failing drive (250GB), however, my only other drive available is a completely new 1TB external hard drive from a different manufacturer.

Is it still possible for me to safely clone the failing drive? If yes, how would I go about doing this? Make a 250GB partition on the 1TB drive?

If I use the TB drive as a "temporary backup", and once I have copied over with dd burn everything directly to DVDs, and then restore the TB drive to it's original state, will this be able to be done?

View 6 Replies View Related

Ubuntu :: Ghosting / Cloning From One Hard Drive To Another

Mar 1, 2010

Is there a utility app that will allow 'ghosting' your current Linux harddrive to another. For example, my current drive is 40Gb, I'd like to ghost/clone it to a 320Gb harddrive. Using an app like this saves re-installing the O/S, software, configuration and allows making a disaster-recovery drive.

View 3 Replies View Related

Ubuntu Installation :: Cloning 8.04 To Notebook - No CD - No Boot From USB

Mar 8, 2010

I have a busted XP notebook, no CD, no boot from USB. I have the option of booting from network, my provider wants to charge me to set up a static IP address I'm hoping to just plug in to my working 8.04 install with a cat5 cable or through a simple workgroup switch & get the basics installed where would I find such a procedure?

the gateway notbook hangs, part way through the restore [xp] process, I can only get to bios & restore, no dos prompt I don't care about any of the info or having XP I know the HDD may be bad

View 2 Replies View Related

Ubuntu :: Cloning Drive Speed With Dd Or Ddrescue?

Apr 22, 2010

I'm trying to make an image of my whole hard drive (320 GB) to save on an external hard drive. I'm using Ubuntu Jaunty Live CD to do it, with this command

Code:
sudo dd if=/dev/sda | gzip -c > /media/ExpansionDrive/imagedd.img
At the beginning everything is going fine, but after few hours the transfer rate is incredibly low. After 1/2 hour, 20 Gb have been copied.
After 1 hour, 27 GB
After 2 hours, 40 GB
After 4 hours, 54 GB
After 8 hours, 71 GB

Is it normal? I've also tried to use ddrescue, but I have the same problem. Is there any other tool to clone hard drive with a constant transfer rate?

View 1 Replies View Related

Ubuntu Installation :: Cloning To Smaller Disk?

Jun 3, 2010

I have my Mythbuntu 9.10 environment installed on an old 160GB PATA disk and have just purchased a new 64GB SSD that I want to transfer my installation to.In the past I've just used ddrescue to clone disks, however in this case the source disk is larger than the destination disk so it won't work. I only have a few GB of actual data on the 160GB disk, so the 64GB SSD is definitely going to be enough for me.

I guess I need someway of either cloning so that only the actual data and not the partition is brought across, or possible shrinking the partition(s) first on the source drive and then using the same ddrescue method I've used in the past.Just looking for some assistance on what method is the best/most reliable?

View 8 Replies View Related

Ubuntu :: Cloning One Partition In Dual Boot

Oct 16, 2010

I have a dual boot and every program I try to clone the ubuntu partition seems to want to have the entire hard drive to clone to.In other words, if I attach an external hard drive and select the ext4 Ubuntu Linux to clone to a purposefully made ext4 partition in an external drive - every program wants to copy to the entire external hard drive.Any suggestions?I think that clonezilla allows more freedom but I just dont quite get it - the options seem a little confusing in that I am worried that I will copy the partition back to my actual machine.

I am probably being a bit paranoid, but if anyone can think of a simple program that allows me to simply copy one partition to another purpose made (external) partition then please let me know!!

View 3 Replies View Related

Ubuntu :: Cloning Bootable Hard Disk

Feb 21, 2011

Recently my had disk crashed. It has taken me over a day to install and setup the drive - time I can't really afford. I'd like to know how I can clone a second as a bootable copy of the main hard drive and update from time to time. Therefore if the main hd fails again, I can simple boot from the second drive.How can I do this? I have two sata drives in the box, running 10.10 desktop.

View 1 Replies View Related

Ubuntu :: Cloning Bootable Hard Disk?

Mar 2, 2011

Recently my had disk crashed. It has taken me over a day to install and setup the drive - time I can't really afford.I'd like to know how I can clone a second as a bootable copy of the main hard drive and update from time to time. Therefore if the main hd fails again, I can simple boot from the second drive.

View 1 Replies View Related

Debian :: Cloning HDD Partition To SSD

Aug 4, 2011

Recently purchased an SSD drive to replace my existing mechanical drive. My source hard drive is a 750gb and destination SSD is 256gb. My current partition setup on my source drive looks like this:
/home 639 GB, 137GB used
/ 46 GB, 6.4GB used

My destination SSD drive's partition table current looks like this:
/home 238 GB
/ 18 GB

I originally was going to use Clonezilla to do the partition copying but found out that the destination partition must be equal or larger than the source one.

View 3 Replies View Related

General :: Cloning Using Clonezilla On HDD

Jul 28, 2010

I want to clone my fedora8 HDD using clonezilla.I have downloaded,and want to boot from that.I have created one partition sda8 with 740 mb and formatted with ext3 and mounted that on /mnt. I have extracted the files onto /mnt from clonezilla zip file. I appended the necessary lines told by website to the grub.menu.lst , after rebooting when i select that clonezilla from grub,it was telling unrecognized format and cant mount the partition.

how to mount the partition permanently in fstab. Tell me how to modify the grub file to work correctly to boot from that partition.

Output of fdisk

Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa95ea95e

[Code]....

View 2 Replies View Related

Programming :: Cloning USB Drives Using C++

Feb 23, 2010

I have a device running Linux, which has a master USB and 16 Slave USB's. I need to make the slaves identical to the master.

What i'm doing is reading bytes from the master by reading /dev/sd{master} and writing to /dev/sd{slaves} . I am doing this since I need to display progress of the operation.

Do you think this will pose any problems? Is there any better technique?

Also, if the source drives size is smaller than the dest drive, will it create any problem....or will the USBs still be identical after that..

View 3 Replies View Related

Ubuntu :: How To Create Bootable Cd With Disk Cloning Software

Feb 3, 2010

I'd like to have a bootable cd which then allows me to clone a hard drive, much like the "Ghost" application. I need to copy Fat32, NTFS, as well as the various Linux formats. I've not created a bootable cd before, so a step-by-step would be rather handy.

View 2 Replies View Related

Ubuntu :: Cloning A Large Disk With Little Actual Used Space

Aug 10, 2010

I need to clone a laptop drive to a desktop drive. The laptop drive disk is 150 gb, however, only about 8 gb is used. Is it possible to clone this disk to a smaller drive?

View 3 Replies View Related

Ubuntu Installation :: Cloning (10.04 Desktop) From The Old Boot Drive Onto The New SSD?

Oct 2, 2010

I would like to replace my old 100gb boot drive in my server with a new SSD...for obvious reasons. So what is the best way to clone the existing installation (10.04 desktop) from the old boot drive onto the new SSD? I have read some guides online that suggest using the live CD and various software packages but most of them say it will only work if you are cloning to a disk of the same size or larger, nobody seems to address taking an installation from a larger volume down to a smaller one - in my case a 100gb IDE onto a 30gb SATA SSD.

As this is a datadump, the only drives I really care about are the various 1.0/1.5tb drives that actually store the data, the OS drive contains nothing more than the standard OS, samba/webmin and a few monitoring tools. So I guess it's not the end of the world for me to start fresh and install 10.10 next week, but I would like to know for the sake of this upgrade and future ones if anyone can be of assistance. basic specs if needed: Athlon64 X2 3800, 2gb DDR500, Asus A8N SLI Premium (Nforce 4/Silicon Image 3114R RAID controller). OS is on a 100gb IDE (WD1000BB-00C) and I would like to toss it on a Kingston 30gb SSD (SNV125-S2/30).

View 5 Replies View Related

Ubuntu Installation :: Can't Resize Partition After Cloning Disks

Nov 8, 2010

I bought an 1tb hard disk today and cloned my old 160gb ubuntu install to the new disk using gddrescue (from this tutorial [URL]) and everything worked fine. The problem is that I can't resize my home partition to fill the rest of the disk. I've tried using a live-cd and booting from my 160gb hard disk but I still can't resize the partition.

Here's the "sudo fdisk -l" output:

Quote:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]......

View 2 Replies View Related

Ubuntu :: Permission Denied (cloning Hard Drive With A Img)

Dec 31, 2010

Code:
user01@ubuntu:~$ sudo gunzip -c /media/xbox/xbox_image.gz | dd of=/dev/sdc
dd: opening `/dev/sdc': Permission denied
[sudo] password for user01:

[Code]....

I'm getting Permission denied even though I'm putting sudo in front of the command but, instead of asking me for a pass word it just says Permission denied "then" it askes for a pass. I enter the pass and it just takes me to the

user01@ubuntu:~$

prompt. I enter the command a second time and it says Permission denied again.

View 4 Replies View Related

OpenSUSE :: Fog Disk Cloning Solution

Jun 14, 2009

just wanting to know if anyone has implemented Fog (fogproject.org) on openSUSE. We use it at work throughout our enterprise for reimaging machines and it works very well.

View 4 Replies View Related

General :: Perform HDD Cloning / Mirroring?

May 10, 2011

Currently I backing up the MBR, the C and the other partitions to an external USB HDD and from there I restore them if needed. I use the SystemRescueCd and commands like dd if=/dev/sd* of=/mnt/PC_name/backupmbr.1 count=1 bs=512 and ntfsclone --save-image --output /mnt/PC_name/PC_name_c.img /dev/sd*1 etc. I want to clone the HDD the way, however, that I omit the external USB drive. I want to connect the new HDD to the PC and do the cloning directly from one disc to the other.

My questions are:

- Can you provide me with the exact command?
- Is that a difference if the disc is SATA or IDE?
- Can I copy the disc even if the old disc don't wan to boot?

The OS is Windows on the disc I want to clone.

View 14 Replies View Related

Software :: Cloning Git Repositories By Copy?

Nov 11, 2010

I'm teaching a course in programming where the student assignmentswill be managed with git. The idea is that every student starts outwith an identical but individual repository on a server. They can then work on their code from different locations without having to manually copy files (only clone,commit,push,pull).The initial repository contains the code base for the assignmentand I'm wondering if it is safe to just initialize one of these with git and then copy that folder to every student's "area" on the server?(authentication and authorization is done on a folder basis with apacheand ldap and works fine)The thing that makes me wonder is the "remote origin" in the config file on the server repositories which does not seem to change with ubsequent pushes. Instead it always contains the location from where I did the very first push into an empty bare repository.

View 2 Replies View Related

CentOS 5 :: Best Strategy For Cloning Drive

Oct 3, 2009

I have a rock solid server running CentOS 5.3 (probably 5.4 soon enough). Basic LAMP box with a few tweaks thrown in. Everything is running perfectly, with one problem - the drive is too small (I project it filling up to dangerous levels in 6-8 months). So, what I'm looking to do is basically clone the drive, store the image, pull the current drive and replace with a bigger drive (same number of heads and cylinders though), and install the image.

What I did do once, a million years ago, is put the new drive as a slave on the same IDE cable, and use dd (working from a live CD of the distro) to copy from the master (smaller) to slave (larger). Then, yank the smaller, change jumper on bigger drive from slave to master, and away I go. Next step as I recall was using gparted to get access to all the space on the new, bigger drive.

Is this more less still a reasonable way to go? I recall the issue was making sure the old smaller and new larger drive had the same number of heads/cylinders (although I don't remember exactly why).

View 7 Replies View Related

CentOS 5 :: Cloning Installation From One Server To Another?

Aug 12, 2011

Basically I have setup and configured a CentOS 5.6 system on one server, and will be getting a brand new server in about a months time I was wondering if there was a way to clone a system from one server to another so I don't have to add all the users again, the config files are not a issue as I can just copy them over, but having to re-do all the user accounts, smb accounts and folder permissions will be a pain.

View 3 Replies View Related

Ubuntu Installation :: Network Settings When Cloning To Identical Hardware?

Aug 9, 2010

The company I work for use Ubuntu on the PC's that control the system they manufacture. To simplify and speed up the OS install we use a standard PC (all the same hardware) and install a disk image on each system. The disk image was produced from one of the systems and the network settings were set to use a Static IP

However every time we clone a system the network settings change from the static IP settings to Roaming Mode.

why this happens or if it is possible to have the static IP settings remain after the clone?

View 5 Replies View Related







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