I Have a Red hat 9 Installed in our Site With 5 Partitions Which work's as a Server for 3 clients .I wanted to clone the entire H.D.D of the system to a new one, So then if i have a problem i can restore it back.For Example I use Nortron Ghost for Windows Systems( but Without Portions)
I 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.
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 have a computer-based device used in my Ophthalmology office that uses a Compact Flash card as its primary hard drive. This device, and the CF card, are Linux based, and so the card has Linux partitions on it. I need to be able to clone this CF card, using a Windows computer, onto another CF card, to replace one that has failed in one of these devices. Neither Windows XP nor Vista is able to do anything with it.
I use Casper to clone Windows hard drives and partitions which are FAT32, NTFS, etc., but it does not recognize or work with Linux partitions. I need a simple, hopefully free or inexpensive, program that I can install on a Windows XP or Vista computer, which can clone the good Linux based CF card (which would be connected via a USB Reader, or a built-in Media reader) onto a brand-new unformatted CF card that I would buy, and similarly connected.
I'm thinking about cloning a system without having physical access to its HDD. Is it possible to simply copy the contents of the filesystem (using ssh/scp) to a freshly formatted HDD (maintaining the source fs-type and -geometry)?
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:
dd if=/dev/sdc1 of=/dev/sda1 count=1 bs=446
Mount the source and destination drives:
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
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 am trying to clone a HDD which has Windows Vista installed. There are two patitions in in: 9.3GB EISA Configuration 65GB NTFS (the C: drive as windows calls it) I am going to clone the entire hard disk with clonezilla, I am not sure what the EISA partition is and if it can be cloned(then restored) using clonezilla. I did google it, its probably some kind of a recovery partition of some sort.
I'm working on building a pre-patched image of Linux and Windows. Windows I used sysprep and worked out pretty well but not sure what is the steps for Linux? I am planning to use CentOS and Ubuntu, is there a command or script that will recheck the MAC address and prompt for new machine name?
I'm working on a SBC9261 board with touchscreen, running Linux 2.6.24./dev/ttyS0 is the standard output and /dev/tty0 is the console on the touchscreen.What I would like to do is to clone the standard output to the touchscreen, so the console would be displayed twice.
I decided to clone my OS partition to another hard drive using dd (without any special options). I created the target partition before cloning (25GB) but it shows up as 21GB (source/original partition's size) in df, as well as ext2 instead of ext4.
I have automated backups running on my ubuntu box using rsnapshot (rsync) basically following this tutorial. My concern is how to restore if everything is lost. Since it does not seem that I can backup the entire drive and that I have to choose individual folders and some like proc/ cause problems.
Currently in my rsnapshot.conf I have (see below). Is there a way to just clone the entire drive? Or should I not do this? Questions:
1, Can I backup in a way such that it is a clone of the drive so that it can be swapped with the current drive?
2, If not yes to clone, If I had a total drive failure would I install a basic ubuntu and then replace all the files with the backups?
Is there any function I can use to set the timezone of the entire system in linux using C? (Other than creating a symbolic link between /etc/localtime and /usr/share/zoneinfo/). Could I specify the timezone offset in seconds by any chance?
i have centos 5.3 , i want to clone or create image of my working servers having centos5.3 in another hardisk so that if my server down i can just put this another hardisk which having image or clone of the crash server and my server will up in small amount of time is it possible or not if yes then how
I have a mini ITX computer that runs a software that I have been trying to clone to another hard drive as back up. When I do clone it, it is the exact same copy down to every byte. When I try to boot from the cloned hard drive, it starts booting, then displays some text:
Then is says some of the files are not found including a encryption signer key not found.
I do no know the next step I need to take. Is this becasue it is running off a different hard drive? I do not understand a bzImage too well, but does it have anything to do with that file?
i 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.
Installed Sidux over LennySidux didn't want to take my usual username, because a folder with that name existed in my home directory.So, I just mounted the home partition and changed the name of my home directory from shay to shay1.Don't know what that did or didn't do permission wise to the files in my old home directory, but I've got a few unowned files floating around my home directory anyway that have been dragged in from old harddrives and such.
I 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?
I 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.
I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to keep a copy of the entire harddrive with the dell utility partition and Windows Vista in case I want to go back. I was thinking I could image the drive but I not sure what to use, I don't have Ghost or anything, Someone had told me about Clonezilla. Would that work for me? Is it hard to use? Also I want to burn the data to a DVD or something more storable than a harddisk.
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.
I am trying to replace an old, smaller, and dying laptop hard drive with a newer one, using a USB external drive. I first tried cloning disk to disk with Clonezilla, but it failed after cloning my root, swap, and /home directories it froze when it tried to reinstall grub. After 2x trying, I switched to dd, which I have never really used (I am fairly new to Linux in general). The actual command I used was:
All seemed ok and after approximately 2 hours my 80GB drive had been cloned onto my new 250GB, with dd giving what appeared to be a satisfactory closure summary. I tried to mount and access the drive from my external USB enclosure but could not view it, though the data is there, I believe, as the size and bytes show... The error that Dolphin is giving me is:
error - wrong fstype, bad option, bad superblock on /dev/sdb1 Missing codepage or helper program or other error. When I installed the new drive directly into my laptop, it begins to boot (Sabayon 5.4, 2.6.35 kernel) but almost immediately I get (handwritten down, but this is close):
detected real_root mounting /dev/sda1 on /newroot failed: input/output error !! Could not mount specified ROOT, try again !! Could not find the root block device in .
I am assuming that my issue has something to do with grub, and maybe specific UUIDs that don't match (?) but I'm not really certain. I have both Grub Legacy 0.9x and the newer Grub 2 installed (Sabayon is already moving over) but I still boot with Legacy, not with the new 2, as I don't know how to switch, and am not sure if I should yet. I thought that dd copied bit for bit, and I added the noerror´ just to try to get it all transferred, so I don't know what went wrong exactly, though something seems wrong with grub and the bootloader, I guess...
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?
when i click my mouse on something, it sometimes registers as two clicks. it doesn't happen all the time, but frequently enough to be annoying. for example, when i click a videos video to pause it, it often opens into fullscreen (which you normally click twice to do). also, in the url bar of chromium, i can't select the entire url by clicking. i now need to use ctrl+a. that's also because when i try to select the url, the highlight randomly disappears.
if i have multiple windows open, my click on the first "x" of the top-most window also closes the next window. i'm on linux mint 10. it's not really important, but it drives me crazy sometimes when my mouse doesn't work the way i want it to.
I set up a samba server on my Linux box for the purpose of allowing everyone - and I mean everyone - on my LAN network to be able to put files to one folder... The only issue seems to be not having write permissions to the target folder.
Question, re-stated: How do I set the permissions for an entire directory to not require anyone to have a login? I have tried many things, such as "chown -aR /data/public", but I still cannot seem to find the magic words.