Re: restore(8)ing new / -- boots on metal but not in a VM



On 10/12/09, Alex Jurkiewicz <alex@xxxxxxxxxxxxxxxxx> wrote:
2009/10/13 Tim Judd <tajudd@xxxxxxxxx>:
Is the virtual machine using SCSI emulation to boot, or is it using IDE?

SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)]


The dump was taken from an ad0 device on physical hardware, and I'm
attempting to restore to the same, just on virtual hardware.

If the boot blocks (maybe boot0 specific) point to an ad/ata device,
and the virtual machine is SCSI, it won't find the boot sectors.

So, if I make a dumpfile of / on an ad(4) device, I can't restore it
to a da(4) device and expect it to boot? I guess at minimum I'll need
two copies of this image if I want to roll it out on machines with
both sorts of drive, right?

Thanks,
AJ



That's part of my point, I don't run with boot0, so it may be one of
it's features.


My suggestion is to check the VM config and see if you can emulate an
IDE ad(4) device instead of the possible SCSI da(4) device that
vmware/virtualbox may setup. I'm almost positive (not 100% because I
don't have either one of those installed at the moment) that both
those products default to a SCSI device.


Let us know.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: restore(8)ing new / -- boots on metal but not in a VM
    ... The dump was taken from an ad0 device on physical hardware, ... attempting to restore to the same, just on virtual hardware. ... and the virtual machine is SCSI, it won't find the boot sectors. ... So, if I make a dumpfile of / on an addevice, I can't restore it ...
    (freebsd-questions)
  • Re: ISA 2000 Restore (via Virtual PC 2004)
    ... Unfortunately backups of ISA 2000 are closely tied to the original ... perform a full backup, including System State, of the original server as it ... and restore it on top of your current Virtual PC guest (the ... onto the virtual machine, which will actually look to ISA like the original ...
    (microsoft.public.isaserver)
  • Re: ISA 2000 Restore (via Virtual PC 2004)
    ... that server when deleting them.. ... > entire configuration, as per your needs. ... and restore it on top of your current Virtual PC guest (the ... > onto the virtual machine, which will actually look to ISA like the original ...
    (microsoft.public.isaserver)
  • Re: Cloning Windows 2003 servers
    ... Would that work to restore in a virtual machine? ... Microsoft MVP: Windows Server ... The target servers are identical. ...
    (microsoft.public.windows.server.general)
  • Re: Installing SQL server and restoring a DB on a virtual machine
    ... A restore will restore to the original state of the db at the backup time. ... you will need enough disk space to hold the original size. ... am ready to move everything over to my virtual machine. ...
    (microsoft.public.sqlserver.setup)