General :: Dd Be Used To Copy One Disk To Many?
Jun 1, 2010
Does anyone know if this is possible? I am attempting to copy one "master" hard drive to two or more "destination" drives. I hope to use the DD command because the master drive is encrypted and I need to make exact copies to "destination" drives.
I have used dd if=/dev/sda of=/dev/sda and it works for one-to-one operations. I tried dd if=/dev/sda of=/dev/sdb of=/dev/sdc but the command skips the of=/dev/sdb and copies to sdc....I knew that was going to be too easy
View 14 Replies
ADVERTISEMENT
Aug 17, 2010
S.M.A.R.T.tells me my primary fedora drive has lots of bad blocks,so I ordered a used identical drive from ebay.I want to do the very basic process of making a full backup of my existing drive - so as to replace it with a more or less identical replacement. Logically identical - not necewsarily sector to sector identical.im not literate in unix and its children - and seem to find a plethora of descriptinos of how to do what I want to do. which is
1. format the drive - what you may call low level format - ie op sys independent.
2. create a partition system compatible with my existing disk.
3. copy everything from my existing disk to the new disk.
4. put existing disk on the shelf as a backup and start to use new disk.
View 2 Replies
View Related
Sep 1, 2010
I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
View 11 Replies
View Related
Jan 20, 2010
Imaging-copying a working remote share on WindowsNT to a local Linux disk target is needed .
Is that possible with dd command(how if remote share is connected as smb://ipnumber/share) and do you need root privilleges on local and remote machine for that?Perhapson source machine:dd if=/dev/hda bs=16065b | netcat targethost-IP 1234on target machine:netcat -l -p 1234of=/dev/hdc bs=16065borrsh 192.168.xx.yy "dd if=/dev/sda ibs=4096 onv=notrunc,noerror" | dd of=/dev/sda obs=4096(any difference to dd/privilleges if you use it as windows dd version since remote is running windowsNT)?
View 1 Replies
View Related
Jan 26, 2010
I've got a CentOS 5.4 box and the following disks connected:
# parted /dev/sda print
Model: ATA WDC WD1600BEKT-0 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 160GB 160GB primary lvm
# parted /dev/sdb print
Model: ATA WDC WD1200BEVT-0 (scsi)
Disk /dev/sdb: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 120GB 120GB primary ext3 lvm
the OS, data and programs are on /dev/sda.
I'd like to copy the full directories and files to the newly added /dev/sdb wich has, as you can see, less space. Also note that /dev/sda has only about 3.6Gigs uses, so it will no doubt easily go into /dev/sdb. How can I do the full copy, and yet make /dev/sdb bootable just like /dev/sda (just as if it was cloned by Ghost)? I've checked dd, but AFAIK, it needs that both source and target devices be the same in size.
View 1 Replies
View Related
Jan 6, 2011
I recently installed Linux to run a few Linux based tools on a disk images I have, and I can't seem to copy the disk image over to my ext3 partition.
The particular distibution I'm using is BackTrack 4 r2, which is Ubuntu based. I can't seem to find specifically which version of Ubuntu is being used. The disk image is 108GB. It is currently located on a NTFS partition on a SATA hard drive connected directly to the computer. The ext3 partition is located on a second SATA hard drive connected to the same computer. It has 200GB total. I do not remember exactly how much free space it had but "df -h" showed a lot more than 108GB. The computer has 4GB of RAM and I gave it 8GB of swap space.
At this point it has been running for more than 12 hours. This is far longer than I would expect it to take had I been copying the file under Windows. How ever I do not have much experience with Linux, so if it's supose to take this long please let me know. I am planning on letting it run until I wake up tomorrow.
"cp -v" hasn't been very verbose at all. The only sign I have that indicates the computer is still trying to do something is the HDD light on my chasis that has stayed lit this whole time.
View 4 Replies
View Related
Jan 25, 2010
I have a PC with OpenSuse 11.1. Beside root there are two other users on the system. Now I have installed a new PC with OpenSuse 11.2. Only one user is set up until now. I installed the hard disk from OpenSuse 11.1 into the new PC on IDE Primary Slave, because I wanted to copy some files from the old system. OpenSuse 11.2 has mounted the old disk automatically in /media/disk and /media/disk-1. The problem is that I can't find any files or directories from the users. I could find only one file from root in /media/disk-1/root/Desktop. Why can't I see the files? Does it have anything to do with UID or SUID?
View 14 Replies
View Related
Jan 25, 2010
I got an USB hard disk, which is formatted in VFAT32 in window. I try to back up my file.tar to this hard disk. i got this error: writing `/media/PD03/xxx.tar': Input/output errorand the mount point is disappeared by itself.mount point: /dev/uba1the file I tar as a root... i copy the file as a root user as well.mount point info:/dev/uba1 on /media/disk type vfat (rw,noexec,nosuid,nodev,shortname=winnt,uid=500)
View 3 Replies
View Related
Jun 9, 2010
I own a web server (centos 64bit with cpanel on it) and my datacenter add me a second hard disk and i want first to locate from ssh where is it (the path) and then to copy my mysql folder /var/lib/mysql to the new disk and have it like this /new/mysql on the second disk.
View 8 Replies
View Related
Mar 27, 2011
i have amd athlon x2 3gb RAM ddr2 two hdd one 80gb other 1tb in this computer i got only ubuntu all disk in EXT4.i want to copy 10gb many file of 700mb or 1gb ( many linux ISO )the transfer is 1mb/s this is SOOO SLOW.i did a touch /forcefsck just in case but nothing happen it is still slow!!what might be the problem ??
View 1 Replies
View Related
Sep 10, 2011
I have a broken DVD drive and no others available right now to burn a DVD iso to so I'd like to use a empty hard disk instead.
I've tried Unetbootin but that only copies a few megabytes of files - the rest of the image data in the ISO is ignored.
I have verified the ISO is valid and working with VirtualBox. It's MD5 hash is also as expected. But I need to boot at the real bios not an emulated one.
I've also tried things like:
sudo cat /disk/image.iso > /dev/sdb1
and that got "Permission denied" -
View 3 Replies
View Related
Jan 25, 2010
I plan to reformat & reinstall my linux (centos).Before doing this, I got to backup my files into my USB external hard disk from Seagate (FreeAgent). The problem I faced is that I could not copy file into the hard disk even I was in root user. It prompted me that it is only read-only. I just wonder why.I have tested with my thumb drive. It worked. May I know why I could not copy file to the USB FreeAgent hard disk. Due to file system?
View 3 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Jan 14, 2010
i have switched disks and i want to copy my old notes from my old disk to new disk.so which folder does tomboy saves data so i can copy them over?
View 3 Replies
View Related
Feb 16, 2011
i have an old copy machine (canon gp225). the hard disk makes a whistling noise and i suppose it is just a question of time when it will bust.i do have some stone-aged computers here and i think i could use one of this hard disks as a replacement.how do i get the operating system (probably unix/linux or similar) plus the content of the boot sector plus the software on this new hard disk? i think if i could do a one-to-one copy i might have a chance that i could replace the old hard disk and it will work.
View 2 Replies
View Related
Mar 13, 2009
I added another disk to an old Dell Dim2400 that had one HD. It was a blank disk, and instead fo re-loading and re-configuring SuSE, F10, and PCLOS, I did a cp command from another multi-boot computer, like so:
Code:
cp /dev/sda dev/sdd
sda is an 80G Seagate, with SuSE, F10, and PCLOS.
sdd is an 80G Western Digital.
The copy went perfect. It begins to load SuSE in the old Dell, showing new peripheral hardware, but it stops when it realizes it's on a WD and not on a Seagate. The line is something like, 'Looking for dev/by-uid=xxx-123-Seagate-yyy'. It asks if I want to go to the next device to boot up. I enter 'NO', because it will go to Windows.
It then exits to 'bin/sh' prompt (or something close (shell?)).
Can I boot LiveCD and modify this so it completes the load?
View 5 Replies
View Related
Jun 27, 2010
I figure it is better to ask something silly rather than do something silly.
How do i copy the OpenSuse 11.1 repos to a local disk to get faster access?
If i do copy them will i need to copy the oss and non-oss repos again? (I know i will for update and maybe for others)
Is there a current repo for somewhat older ATI video cards like X1300?
View 7 Replies
View Related
Jul 17, 2010
I spend the vast majority of my time in Ubuntu, but every so often I still encounter the odd errand that requires a free copy of Windows that came with my hardware.
So I have Windows 7 on my laptop which I like slightly better than XP and a whole lot better than Vista. I am not in there a lot besides that its required for a web design class and sometimes for a few stubborn games, but I would very much like to copy my Windows 7 partition to a 100gb partition on my TB HDD.
How do I do it? Keep in mind, I am barely two tiers above noob on a scale of 1 to 20. I am working on it though.
I also want this partition to be bootable. I dont care if I lose the rest of the data on the disk. I want to redo everything anyway. I definitely want it to boot though, not just for the data to exist.
View 9 Replies
View Related
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
Mar 21, 2011
I am not a programmer so, with scripts I am cold.I need this.When I plug in USb external disk, a files and folders are automatically copied from one folder on fedora, to my USB disk. And if files or folder are already on USB disk, it skips copying. So it copies only new files and folders.
View 1 Replies
View Related
Feb 1, 2011
I have second disk connected internally, and for matted to ext4, though it shows up, I cannot past to it or copy from it, it is full mounted!
View 4 Replies
View Related
Jun 28, 2011
I just received Phil Mickelson's "Secrets of the Short Game" DVD but it keeps stopping when I play it on either my PC's DVD drive or an external DVD drive - using VLC.Is there a software that will allow me to copy and play it from my hard disk?I tried a simple Dolphin copy but that stops as well.Is there something that I am missing?Also, it will not play on my DVD player - it just keeps ejecting it
View 14 Replies
View Related
May 6, 2010
I am unable to copy video cds on my hard disk.yet they play in xine,the cds are in ISO9660 format and i am using 10.04 lucidlynx(gnome).
View 9 Replies
View Related
Apr 26, 2010
I cannot copy files to a floppy disk because access denied.
View 9 Replies
View Related
May 2, 2010
I'm running Lucid RC with all updates and Brasero 2.30.0. I can't do a disk copy with this program. It gives me an error that not all libraries are installed. It first gave an error that cdda2wav was not installed but that is not true and now I get this general error. I'm installing K3B as we speak but I prefer to keep a straight Gnome installation.
View 9 Replies
View Related
May 17, 2010
I just bought a new 2 TB hard disk to replace my old 175 gig one. I currently am dual-booting Lucid Lynx and Windows 7, and rather than go through the process of reinstalling both, then reinstalling all my programs, settings, and everything, I was wondering if there's a way I can just copy the partitions on my 175 GB disk to the new one, grow them to fill up the rest of the free space on the new 2 TB disk, and then plug that HD into the primary master plug on my motherboard... will that work?
View 4 Replies
View Related
May 30, 2010
Best way to do a scheduled backup of a server (PowerPC, Ubuntu 9.10), when an exact copy of the linux partition would be made on a disk of the same size? It seems there are several solution, but I have problems choosing the best.
View 6 Replies
View Related
Apr 30, 2011
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.
View 3 Replies
View Related
May 29, 2011
I'd like to move my existing Ubuntu installation from my hard disk (/dev/sda1) to a USB stick. How do I copy the data from HD to USB? dd is obviously not the right option since the HD is 320GB and the USB stick only 16GB. However, only 3.5GB are used so this makes perfect sense.And it would make my HTPC even more silent |-)
View 1 Replies
View Related
Jan 5, 2010
After I burn the DVD image, I put the disc on the computer and boot. The installation screen appears, the acknowledgement screen appears, then the installation checks my system and gives me a yast window with an error about something related to URLs and repositories. I cannot continue with the installation.
I am 100% new at this and thought it would be as easy as installing ubuntu (which I installed on a laptop and works flawlessly).I am trying distros and opensuse is compatible with my video card right out of the box apparently, so that's why I chose it for my desktop.Do I need to copy the dvd image to the hard disk of the computer I want to install opensuse on, and use the dvd to boot as well?
View 5 Replies
View Related