Solved

Migrating an guest IDE FreeBSD Virtual Machine from Workstation to ESX guest Scsi VM

Posted on 2008-10-05
8
1,003 Views
Last Modified: 2013-11-22
We have a virtual machine that runs freebsd and uses IDE. It works fine on VMWARE Workstation.
We must move it to ESX server but it fails because ESX must have Scsi drivers.
We tried some solutions for the internet , but they have failed.
Any ideas on :
* Adding the scsi drivers to FreeBSD running VM ?
* Adding Scsi to a VMDK file ?

Other ideas ?
0
Comment
Question by:ophirk
  • 4
  • 4
8 Comments
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 22646049
Add SCSI to IDE virtual machine using e.g VMWare server 1.0.x
Do a dd copy of disks using emergency shell or openbsd floppy
Then change all occurences of ad to da in /etc/fstab
Boot off SCSI drive and get rid of IDE
Thats probably all you need.
0
 

Author Comment

by:ophirk
ID: 22657286
Well, the VM migration tool we used saved us the need for the disk copying. And I changed the fstab file to point to the new disks.

But now, I'm getting an error when trying  to mount the root fs. I get the mountroot prompt, and it refuses to mount my ufs:da0s1a disk. When I use the '?' command I only get the cdrom.

In the loader prompt, trying lsdev shows the disks. I can view the contents with more. But mountroot refuses to mount them.

I am very new to freeBSD, what am I missing?
0
 
LVL 61

Expert Comment

by:gheist
ID: 22657295
You missed disk copying.
0
 

Author Comment

by:ophirk
ID: 22657348
I also tried specifying the disk at the boot prompt as 0:da(1,a)/boot/loader, but that didn't change anything.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:ophirk
ID: 22657356
The migrated machine already has the SCSI disks, you mean I need to copy them again? Or are you suggesting to forget about the migration and do the copy independently altogether?

I'll give that a try.
0
 
LVL 61

Expert Comment

by:gheist
ID: 22657529
You have to copy IDE disks to SCSI disks 1:1 inside virtual machine.
0
 

Author Comment

by:ophirk
ID: 22657813
That did it. The migration tool originally used probably screwed something up.

Thanks!
0
 
LVL 61

Expert Comment

by:gheist
ID: 22667313
It just migrated empty new SCSI disk.... ;)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now