CentOS 5 :: Restoring To New Hardware?
Jul 19, 2009
We are doing some disaster recovery exercises with CentOS 5. One of the things we want to do is be able to restore to our old production server. However, after restoring the partitions the boot loader starts and then does nothing other than displaying the location of the kernel image at the top of the screen.
If I use the installation CD to boot and chroot into the system everything appears to work fine. I am not sure why the system isn't working right.
View 1 Replies
ADVERTISEMENT
Apr 22, 2009
I have managed to blow up something trying to follow this:http://wiki.centos.org/AdditionalResources/Repositories/RPMForgeHere is what i get when i try: yum update
Quote:Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.nuvio.com
[code]....
View 4 Replies
View Related
Nov 3, 2010
I install CentOS 5.5 from DVD, set root password and log in as root. Then I install Mondo Rescue backup solution, make a backup and restore from it. After that, the system boots just like before, but I cannot log in. When I enter the right password, a couple of lines of text flicks briefly on a screen, too fast to read and the it returns to the initial password prompt. When I enter wrong password, it says "Login incorrect".What am I doing wrong?
I am sending a message to mondo-devel mailing list, but I suspect the root of the problem lies in CentOS, or something that I do wrong with it?I have installed both i386 and x86_64 versions of CentOS 5.5 from DVD's, the problem is the same.I'm running this on a separate machine that I have just for experiments with CentOS and virtualization. I install CentOS with defaults except I uncheck "Desktop - Gnome" and check "Virtualization". I can reinstall if needed.
View 2 Replies
View Related
Nov 12, 2009
The last time I did a restore using cpio under CentOS 3.9 it took a very long time for me to find my seemingly correct command wasn't working and I ended up doing the work in Knoppix. This time I thought I'd run my command by wiser heads before the necessary tape turns up and I spend a lot of time finding my command doesn't work. cpio -i -mtvV --block-size=128 --no-absolute-filenames /var/log/maillog* < /dev/st0
Does this look right? The backup string is find / -path /mnt -prune -o -path /lost+found -prune -o -path /sys -prune -o -path /proc -prune -o -path /swapfile1 -prune -o -path /var/named/chroot/proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0
EDIT: I changed the restore string to cpio -i -mtvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0 EDIT2: Whoops, should be cpio -i -mvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0
View 1 Replies
View Related
May 24, 2010
Several months back I backed up a windows hard drive using an ubuntu live cd and this commanddd if=/dev/hdx | gzip > /path/to/image.gzI now want to restore that image but so far have not been successfulI have tried to restore using this commandsudo dd if=/path/to/file.gz of=/dev/sdb1After some time has passed, the terminal reads23568129+1 records in23568129+1 records out12066882348 bytes (12 GB) copied, 1327.65 s, 9.1 MB/sIf I reboot to windows with the 2nd hard drive connected as a slave. I go to my computer to try and browse the files of the restored HD but when I double click the drive, windows saysthe disk is not formatted.I have also tried sudo dd if=/path/to/file.gz of=/dev/sdbAnd when I do this, the disk does not show up in places/my computer but it will show up in gparted and Disk Management
View 4 Replies
View Related
Jun 18, 2010
I have performed the tar backup in my linuxbox by using the commandtar -cvpzf ring.tar.gz /m01/fordb/sqlThe ring.tar.gz is stored in /m01Now i need to restore the particular directory sql into the /m01/fordb/where i have deleted the sql directory
View 3 Replies
View Related
Sep 13, 2010
I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content
View 14 Replies
View Related
Oct 1, 2010
I took a backup of a guest OS running in an LVM.When I took the backup I created a snpashot of LVM and mounted thatsnapshot in some location.Used rsnc to copy its contents to a USB drive.Can I boot "somehow"from this copy of Guest OS which is now in USB drive?I am using KVM on 64 bit 10.04.
View 1 Replies
View Related
Mar 8, 2011
I save my whole system to a .tar.gz file weekly except for the /proc content. I have used this backup a few times to restore my system without issue.
Last time I restored, I discovered the following 2 issues I home somebody can explain:
#1: while extracting the .tar.gz using tar xzvf filename.tar.gz, I get the following error near the end of the restore process "tar: Incorrect Length". This error only occurs when I boot the system with the slackware 12.1 disc 1 CD. It does not occur if I try to restore from my working system, same file. Other than this, everything seems to be restored properly and the system boots up properly. I am just concerned by the meaning of this error.
#2: After restore, I do lilo -C /mnt/etc/lilo.conf to make sure the systems boots up properly. This works... however, I have discovered that just this won't make module autoloading work after the restore. When booting the restored system, no module autoload !
I have correct this by just entering setup when booted up using the slackware 12.1 disk 1 CD and going thru addswap, set target without format and the going thru the configuration menu and cancelling all question.
Why would modules not load automatically ?
View 4 Replies
View Related
Jan 23, 2010
the links are my stage of backing up my / and /home, both on different partitions.
short-sum up: with rsync, 2-weekly, manual on an external disk.
viewtopic.php?f=10&t=47836&start=0
viewtopic.php?f=10&t=48582
all my test restores in vbox worked fine. i may use the backup as a second OS, so it works. but there i first deleted the old OS and than ran cp -a /media/backup_partition /media/restore_parititon.
yesterday i ran into trouble and had to restore my system.
mount /dev/sda1 /media/restore
mount /dev/sdb1 /media/backup
rsync -auv /media/backup/ /media/restore
that did work, but not so good. dpkg-errors, all non-repo-apps, like opera and some old thrash, were a mess. i had to reinstall them with dpkg to delete them. besides that the system is up and running, but it was a lot of work.
View 12 Replies
View Related
Jun 15, 2010
I'm really into desktop customization so today while i was changing a couple of things here, i did the stupidity of changing the recycle bin icon (right click on the icon> properties> basic tab). I obviously regreted it and now i'm trying desperatly to restore it to the default icon. I'm not a total noob when it comes to customization
View 2 Replies
View Related
Dec 20, 2010
The HD containing my main F14 install is suddenly failing with many unreadable blocks. So I booted a different F14 installation I have on another disk.
Then I run dump, for example, as following:
Code:
dump -0 -a -q -v -A sdb1_home.arc -f sdb1_home.dmp -L F14_sdb1_home /dev/sdb1
as, for what I can recall, I've often done to create full backups.
The problem is that running restore with this command:
Code:
restore -i -A sdb1_home.arc -f sdb1_home.dmp
(as, for whatI can...) and using the add and extract commands, only the directory are created. But files are listed using ls. If I add just a file, only dirname is extracted.
View 9 Replies
View Related
Sep 19, 2010
I currently backup my database using MySQL Administrator. I wanted to test out restoring the database, so on my test server I deleted the database and restored the .sql file to a new schema with the same name as the old. one. It appears to complete the process just fine. But I noticed that the number of rows for the restored database is slightly less than what was backed up.
Is this normal or should the numbers be exactly the same? It's only a difference of about 28 rows. I seem to be able to view the data just fine in the query tool.
View 4 Replies
View Related
Jan 26, 2010
When I try to restore my 9.04 bookmarks to my 9.10 install it get a "Unable to process the backup file" error message. I changed my group to root but it didn't help. I just changed the permissions of the file and it still doesn't help.
View 1 Replies
View Related
Sep 8, 2010
I would like to have [CTRL][ALT][BKSP], [CTRL][ALT][+] and [CTRL][ALT][-] activated but don't know how to do this in the new X11.
View 1 Replies
View Related
May 24, 2011
had a lvm (non luks i suspect) home partition on my 11.04 install. I've since install opensue on the same laptop hoping that if i don't leave that partition alone during opensuse installation i would be able to mount and enter my key to access the data within...stupid me.... i formated my /boot and / partition, not my /home partition of 450gb. I'm now back on ubuntu 11.04 trying to get access to my data. i'v found the command "encryptfs-recover-private" but i only works on mounted partitons, i can't mount my encrypted partition because the system does not recongnize it. I've have to format it to mount it.
fdisk
(bold is my encrypted partition)
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 96256 83 Linux
Partition 1 does not end on cylinder boundary.
[Code].....
View 1 Replies
View Related
Aug 2, 2011
I have accedently erased wine1.2 without Knowingly that it should be there.how can I retrieve it so that i can run a windows program on my computer again?
View 2 Replies
View Related
Aug 17, 2010
error at restoring dumped sql
I have backuped sql by mysqldump on mysql version 5.1.41. But when I restore this sql by command "mysql -uroot --default-character-set=utf8" my-db < my-sql.sql" I've got this error message.
Quote:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'barunarum',1,1,1,1,1,1,1,1,1,1,3,3,-1,5,1,-20,0,'','script|iframe',0,0,0,0,0,0,0' at line 1
View 4 Replies
View Related
Jan 21, 2010
im trying to clone my ubuntu system installed in a laptop in case the laptop crashes.
But, first of all: when i try to restore the system in a new PC, could be incompatibilities because the hardware of the broken laptop and the new laptop is different?
I dont mind if i have to buy another laptop with the same processor type (i386, etc), but, for example, the type of the RAM could be cause of problems?
View 7 Replies
View Related
Jun 4, 2010
If I want to restore an full backup of AMANDA, will it restore the OS along with the files or does it just restore all the files in /
View 2 Replies
View Related
Feb 16, 2010
can i do a complete system restore on a toshiba netbook with linux op system, as ive bought one with admin name and password still on it, and i dont know the password to use the admin side of the netbook?
View 10 Replies
View Related
Oct 14, 2010
on a Linux pc I want to restore the contents of the DLT tape to /mnt directory,how to do itIf I just want to see the contents of the files, is it possible to read the contents irectly from tape without restoring to hard disk?
View 4 Replies
View Related
Feb 22, 2011
I mistakenly deleted the repo directory in the yum folder. Now my yum command does not work.i tried to rpmfusion but i couldnt find the rpm for fedora 7. How can i restore my repos. I didnt do any modifications. Only rpmfusion repo would do.
View 5 Replies
View Related
Jun 9, 2010
We have a disaster recovery solution for our database where a dump file is generated daily at 1:00 AM. We have tested importing the file, along with running another sql file that generates the appropriate database user accounts, into a database on a third-party server.
One question that came up was the following: Suppose the database crashes in the middle of the day, prior to that there were transactions that were entered into the database between the time the dump file was generated, and the crash occurred. We can restore the dump file to either the main or backup server. How can the transactions that were made between the time of the dump file and the crash be restored as well?
View 2 Replies
View Related
Jul 10, 2011
I'm doing an rsync backup to an external drive in order to take a shot at setting up partition encryption. My rsync command is, as root: Code: rsync -av / /external1/backup.Once I've finished my cryptsetup and done a fresh Linux install, what command should I use to properly restore my backup (without messing up the encryption setup)?
View 1 Replies
View Related
Jun 9, 2010
I have accidentally deleted my Documents folder by "shift+Delete"command & it had my important data.how can I restore it.[P]I am running Ubuntu 10.04[/P]
View 3 Replies
View Related
Feb 5, 2016
I created two debian bootable pendrive with the newest and basic commands: CP debian.iso and SYNC. When I tried to restoring the pendrive GPARTED sees only few space and is unable to perform any operation on the hidden partition as well in Windows 7.
CFDISK is able to see the partitions but is unable to write anything, just deleting. After deleted any partion GPARTED enconters a wrong block size so is unable to perform any changes.
Thus the only way I found to restoring the pendrive is delete the partion with CFDISK and then formatting the pendrive in Windows, where did I do wrong?
View 4 Replies
View Related
Mar 9, 2011
I have Debian 6 (squeeze), I have also seen this under Ubuntu (can not remember how I fixed it). (has worked in ubuntu 10.10)I can hibernate, but when I switch on the system cold boots (it does not restore previous session).Note suspend works fine. Have looked in /var/log/pm-suspend.log Shows for each block of suspend suspend a block of resume suspend, but hibernate hibernate is not followed by resume hibernate ( I assume that is what is expected.)
View 7 Replies
View Related
Jul 20, 2009
I have recently been helping my brother set up his computer with a fresh install of Fedora 11. Unfortunately things have not been going all that well. After having some problems with Fedora 11, such as it not liking his monitor and disabling Plymouth's graphical boot (I actually like to see what my systems doing!) things finally seemed to be going into place. Unfortunately the next day we were no longer able to log into his account. After hours of tweaking I finally found out it was that for some reason GNOME stopped liking his account.
This is where things went from bad to worse. I tired removing his own account and giving him a new one, unwittingly taking out his home directory in the process, all 80 gigabytes of it. And just as promised ext4 was extremely quick about it. What can I do to recover it? We have done similar things on NTFS on Windows XP, so I see no reason why a next-gen file-system like ext4 can't do it.
View 7 Replies
View Related
Aug 4, 2010
My Windows installation had a problem and I had to reinstall Windows. The problem now is that I need to get grub back so that I can boot into Fedora. I'm using a Fedora 11 LiveCD I had sitting around. Here are the results of the command most of the way down the first page:
Quote:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
240 heads, 63 sectors/track, 32301 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x000f09ab
[Code].....
I'm tempted to try the grub-install command quoted near the end of the thread, but I don't want to do anything that will hose the system.
View 14 Replies
View Related