Ubuntu :: Restore A TAR Backup To Virtual Machine?
Apr 9, 2011
I'm trying to use this tutorial (URL...) to backup my Ubuntu 10.10 (ext3) operating system. I've successfully gotten it into a TAR file on my external hard-drive, but inside the archive are 2 folders: sda5 and media (/media/sda5/), sda5 ofcourse containing my operating system.
I run VMWare as my virtual machine software, but I could easily run Virtual Box if the situation calls for it. On my virtual machine I created an Extended partition, made a 2GB swap space and the rest is ext3 (ext3 space is mounted as sda1) (at this point, Swap is OFF) here is what I've tried to do inside the virtual machine to restore:
Code:
sudo -s
mkdir /media/FROM/
mkdir /media/TO/
mount /dev/sdb1 /media/FROM/
[Code]...
but instead it just creates the directory sda5 under media of the live ubuntu cd Do I need to CHRoot in these conditions? AFTER I get the files successfully into the virtual machine, how do I go about restoring the grub2 bootloader? Right now I haven't tried to restore grub on my hardware, but I would be interested in doing so. There are a vast immense amount of forum posts about this subject, but all are to mixed results. Can anybody tell me the absolute definite way to restore grub2 successfully, I don't want to try something if it's going to mess up my install, whether I've backed up or not.
for further reference, here is a link to the previous (failed) thread I made about this same subject:
I have installed CentOS on a VMwareWorktation and that CentOS, i also install VMware Server (suscess) and setup a guest OS that, but i start this Guest OS, an error show "You may not power virtual machine in virtual machine"...
I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?
How do I program a virtual machine to auto-start/boot upon boot up of the host system? I am experimenting with SNORT network intrusion detection system and have installed it inside a virtual ubuntu box which I want to start automatically.
I read once that you could use VMWare's converter to convert a physical machine into a virtual machine to run in VirtualBox. Can someone point me in the direction of a tutorial or just give me instructions on how to do this? I was very confused by the converter and how to get the image to work with virtualbox.
I have ubuntu-8.04.1-server installed on virtual machine. It works perfect. Now, I made copy of this virtual machine. I started that copied machine and it works fine, except one thing: network does not work! I have several others VMs with freeBSD, openBSD or Windows on it, but only ubuntu machine hes network problem after coping. I tried some other VM with ubuntu on it - same problem! I downloaded VM with ubuntu - same problem.I take a look into /etc/network/interfaces file and it looks just as it should (same as before coping) but ifconfig command returns parameters for lo only (before coping there was eth0 and lo).
Can I copy my virtual box VM windows XP virtual-machine files to another Linux computer and run the machine on that computer while I keep on running it on the original computer?
This question is about technical possibilities, not licences.
I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.
Im running ubuntu 10.04 and I recently had a little adventure whilst trying to disable KMS and deleted all the stuff out of the # kopt line and added the nomodeset thing.Now I crash to easybox everytime I try to boot, how do I restore the backup of said file that I noticed beside it in the folder. Also I saved one to my desktop.
I'm using ubuntu for a few weeks now and i created a backup script that can copy some folders into a .tgz file. Now i want to place back the folders to where they come from and overwrite the original folder. like the /home folder in the .tgz file overwrite the /home folder on my harddrive. I already tried to do this with: tar xvpfz filename.tgz. But after that the folders came in the same folders as the backupfile stands.
How to Backup & Restore Installed copy of my UBUNTU 10.10.If I create any ISO or Recovery CD /DVD, saves time to fresh install & update & install favorable software.I use Mobile to connect, works slow to download.
I have an encrypted volume, which contains LVM volume group with volumes. I have unencrypted /boot and the rest is on that encrypted lvm. I have a backup I want to revert to, but that backup has a different kernel, and I don't know how to update the /boot since I have suspicions that the system won't boot if I just restore / . I think I need to run update-initramfs and grub-install at some point..
best/simplest way to back up my triple-boot machine, which has Karmic 32-bit, Karmic 64-bit and Windows 7 (64-bit) installed on 3 equal slices of the internal 1TB disk. There are a total of 6 partitions (1 primary+1 logical partition each for the two Karmic, and 2 primary partitions for Win7), and I would like to back it up on an external disk such that the whole system can be restored as-is by writing over the disk. I guess this means correctly backing up data+partition table+MBR, and I would also prefer backing up only the used portion of the disk (rather than creating a 1TB mostly empty image file).
To my knowledge the only way to reliably do this is with "dd" command, but I have never used it ("fsarchiver" seems to be the next best option, but it cannot back up MBR yet; and "partimage" does not have ext4 support). As described here and here, I should run the following commands from a live boot:
1) To back up entire data in compressed format (using 1MB read block to speed up the process):
dd if=/dev/sda bs=1MB | gzip > /backup/image.gz
2) To back up MBR+partition table (stored within the first 512 bytes of the disk): dd if=/dev/sda bs=512 count=1 of=/backup/image.mbr
I would like to find out how to back up a complete Ubuntu system, and then restore it on a clean harddisk.I have been running dual booting with Win XP until now. I am running Ubuntu 10.04, but have installed quite few add-on. I would like to make an Ubuntu-only machine now, with all the same apps still there, but dont want to go and download everything again. I am looking for a way I can back this entire Ubuntu installation up, and then restore it to a clean drive.
I had perfectly working Ubuntu 10.04 system, Last night I tried to upgrade to 10.10 and things did not worked quit well. Before upgrade I took backup of complete system using remastersys on DVD. So I restored my system using that backup and everything was same as before expect one thing and that is my graphics. I am using ati raedon graphics card. Its drivers are install via jokey but I cant enable desktop effects. I tried re-installing drivers but that did not helped.
I used deja dup to backup my home folder today so I could restore it after reinstalling 11.04. now, it starts to restore, but gives me this error every time: Code: Calculated hash: ac14ae0a7bf52c1ea0d851cec864df9e1c06b54e Manifest hash: 4173054c0b0c8ce1154af5b5caae2a7591652765
Here's what I want to do: Copy the whole Ubuntu 10.04 partition/installation from my old laptop to the new one.
What I tried: Used Simple backup to back up my Ubuntu installation to a USB hard drive. It yields a 10.4 gig folder containing 7 files. Installed 10.04 on the new laptop, used Synaptic to install Simple Backup, plugged in USB drive, started Simple Backup Restore, tagged the backup directory in Simple Backup Restore, and get the error:
Error: no backups found in the target directory.
I also tried copying the backup to the local drive, same difference.
One Laptop. One hard drive. Two OS's. Windows 7 is shot to hell from installing and uninstalling to much crap. Windows & WILL rewrite my MBR. How do I back up my far superior GRUB MBR and restore it over the wincrap MBR once I am done reinstalling Windoze?
I'm now using Ubuntu 10.04 with ext4 and for the second time in my life I experienced data loss (not for real: I got backups) and I'm assuming problems with the recent ext4 fs.
I want to restore all of my configurations (/etc and the like), data and home on reiserFS: is this possible? What to do in order to accomplish that?
I have 4 different servers with exactly the same hardware. I set up one of them to have a centos install with all the basic stuff I'd like running on each one. I then created an image of the harddrive with the operating system, and stored it on an external drive. I used dd to copy the external image to one of the new machines. It worked fine, everything booted up as normal and with a few tweaks everything was great. The problem is that the drive is rather large (500gb) and it takes days for dd to copy it over. I decided to try a different route, I booted to a usb (using the linux distro on the ultimate boot cd pre-loaded with gparted). There are two partitions on the external drive, a small (100mb) partition which can easily be copied over with gparted, and the larger 480+gb lvm partition.
Gparted doesn't support lvm, so I used fdisk to create a new lvm partition on the new machine, and then pvcreate/vgcreate/lvcreate to re-create the same volume groups/logical volumes that are in the image on the external harddrive. I rsync'ed all the information over from LogVol00, and made the same swap partition LogVol01 (which took WAY less time). I disconnected the hard drive and renamed the volume group to VolGroup00 (initiall I named it differently, since linux doesn't like having the volume groups named the same). I can mount the LogVol00 partition and see all the files as they should be. But when I try and boot up, it doesn't even go to grub, I just end up with a blank screen and blinking cursor. How to make the drive bootable? Alternatively, a better strategy than using dd to restore this image??
my old 80gb pata HD showed a dual boot Ubuntu - XP on startup, although ubuntu never worked, onlly XP booted. Recently I tried to Restore a Macrium backup on one of its two partitions, & spoiled something. On boot up it says:-
I've recently started using Ubuntu as my main desktop operating system and I'm looking for a backup solution that is able to backup not only my documents and various other files that I have on the system, but I also need it to backup and create restore images for the operating system.