Le 08/01/2016 09:17, Richard W.M. Jones a écrit :> On Thu, Jan 07, 2016 at 12:08:13PM +0100, Kevin C wrote: >> Hi list, >> >> What is the best method to migrate Hyper-V 2012 VM to oVirt/RHEV ? I >> made a v2v livecd, but it never load consoles and never launch p2v >> service (works well with BIOS VM or hardware, but G2 HyperV VM needs >> EFI to boot). >> >> I must add some packages on my system to build an EL7 (kmod-hfsplus >> from elrepo) and some other to boot on EFI : >> >> #boot EFI >> grub2 >> grub2-efi >> grub2-efi-modules >> grub2-tools >> efibootmgr >> shim >> hfsplus-tools > I don't know - virt-v2v hasn't really been tested at all on Hyper-V, > although it's on the to-do list. > > Rich. >I can now boot with a livecd generated with Fedora 23. v2v failed with this error : guestfsd: main_loop: proc 367 (rm_f) took 0.00 seconds^M libguestfs: trace: rm_f = 0 libguestfs: trace: rm_f "/var/lib/rpm/__db.003" guestfsd: main_loop: new request, len 0x44^M guestfsd: main_loop: proc 367 (rm_f) took 0.00 secondslibguestfs: trace: rm_f = 0 libguestfs: trace: is_file "/boot/efi/EFI/redhat/grub.cfg" "followsymlinks:true" ^M guestfsd: main_loop: new request, len 0x50^M guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/grub2/grub.cfg" "followsymlinks:true" guestfsd: main_loop: new request, len 0x44^M guestfsd: main_loop: proc 37 (is_file) took 0.00 secondslibguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/grub/menu.lst" "followsymlinks:true" ^M guestfsd: main_loop: new request, len 0x44^M guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/grub/grub.conf" "followsymlinks:true" guestfsd: main_loop: new request, len 0x44^M guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M libguestfs: trace: is_file = 0 virt-v2v: error: no grub1/grub-legacy or grub2 configuration file was found --- Kevin C
Le 08/01/2016 16:22, Kevin C a écrit :> > > Le 08/01/2016 09:17, Richard W.M. Jones a écrit : >> On Thu, Jan 07, 2016 at 12:08:13PM +0100, Kevin C wrote: >>> Hi list, >>> >>> What is the best method to migrate Hyper-V 2012 VM to oVirt/RHEV ? I >>> made a v2v livecd, but it never load consoles and never launch p2v >>> service (works well with BIOS VM or hardware, but G2 HyperV VM needs >>> EFI to boot). >>> >>> I must add some packages on my system to build an EL7 (kmod-hfsplus >>> from elrepo) and some other to boot on EFI : >>> >>> #boot EFI >>> grub2 >>> grub2-efi >>> grub2-efi-modules >>> grub2-tools >>> efibootmgr >>> shim >>> hfsplus-tools >> I don't know - virt-v2v hasn't really been tested at all on Hyper-V, >> although it's on the to-do list. >> >> Rich. >> > I can now boot with a livecd generated with Fedora 23. v2v failed > with this error : > > guestfsd: main_loop: proc 367 (rm_f) took 0.00 seconds^M > libguestfs: trace: rm_f = 0 > libguestfs: trace: rm_f "/var/lib/rpm/__db.003" > guestfsd: main_loop: new request, len 0x44^M > guestfsd: main_loop: proc 367 (rm_f) took 0.00 secondslibguestfs: > trace: rm_f = 0 > libguestfs: trace: is_file "/boot/efi/EFI/redhat/grub.cfg" > "followsymlinks:true" > ^M > guestfsd: main_loop: new request, len 0x50^M > guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M > libguestfs: trace: is_file = 0 > libguestfs: trace: is_file "/boot/grub2/grub.cfg" "followsymlinks:true" > guestfsd: main_loop: new request, len 0x44^M > guestfsd: main_loop: proc 37 (is_file) took 0.00 secondslibguestfs: > trace: is_file = 0 > libguestfs: trace: is_file "/boot/grub/menu.lst" "followsymlinks:true" > ^M > guestfsd: main_loop: new request, len 0x44^M > guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M > libguestfs: trace: is_file = 0 > libguestfs: trace: is_file "/boot/grub/grub.conf" "followsymlinks:true" > guestfsd: main_loop: new request, len 0x44^M > guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M > libguestfs: trace: is_file = 0 > virt-v2v: error: no grub1/grub-legacy or grub2 configuration file was > found > > --- > > Kevin C > >Here is the file : /boot/efi/EFI/centos/grub.cfg --- Kevin C> > _______________________________________________ > Libguestfs mailing list > Libguestfs@redhat.com > https://www.redhat.com/mailman/listinfo/libguestfs
On Fri, Jan 08, 2016 at 04:22:32PM +0100, Kevin C wrote:> virt-v2v: error: no grub1/grub-legacy or grub2 configuration file was foundWhat is the guest? Does it use grub? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
The guest is a CentOS 7.2, with grubs. Kevin C Envoyé depuis mon smartphone Samsung Galaxy.<div> </div><div> </div><!-- originalMessage --><div>-------- Message d'origine --------</div><div>De : "Richard W.M. Jones" <rjones@redhat.com> </div><div>Date : 08/01/2016 19:42 (GMT+01:00) </div><div>À : Kevin C <kevin@famillecousin.fr> </div><div>Cc : libguestfs@redhat.com </div><div>Objet : Re: [Libguestfs] Hyper-V v2v </div><div> </div>On Fri, Jan 08, 2016 at 04:22:32PM +0100, Kevin C wrote:> virt-v2v: error: no grub1/grub-legacy or grub2 configuration file was foundWhat is the guest? Does it use grub? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Maybe Matching Threads
- Re: Hyper-V v2v
- Re: [PATCH v6 1/1] v2v: bootloaders: search grub config for all distributions
- [PATCH v5 1/3] v2v: bootloaders: search grub config for all distributions
- Re: [PATCH v6 1/1] v2v: bootloaders: search grub config for all distributions
- Re: [PATCH v2] v2v: factor out bootloader handling