Re: [Clonezilla-live] Restoring a CentOS disk to VmWare : help needed
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
|
From: Steven S. <st...@nc...> - 2009-07-04 07:22:41
|
Matthieu, Thanks for sharing this conclusion. Steven. Matthieu Gaillet wrote: > > > For the record : the problem was that the default disk emulation of > vmware (at least Fusion, mac) is SCSI, while the originating machine > was an IDE one. Looks like centos wasn't equipped with the necessary > drivers to handle the SCSI interface. > > Solution 1 : change the interface type to IDE and restore again > Solution 2 : add the drivers needed (not tried) > > Thanks for the help Steven ! > > Matthieu > > > > Début du message réexpédié : > >> *De : *Steven Shiau <st...@nc... <mailto:st...@nc...>> >> *Date : *1 juillet 2009 10:01:12 GMT+02:00 >> *À : *Matthieu Gaillet <mat...@ga... <mailto:mat...@ga...>> >> *Objet : **Rép : [Clonezilla-live] Restoring a CentOS disk to VmWare >> : help needed* >> >> Yes, vmlinuz will be loaded, then when initrd.img is loaded, and when >> it tries to find the root partition, it can not find, since SCSI >> driver is not found in initrd.img, so it won't be able to mount the >> root partition on SCSI disk. Therefore it shows you kernel panic. >> >> Steven. >> >> Matthieu Gaillet wrote: >>> Would it boot anyway until the Kernel panic ? Even without those >>> drivers ? I'll try to check if they are presents and to install them >>> if needed. >>> >>> Le 01-juil.-09 à 08:46, Steven Shiau a écrit : >>> >>>> Hi Matthieu, >>>> >>>> Matthieu Gaillet wrote: >>>>> >>>>> Nope, the contrary : >>>>> >>>>> * disk image taken on Physical IDE --> restored on vmware SCSI >>>>> emulation (default setting) =>* doesn't work (panic)* >>>>> * disk image taken on Physical IDE --> restored on vmware IDE >>>>> emulation --> *works !* >>>> That makes sense... Since maybe your initrd of OS taken from IDE >>>> disk does not include the driver for SCSI device. >>>> >>>> Steven. >>>>> >>>>> Matthieu >>>>> >>>>> >>>>> Le 01-juil.-09 à 04:39, Steven Shiau a écrit : >>>>> >>>>>> Hi Matthieu, >>>>>> Did you mean you installed CentOS on your IDE in the VMware >>>>>> machine, and it works ? >>>>>> But if CentOS is installed on SCSI disk, Clonezilla failed to >>>>>> restore ? >>>>>> >>>>>> Steven. >>>>>> >>>>>> Matthieu Gaillet wrote: >>>>>>> >>>>>>> Steven, >>>>>>> >>>>>>> I tried using an IDE drive emulation on the VMware machine : IT >>>>>>> WORKS ! >>>>>>> >>>>>>> Any idea ? Should it work ? How could I make it work in SCSI >>>>>>> anyway ? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Matthieu >>>>>>> >>>>>>> >>>>>>> >>>>>>> Début du message réexpédié : >>>>>>> >>>>>>>> *De : *Matthieu Gaillet <mat...@ga... >>>>>>>> <mailto:mat...@ga...>> >>>>>>>> *Date : *30 juin 2009 09:22:46 GMT+02:00 >>>>>>>> *À : *Steven Shiau <st...@nc... <mailto:st...@nc...>> >>>>>>>> *Objet : **Rép : [Clonezilla-live] Restoring a CentOS disk to >>>>>>>> VmWare : help needed* >>>>>>>> >>>>>>>> >>>>>>>> Hi Steven, >>>>>>>> >>>>>>>> Thanks for your answer. I didn't saw any other error messages, >>>>>>>> but it is possible that I missed one of them... Is there a log >>>>>>>> of the activities written somewhere on the ramdisk ? >>>>>>>> >>>>>>>> Regarding the image dir : it is stored on an external hardrive >>>>>>>> that I access through Samba at restore time. >>>>>>>> >>>>>>>> Here is the result of the find command : >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> Maybe a lead : the original physical machine is equipped with >>>>>>>> IDE / ATA drives. Vmware presents a SCSI interface... Could it >>>>>>>> be the origin of the problem ? >>>>>>>> >>>>>>>> Matthieu >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Le 29-juin-09 à 17:03, Steven Shiau a écrit : >>>>>>>> >>>>>>>>> Matthieu, >>>>>>>>> >>>>>>>>> >>>>>>>>> Matthieu Gaillet wrote: >>>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I'm trying to restore a physical installation of Centos to a >>>>>>>>>> VMWare >>>>>>>>>> virtual machine. >>>>>>>>>> >>>>>>>>>> I received the dreaded "Running: >>>>>>>>>> grub-install-no-floppy-root-directory=/tmp/hd_img.QiFQFv /dev/sda >>>>>>>>>> grub-probe: error: Cannot open '/boot/grub/devise_map' >>>>>>>>>> /usr/sbin/grub-install: line 374: [: =: unary operator >>>>>>>>>> expected" error >>>>>>>>>> message. >>>>>>>>> This is a harmless error. Check this: >>>>>>>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513216 >>>>>>>>> >>>>>>>>> BTW, when you saved or restored the image, did you see any error >>>>>>>>> messages other than the above one ? >>>>>>>>> How about the image dir ? Could you please run: >>>>>>>>> find /home/partimag/$YOUR_IMAGE -print >>>>>>>>> (Replace $YOUR_IMAGE with your image name) >>>>>>>>> then post the results ? >>>>>>>>> >>>>>>>>> Steven. >>>>>>>>>> >>>>>>>>>> Anyhow, when I try to boot the machine, I received a Kernel >>>>>>>>>> Panic : >>>>>>>>>> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |