XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. hintalo68
    3. Posts
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Xen

      @olivierlambert

      I have tried this, but not work.

      root@sl1802:~# grub-install /dev/xvda
      Searching for GRUB installation directory ... found: /boot/grub
      WARNING: tempfile is deprecated; consider using mktemp instead.
      WARNING: tempfile is deprecated; consider using mktemp instead.
      The file /boot/grub/stage1 not read correctly.

      posted in Migrate to XCP-ng
      H
      hintalo68
    • RE: Xen

      @hintalo68

      Yes. It works, but I can not convert to HVM until I can not install grub, righ ?

      posted in Migrate to XCP-ng
      H
      hintalo68
    • RE: Xen

      @hintalo68

      I add extra parameter on advanced tab.
      PV args root=/dev/xvda ro

      The VM has started . Nice.
      Modified the fstab, and grub menu.lst with correct drive.
      After that I have tried install grub in to the bootloader. It was not success.
      I have got this.


      Searching for GRUB installation directory ... found: /boot/grub
      WARNING: tempfile is deprecated; consider using mktemp instead.
      WARNING: tempfile is deprecated; consider using mktemp instead.
      The file /boot/grub/stage1 not read correctly.

      Fdisk said that is not correct partition table.
      root@sl1802:~# fdisk /dev/xvda

      Welcome to fdisk (util-linux 2.36.1).
      Changes will remain in memory only, until you decide to write them.
      Be careful before using the write command.

      The device contains 'ext4' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.

      Device does not contain a recognized partition table.
      Created a new DOS disklabel with disk identifier 0x5df197a4.


      posted in Migrate to XCP-ng
      H
      hintalo68
    • RE: Xen

      @olivierlambert

      Hi

      In the original configuration the root disk is xvda2 and a swap xvda1.
      After the migration under xcp-ng has created two disks.
      xvda for the root and xvdb for the swap.
      Booting stop at this moment.

      Gave up waiting for root file system device. Common problems:

      • Boot args (cat /proc/cmdline)
        • Check rootdelay= (did the system wait long enough?)
      • Missing modules (cat /proc/modules; ls /dev)
        ALERT! /dev/xvda2 does not exist. Dropping to a shell!
        (initramfs) [ 249.512144] random: crng init done

      Do you have any id , how can solve this problem ?
      Thanks.

      posted in Migrate to XCP-ng
      H
      hintalo68
    • RE: Xen

      @olivierlambert

      Hi

      I use PVM guest, that run on LVM volume.

      Here is my xen.cfg file

      kernel = '/boot/vmlinuz-5.10.0-28-amd64'
      extra = 'elevator=noop'
      ramdisk = '/boot/initrd.img-5.10.0-28-amd64'

      vcpus = '1'
      memory = '4096'

      Disk device(s).

      Physical volumes

      root = '/dev/xvda2 ro'
      disk = [
      'phy:/dev/xenvol/sl2601,xvda2,w',
      'phy:/dev/xenvol/sl2601_swap,xvda1,w',
      ]

      posted in Migrate to XCP-ng
      H
      hintalo68
    • RE: Xen

      @olivierlambert
      Hi
      Yes, I have read, and tried. The import was successfully, but the new VM stop during the boot, and I got initram prompt.

      posted in Migrate to XCP-ng
      H
      hintalo68
    • Xen

      Hi Everybody

      I have some virtual machine on debian Xen server. The DomU machine disks defined on lvm volume. Are there any way to migrate these VM to xcp-ng ?
      I have find a script, but it didnt work for me.

      https://unix.stackexchange.com/questions/66142/xen-migrating-lvm-based-machines-from-xen-opensource-to-xen-cloud-platform

      Thank
      Zoltan

      posted in Migrate to XCP-ng
      H
      hintalo68