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
tblincAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
Hi

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
bgoeringCommented:
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
tblincAuthor Commented:
bgoering,

I also tried to make the image from only 1 disk. Same error.

Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
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
tblincAuthor Commented:
How can I break my mirror ? My server is still in production.
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
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
mccrackyCommented:
The problem is that both the grub menu.lst and the fstab are referencing the raid devices (/dev/md...) rather than the actual devices.  If you change those to point to the actual devices, it might work, but the superblock will still have the raid information there, so you may need to reset it, too.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tblincAuthor Commented:
thx
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.