On 10/04/2016 03:49 AM, Philip Rhoades wrote:
On 2016-10-02 11:54, users-request@lists.fedoraproject.org wrote:
From: Samuel Sieb samuel@sieb.net Shouldn't be a problem. The only issue would be whether the installed OS has a driver for the emulated scsi drive.
Do you mean if the host OS has a driver ie F25?
No, the RH 5.2 OS. See below.
If you used the emulated IDE instead, you would need to mount the image (or drive) locally and edit the fstab to change the /dev/sd* entries to /dev/hd*.
Not sure why I would need to be emulating IDE . .
In case the emulated SCSI chipset isn't supported by the installed OS. See below.
OK, I am still at a loss as to how to proceed . . I had assumed that I would need to do a dd of the old SCSI drive with it's 6 partitions and create an image that I could move to my F25 workstation and from there work out how to load into virt-manager or something . .
Tom explained briefly, but I'll add some more details.
Yes, you should dd the entire drive to a file in /var/lib/libvirt/images/. Then in virt-manager, create a new VM using the "Import existing disk image" option and choose the file that you copied the drive to. When you get to step 4, check the customize button. In the list of VM parts, there will most likely be an "IDE Disk 1" or something similar. Click on it and open the advanced options section. With a recent Linux version, you would ideally use the virtio disk bus, but there wouldn't be support for that in RH5.2. The way it works is that the VM provides a virtual disk controller for the OS to use. But the OS has to have a driver for whichever chipset is being emulated. Virtio skips all that by providing direct access to the hypervisor and skipping all the emulation slowdown. I thought there were different chipset emulations you could choose, but it looks like from virt-manager, it only provides one for each bus type. Try the SCSI bus and hopefully it will be supported. It likely will be as the emulated devices tend to be commonly used chipsets.
Hopefully this helps you.