tblinc
asked on
Moving Archlinux with software raid1 to VMware
Greetings, I have a linux box with Archlinux 2.6 X86_64. This box have two HDD configured with software raid1 (mdadm).
I want to transfert this server to my Vmware server. I have tried to convert this machine using and acronis image with vmware converter. I also tried to restor manually the image created with Acronis.
For your information, I created the Acronis image using both linux hdd.
I have the following error when I boot my virtualized archlinux.
:: Loading root filesystem module...stdin: error 0
Wainting for devices to settle...done.
:: Initramfs Completed - control passing to kinit
IP-Config: no devices to configure
Waiting 0 s before mounting root device...
md: Will configure md0 (super-block) from /dev/sda1,/dev/sdb1, below.
kinit: Unable to mount root fs on device md0(9,0)
kinit: init not found
Kernel panic - not syncing: Attempted to kill init!
I've attache my original menu.lst, fdisk -l and fstab. If you want something else, let me know thank you
fdisk.txt
Original-menu.lst.txt
Original-FStab.txt
I want to transfert this server to my Vmware server. I have tried to convert this machine using and acronis image with vmware converter. I also tried to restor manually the image created with Acronis.
For your information, I created the Acronis image using both linux hdd.
I have the following error when I boot my virtualized archlinux.
:: Loading root filesystem module...stdin: error 0
Wainting for devices to settle...done.
:: Initramfs Completed - control passing to kinit
IP-Config: no devices to configure
Waiting 0 s before mounting root device...
md: Will configure md0 (super-block) from /dev/sda1,/dev/sdb1, below.
kinit: Unable to mount root fs on device md0(9,0)
kinit: init not found
Kernel panic - not syncing: Attempted to kill init!
I've attache my original menu.lst, fdisk -l and fstab. If you want something else, let me know thank you
fdisk.txt
Original-menu.lst.txt
Original-FStab.txt
I also don't have experience with archlinux - but in general I have always broken the mirror for any Windows boxes and disconnected the 2nd drive prior to doing a P2V.
Good Luck
Good Luck
ASKER
bgoering,
I also tried to make the image from only 1 disk. Same error.
I also tried to make the image from only 1 disk. Same error.
Hi
Regarding the error dont think the problem is the mirror, but the boot on the vm.
But is true that must break the mirror befor any P2V
Jail
Regarding the error dont think the problem is the mirror, but the boot on the vm.
But is true that must break the mirror befor any P2V
Jail
ASKER
How can I break my mirror ? My server is still in production.
Hi
This is for Ubuntu.
http://ubuntuforums.org/showthread.php?t=394281
But the process is the same. After disabling try the P2V
PS: Did you test my first answer on that VM?
Jail
This is for Ubuntu.
http://ubuntuforums.org/showthread.php?t=394281
But the process is the same. After disabling try the P2V
PS: Did you test my first answer on that VM?
Jail
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thx
I don't know this Archlinux 2.6 X86_64, but when converting a Linux machine the boot don't work, bootloader cannot find the main Linux
First change the SCSI controller to LSI Logic.
For RredHat or Fedora the tasks is this:
Insert CD1 from RH/Fedora
After Boot the VM with the RH CD1 and choose to Linux rescue
Then at the prompt enter chroot /mnt/sysimage
Move to boot partition – cd /boot
Check partition contents by using the ls, if you see your /boot content then rebuild the ramdisk installer
Then: mkinitrd –v –f initrdxxxx.img xxxxx the last xxx are your Kernel version
Same times mkinitrd can be difficult to recreate, type the right initrd img and the right Kernel Version
This will put the boot disk bootable.
Now just try to use this tasks, but using Archlinux 2.6 X86_64. I dont know if the commands are the same, or even that the Install CD have a Linux Rescue. Since this is a Linux, I think there is and the tasks are similar.
Hope this can help
Jail