Ubuntu :: Restoring Disk Image To A Smaller Hard Drive Than The Original?
Jan 13, 2011
I am looking for an Open Source software making it possible to make a disk image of an Ubuntu installation as well as a Windows XP installation.I have checked out Clonezilla which almost solved the problem. However, the disk to which you restore needs to be the same size or bigger. I want to restore the whole thingo a smaller disk than the original.I am considering getting myself an SSD disk which will be considerably smaller than the 160 gb disk I have right now. I need it to work for Windows as well. Unfortunately I can't get rid of Windows quite yet I often participate in webinars on GotoWebinar and they do not support Linux ...
is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
I'm looking for some help on this issue. I have an image (Windows XP) made with CloneZilla of a 160Gb disk (used space = 11Gb) and I 'need' to restore that image to a smaller disk (120Gb). In order to try everything out I created a virtual machine in VMWare. I've tried about every option available in CloneZilla without succes. The latest thing I tried was using dd to just copy over the partition to a created partition on the smaller disk but when booting I got:
Code:Booting...Error loading operating system.Then I thought installing the image to a disk with the same size, resize the partition with GParted and make a new CloneZilla image, but for some odd reason (typical to Windows) when booting I get a BSOD, impossible to read. The BSOD happens when booting from the disk with the same size, before resizing the partition. This also is a virtual machine.Can anyone point out what I'm missing? Or, if anyone has succesfully done this, how did you go about it?
I have an Ubuntu server and i've installed drbl-clonezilla to clone and restore pc, I have a 40 gigabyte image to be deployed on other pc's with larger hard drive ex. 160 GB or 240giga, my problem is that when I deploy the image on a larger disk I end up with a disk with a partition of 40 GB and the rest unallocated, how can i restore the the disk and use full disk space, the goal is to automate the process. In clonezilla-drbl there is the possibility to start a "prerun" and "postrun" fonction that could help complete the deployment process.
I have ubuntu server acting as a router installed on a 60 gig drive, i'd like to use that drive in another machine and replace it with a 5 gig drive. how can i transfer from the 60 gig drive to the 5 gig drive?
I've been running a dual boot set-up with Win XP and Ubuntu 9.10. The old 40 gb drive was showing signs of impending failure, so I replaced it with a new 120 gb drive, after saving an image of the old setup. After restoring the image from the original drive to the new one, Windows boots fine from the GRUB menu, but Ubuntu doesn't. I briefly see the Ubuntu "circle" then the screen goes blank. If I hit any key, I get a console screen of error messages (I can provide details if needed).
I think the problem is caused by the fact that the restore process scaled the saved image to fit the new, larger drive, with the result that the Ubuntu partition doesn't actually start where GRUB expects to find it. I'd like to recover the Ubuntu installation, but if is too big a deal, I'll just wait until 10.4 is released and do a clean install.
I have this 1 TB HDD , which had a single NTFS partition. I was planning to repartition it using my Mac OSX Disk Utility( my blunder). Once I did the reparitioning disk utility ran for like 8 hrs for reparition of 120 Gigs. After seeing no status after 8 hrs , I just plugged it out.After that am not able to use my HDD seems this wretched utilit has screwed thepartition table. Needless to say this 1 TB contains my 10 years of life time.Till now I have done :Used R3cover to recover partition table: No luckUsed Stellar for Mac : NO luck( this tool ran for 36 hrs before shouting No Data Found!!)Am runnig Test Disk: Interesting tool ran for 30 hrs and asked me to do a deep search now its been running for 2 days with status showing 50% usageThe status shows some 20 Linux parition, 1 Swap parition and 1 unknown partition.As Far as I know I never created any Liux partition.
Linux 329525360 746620911 417095552 Linux 329525384 746620935 417095552 Linux 329525408 746620959 417095552
i am currently trying to do software raid 1 on a running ubuntu 9.10 system with mdadm. I might have done something wrong and im trying to go back from the beginning. Does anyone know how to remove all the raid info from a harddisk and get it back to its original state.
(Just to clarify: This has nothing to do with the 11.4 mount problem with external NTFS drives that is stickied in this forum.)
I have this 2 year old WD Elements drive (500GB) that is NTFS formatted and that I've used for backup all this time, until a few months ago it failed to be recognized by any computer. The power supply is working, so I first requested a new cable, which didn't help, and now I received a replacement. But still I would like to save some of the data on the hard disc. I need to have this figured out within this week as I have to return the old drive, or they will charge me for the new.
So far, the only software to still recognize the drive was a WD analytical tool for Windows. It didn't find any problems or show any error messages as far as I could tell. They recommended using testdisk to recover the data, but testdisk doesn't recognize the hard drive in the first place. I also tried KParted, but no success.
In an attempt to better my wireless signal, I decided to abandon the "out of the box" wireless set-up in favor of ndiswrapper and the windows drivers that came with my wmp54g card. Lo and behold, my signal didn't get better, but dropped another 15-20 percent. I'm lucky to see a connection of 55 now, compared to the 70-77 percent I got with the Ubuntu drivers. I thought... No problem. I'll just un-install the Windows driver. Upon doing so though there's no wireless option at all. Where did the old set-up go? Is there a way to get it back?
im running ubuntu 10.04 since Beta, using a couple of external packages. Since the new release I would like to go back to the original packages in a simple way, the problem is that this particular one (xorg-edgers) has so many dependencies that it is impossible to go back from synaptic.
Code: direct rendering: Yes server glx vendor string: ATI server glx version string: 1.4 server glx extensions: client glx vendor string: ATI client glx version string: 1.4
write me a 100% working step-by-step guide to remove all Ati VGA driver and restore the original "mesa" and other things? It's good too if i can just switch back. I have ugly glitches, slowdowns etc. since i installed the driver with fedora "easy life". I know there are many threads about this but i didn't find a clear working explanation.
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
I am new to the Linux world and I am not sure if what I am trying to do is achievable or not. I am trying to make an image of my existing drives running Linux on a USB and I want to use the same image off the USB to clone more bootable hard drives. Something like what Ghost does in windows. The problem is using 'dd' the image is too big ( I have 1tb drives ) and then I am not sure how to convert these images back on to new drives so that they boot in the OS as well. i am not sure if there is a utility that would let you do that?
this is in the wrong section, but I wasn't sure where to put it. Since the background to my problem is kind of long winded I've split this post into two sections: Short version of problem
I have a PC that has two internal drives: one drive (drive A) is empty, and the other (drive B) has a copy of windows vista installed. At the moment the PC boots from drive A. I'd like to transfer everything from drive A to drive B, so that this new disk will boot and behave nicely and windows will still function.
Is there any easy way to do this in ubuntu? I'm guessing I can use something like dd, but will this copy the boot sector and will I have to mess around with the partition table? Long version of the problem
Today I built a new PC for my dad with two internal drives. He was previously using vista on a laptop which died a few days ago, and I'd like to install vista on one disk of the new PC, and ubuntu on the other disk.
He has a licensed copy of Vista for his laptop, but it came as a "system restore" disk, and so I can't install vista directly onto the new PC. I have an identical laptop to his, so I took out the drive from his laptop, put it in my laptop, and did a "system restore" from the disk that came with the laptop. I then took out the drive from my laptop, and put this inside the new PC. It boots up fine, and I installed all the necessary drivers and etc to make windows work.
Now instead of using a slow/small laptop drive inside the new PC, I'd like to be able to clone the data on laptop disk and this onto one of the bigger/faster internal drives of the new PC. How can I do this from ubuntu, so that the new drive will boot windows?
I'm fairly certain it can be done using dd, but how do I make sure the information in the boot sector (or partition table) is correct for the new drive? I'm asking this because when I put my laptop drive into the new PC initially, I had connected it as an external drive, and when I tried booting from this there was an error, something like "Invalid partition table" (I think). I figured that when I did a "system restore" on my laptop, the drive was the only drive available, so this would be HDA, or SDA in the boot record of that disk. But when I added it to a system where other drives were available, it was no longer at that same location, so the boot loader couldn't find the data it was looking for to load the system.
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?
I'd like to create a boot floppy or CD to restore an image from a harddisk over the network, and it should work possibly automatically. A normal, non-IT user should be able to do it in our branch abroad.
I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it. I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc). In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive. I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
I got a new game on DVD a while back but my computer isn't powerfull enough to run it in windows a friend sugested I use Ubuntu.so I download it and used Nero to copy an image of my DVD to my hard drive but Ubuntu dosent recignise the file which is and "NRG".I thought image files where "ISO".
I'm trying to install debian-18.104.22.168 from hard diskand it can't find my iso image wich is on the slackware partition.i downloaded initrd.gz an vmlinuz,added some lines to lilo.conf so that i can boot but then when it searches for the iso image doesn't find it .
I did something to my Windows partition that seams to be unrecoverable,so I thought that I would get my hard drive re-formated. But, I want to store my OS image (I'm sure that thats the right term... I'm just gonna hop you lknow what I'm talking about) on a CD. I know programs that do this for windows but I don't know any that can do this for Linux/Ubuntu.
I have an unused laptop computer with an WindowsXP installation lying around. I decided to use this computer with Ubuntu for the next few months but it is absolutely crucial to preserve the current WindowsXP state somehow. Is there a safe way to "conserve" that very Windows installation as an image so I can recopy it later on? I'd like to clean out the computer completely to install Ubuntu afterwards. After using Ubuntu I want to install the old WindowsXP again as it was before. Is that even possible? Power on and XP boots as before? I mean driver, accounts, passwords etc? What would you recommend?
I have a fresh install of Ubuntu 10.04 and have configured it the way I like. Is there a way I can make a restore image to use for backups? I know there's software like Acronis for Windows to make bootable images, can you do something similar in Linux?
I have a Windows XP pc that has become corrupted and I have a image of the drive that I want to restore, however Drive Image won't allow me to restore to the main system drive. I was wondering if it is possible to use the Live CD and then do the restore through Ubuntu. I know it's probably a long shot but thought I'd ask anyway.