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?
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?
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:
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.
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?
I used opensuse three years ago. Then I moved to ubuntu, because it was easier for me to use ubuntu at that time. Now, I move back to opensuse again. But I want to know how to clone the opensuse system to another hard disk. I mean I have my opensuse well, I do backup to my opensuse system and restore it to another harddisk with the same partition.
When I used ubuntu, I used a very good small open-source software, named 'Ucloner'. You can find it at ucloner - Backup/restore/clone your Ubuntu, and make Live-Ubuntu. - Google Project Hosting . It is very handy to backup the ubuntu system and restore or clone it to a new harddisk. Especially, when restoring the system, the grub can be installed to the new harddisc automatically with the UUID of the new harddisc (very amazing). But it is only for ubuntu. I am looking for a software with the similar function.
I have tried Clonezilla. No problem to do backup and restore. But I failed to boot the restored system even with the same harddisc. I know it is the problem of GRUB. Even reinstalling the grub, I still can not boot into the system.
My question is
1. is there any software that allows me to backup the opensuse and restore it to another harddisc with the grub installed to the new harddisc automatically?
2. If no software for question 1, what software or application is good to backup and restore the opensuse and how to reinstalled the grub to the new harddisc with different UUID?
3. Since the Ucloner is open-source, is there anybody having interest in change the ucloner code to fit for opensuse? I guess there should be much change, because ubuntu and opensuse are linux both?
I have win7 and ubuntu on a 250gb hard drive. I would like to move this to a 1tb drive. Is it possible to clone the entire hard drive, including the MBR? Thought about doing a disk image but unsure if this is the answer. I am using win7 64 pro and ubuntu 10.10.
I need to clone a 160GB hard drive with Linux Mint 9 (not more than 10GB used) to a 30GB SSD that is partitioned carefully (aligned to cylinder boundaries) and is currently running Ubuntu (which I wish to overwrite with Linux Mint 9). The SSD has a /boot partition, / and swap. The source (160 GB) does not have a separate boot partition. Can anyone help me fill in the steps below? /dev/sdc will be the source (160GB) and /dev/sda is the target (with partitions 1,2 and swap on 5).
make a copy of /etc/fstab from the target drive before proceeding. Ready the target partitions. Can I reuse the existing destination partitions on the SSD? Ready the filesystems on each of the target partitions. /boot is ext2, / is ext4 and swap is already set up too. As I said, all contain data (Ubuntu) that I wish to overwrite. So what steps are needed here? Do I need to erase anything (files, etc.) before the copy/clone? next, use dd to copy MBR (right?) And exclude partition table:
Code:
dd if=/dev/sdc1 of=/dev/sda1 count=1 bs=446
Mount the source and destination drives:
Code:
mount -t ext4 /dev/sdc1 /mnt/source mount -t ext2 /dev/sda1 /mnt/boot_target mount -t ext4 /dev/sda2 /mnt/root_target
I suppose I can leave the swap partition on the target untouched. Copy the files from the source partition to the destination
Code:
cp -a /mnt/source/boot /mnt/boot_target cp -a /mnt/source/ /mnt/root_target
then I assume I go to /mnt/root_target and delete the /boot directory, right? Change /etc/fstab to reflect the new partitions. I mount by label. Will my partition labels be intact after this? Do I have to make any changes to GRUB? Anything else?
I have just clone from my previous IDE hard disk to a bigger IDE hard disk with clonezilla. However, when I boot my system with the new hard disk using the installation disk, it says an error that "no linux partition found on hard disk".
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.
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
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"
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.
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.
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)
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
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.
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?
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.
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?
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.
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.
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?
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.
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..