Ubuntu :: Copy Entire Partition To Another Machine?
Sep 24, 2010I would like to copy an entire unmounted partition from one machine to another on my LAN. This is basically to perform a very direct backup of the partition.
View 1 RepliesI would like to copy an entire unmounted partition from one machine to another on my LAN. This is basically to perform a very direct backup of the partition.
View 1 Repliesi am putting a larger drive in my laptop, i have linux mint 10 KDE setup with all the software i need and running just the way i like it. is it possible to actually copy the entire partition to a external drive then place the partition back into my laptop with the new drive in it, and still have it all setup the way i had it?
basically so i dont have to reinstall everything and set it up again.if this is possible could you please explain how i can do it in the simpliest terms at all please.
I have an old Dell Dimension 2400 with XP that has a WD 40GB model# WD-XL80SD-2 that has run out of space now matter how hard I try and keep it clean. I called Tigerdirect this morning and ordered a Hitachi 500GB hard drive model# OF10381, here's my dilemma. I really want to just do away the old hard drive and use the new one but it seems as if there's not a real good way to copy the entire hard drive including the OS. I have been told that you can use a program such as norton ghost to do it. I do though have a Windows 7 disc, I am going to use a SATA host PCI card to connect the new HD. if I should back everything up from the old HD except for the OS. And then unplug the old HD and just do a fresh install with the Windows 7 disc.
View 9 Replies View RelatedI 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 RelatedI installed a new 11.04 on my Thinkpad in place of the old 10.10 system, so it replaced the old /home with a new empty one. But I had previously done a partition copy of the original 10.10, complete with /home to a spare HDD so now I can copy that /home in place of the new empty /home. What's the best way to do that? Should I use 'dd'? Should I use Nautilus? Or should I partition-copy that copy of the 10.10 onto available space on the thinkpad 11.04, then manipulate the partitions to consolidate? Maybe create a separate /home partition?
View 4 Replies View RelatedI am trying to use the cp command to copy some files around but want to preserve the entire folder structure. Example:
Then within the /backup location I want to see /backup/folder1/folder2/file.
I have tried cp -a and cp -p but neither give me the above.
How to Copy the entire folder contents (including sub-folders and their contents) to another folder using PUTTY? Is there any command for that?
View 3 Replies View RelatedI have been trying to SCP a couple files from my Ubuntu 10.10 machine to a Fedora 12 machine. Before today, did it with out any problems, always worked. Today however; after the SCP is complete from my machine, the file on the other machine is zero bytes, an empty file. The only thing I can remember getting changed was the new kernel that was in the update I did today. But I don't think that would have changed the SCP works.
View 5 Replies View RelatedI would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
View 3 Replies View RelatedI have a 16GB Ubuntu Webserver running on a Transcend SMART CF chip (Yes I know all the reasons not to). I want to move that entire system (OS, Files and structure) to an external bootable HD that will probably be closer to 100GB. What's the easiest way to do this and have it be plug and play. By which I mean I can then plug the drive into a new system and boot it up just as it was running on the old system.
View 1 Replies View Relatedhow do you copy an entire line and add that copy at the end of the same line?
For example, sometimes I rename a collection of files with a command like:
"mv oldfilename newfilename;"
I am able to add "mv" at the beginning, the semicolon at the end and sometimes replace a word in the middle, but... how to change a line "oldfilename" into "oldfilename oldfilename"... that is already long time a mystery to me...
I have an 500GB Iomega external drive connected to my iMac and used for the Mac Time Machine back-ups. I want to put a small partition on there that I can use to back-up my Ubuntu files which are on my laptop. I thought that I would be able to just copy the entire Home file on Ubuntu to this drive be drag and drop but this does not work. I get a notice to inform me that I do not have permission to create file there. I can however move files in the other direction (from the external drive to Ubuntu on the laptop. I assume this is because the external drive was formatted for Mac and I hope the problem will be solved if I could format a part of the drive in ext4 to accommodate the linux files.
View 7 Replies View RelatedI experienced freeze with Fedora 12. I haven't had any issues up until now at all with stability in Fedora. Since then the problem has persisted with a freeze about once a week and then over the last few days it has started freezing daily. I thought at first that it was a problem with an update and that it would get sorted out with another update but that doesn't seem to be the case.
I installed FC12 within days of it's release and I've had no issues until now.
The odd thing is that the machine only freezes when I'm not using it. I suppose this is a good thing, but it makes it harder to figure out what is causing it.
The entire machine locks up and I'm unable to do anything but use the reset button and get the machine going again. I can not connect via SSH either as all network connections are being refused.
I have looked through the logs and can not find anything odd. There are no kernel panics and there are no Xorg errors.
I'm starting to wonder if this is a hardware issue, but the system drive was just installed in November and hasn't reported any errors when I check it.
How can i copy a files from Machine A to Machine B.Which is LAN connected
View 4 Replies View RelatedI have succeeded in deleting my former Windows XP partition and it is now unallocated. How do I allocate all of the space to Ubuntu?
Attached is my Gparted screen. There was an error when booting Ubuntu initially and I was never able to dual boot. XP is gone now. I want Ubuntu to have all the space
I've searched some older posts and they said to use partimage, but this program doesn't support ext4 file systems. Here's the original post: [URL].. So how would someone backup their entire ext4 partition so the owner can mess around with some graphics drivers
View 3 Replies View RelatedIs there a script I can use to send a command VIA terminal to wipe an entire machine of data? If for example there is an intrusion valuable data can be at risk, it would need to be erased.
View 14 Replies View RelatedI am trying to install Gentoo. Currently I have windows 7 on my primary Hard Drive.I decided to add in a second HDD that I got for free and use linux on that.I got through my entire install and at the end I accidently wrote grub to my second hard drive.When I rebooted it went straight to windows.So I have some questions. When installing to the secondary HDD does my boot partition and swap need to be on sda? or can they reside on sdb?Also I tried to re-issue the grub-install command and it said bash: command not found. How can I get grub to re-install? I tried to emerge it and same issue no command found.Do I need to redo the entire reinstall?My last question is If I have more then enough HDD space how much is too much for linux? Most people say 30 GB is all you need from what I have read but I assume 160 GB is going to go to waste?
View 3 Replies View RelatedI can take apart my computer and fix a problem and then re-install the partitions. Hopefully I won't have to re-install, but I want to make backups just in case
-HP laptop with a windows (NTFS) and an Ubuntu (ext3) partition ~ 500GB total
-Iomega 1TB external hard drive partitioned into a 500GB NTFS storage, 250GH BLANK ext3 Linux Backup, and 250GB BLANK NTFS Windows Backup.
I want to copy my windows and linux to their respective 250GB spaces on the External HD.
1.) Can you direct me to places on the net that describes this in detail?
2.) Can I copy a partition while running that partition?
3.) Will copying C:/ in windows over to the external HD copy entire partition?
4.) Can I copy a Laptop partition to a external HD partition that is bigger?
5.) Do I have to use partition manager software or can I do this from terminal/cmd prompt?
I run alot of Linux running in memory. Mainly by PXE booting a kernel and the entire OS as the "initrd" file.
I have a RHEL6 image running as a VirtualBox guest and the entire OS (minimal) is contained withing 1GB of disk. I wan't to boot the entire /dev/sda1 "/" (its the only partition on the drive, no swap) as the initrd file and run everything from memory. But grub won't let me. So before I try and re-invent the wheel I thought to post here first.
Details. RHEL 6 as guest in VIrtual BOX. configured with 3Gb memory. HD is single partition and known as /dev/sda1.
at the grub console. I issue
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-19.el6.x86_64 root=/dev/ram0
initrd (hd0,0)
But the grub windows just freezes. Apparently it doesn't like the fact that I've referenced the entire partition (hd0,0) as the initrd. Any thoughts? Or any better boot loader like SYSLINUX?
BTW, I am not worried about the /etc/fstab mentioning /dev/sda1 at this point, I have a fix for that already. I would like to see grub load up the partition as an initrd.
I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new.
Most simple guides recommend use of dd to copy the whole partition byte by byte.
I'm moving to the new drive because I don't have enough space on the old drive, so I don't want to simply clone the partition. Instead I need the destination partition to be bigger. Would dd work well in that case?
Assuming that I use same partition types on the new drive, would I be able to use simple cp with appropriate settings?
My Ubuntu 9.10 is intalled on a partition on my computer HDD. The other partition OS is Windows XP. My Windows uses McAfee as the antiviral program. Granted that linux is at a much less risk for viruses, some still apparently can slide through on incoming emails from Windows computers.
1) Will my Windows partition McAfee protect the entire computer?
2) If not, suggestions for an anti-viral program?
I'm a linux user for some time now and most stuff I can figure out myself. Though, this one drives me crazy and I did not find any information on the internet.I have a partition, say, Code: /dev/sda1 , which is 128MB big. When I copy it using Code: dd if=/dev/sda1 of=/home/me/backup_sda1.img , the resulting file is 134MB big. Now my problem is that I want to copy that partition as-is to a CF card, which does not work because the image is bigger than the partition on the CF card.Why does dd create bigger files? Shouldn't it be exactly same sized like the source?
View 7 Replies View RelatedI need a FREE solution that can image an entire Luks system encrypted volume and the rest of the used HDD, the MBR and /boot partition. Note: MBR and /boot are not encrypted. Note 2: I want to be able to restore entire drive from image with only a couple of steps. Note 3: Destination HDD space is a factor. Image file must be compressed and the image file must be around 40 to 50 GB or less. The smaller the image the better.
I have used clonezilla live cd before but not for encrypted volumes. I know you can install it in Linux. But, I don't know how to configure it after installation. I would be very happy if someone could tell me how to configure clonezilla in Fedora. How to guides are also welcome. I have one more question. If I image the encrypted volumes and all the stuff I mentioned above while logged in to Fedora, and I restore the drive from the image, will the recovered drive still be encrypted?
I am looking for a way to see if it is possible to copy the system state of a system to another system.Is it possible to simply move the folder structure over to another machine, and have it work? Do I need any special partitions for /var, /home, etc?My machine is dying slowly, and I really want the quickest way to migrate the system over to the new system.
View 7 Replies View RelatedIphone 4.2.6 and ubuntu. I have upgraded to natty and have Banshee running and am able to mount my iphone and see my files etc in a file browser. I can even see my music on the iphone inside Banshee. It lets me copy music from my machine to the iphone but never shows up on the ipod on the iphone. I can browse the folders and find the music but its saved as libgpodxxxxx.mp3. The xs are numbers. They are all in folders on the iphone called itunes_controlmusicfxx where x again are numbers. They play fine from the iphone if you highlight them in the file manager or in banshee.
View 1 Replies View RelatedI inherited a machine that's set up with 3 disks, managed by LVM (v 2.02.46-RHEL5). I just got a new box with the same hardware configuration, and would like to clone the disk setup by copying an LVM config file from the first box to the second, and have LVM on the new box set up the disks according to that same configuration. Is there a way to do this?
View 2 Replies View RelatedI 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?
I want to copy the add ons from a PC Linux 0S live CD to my Oracle linux 5 machines.It should be simple but I am having problems
View 3 Replies View RelatedI used the command: scp filename.c user@172.100.102.187:/user/pradeep
Here I want to copy file to 172.100.102.187 in /user/pradeep but it gives a
error: scp: /user/pradeep: No such file or directory
What is the command to copy a file from one system to another?