Hard Drive from Physical Server to Proxmox VM

Discussion in 'Proxmox VE: Installation and configuration' started by ChadRT, Apr 7, 2019.

  1. ChadRT

    ChadRT New Member

    Joined:
    Aug 18, 2018
    Messages:
    3
    Likes Received:
    0
    I have a hard drive from a physical server that I have shutdown. This is a 1TB drive that contains a working webserver. I would like to insert this into my VM system and use it as the sole hard drive for a VM.

    Proxmox Environment:
    Dell R510 with 8 drive bays
    24GB Ram
    2x Intel Xeon Quad Core Processors

    How can I add this to a drive bay and use it and all its files/OS etc in a Proxmox VM instance?
     
  2. JBB

    JBB Member

    Joined:
    Jan 23, 2015
    Messages:
    94
    Likes Received:
    1
    Do you want to virtualize and run the machine as VM guest? If so you can do that using Clonezilla. You can also give the machine's physical drive to be seen by a guest like this (on the host):

    Code:
    qm set <id of your VM> -virtio<n> /dev/<physical drive>
    To virtualise the machine, boot it using Clonezilla and make a image of it to an external drive. Create a VM in Proxmox and give that the external drive (with the Clonezilla image on it) to Proxmox using “qm set <id> -virtio1 /dev/<drive>”. Boot that VM from a Clonezilla ISO and restore from the external drive. In Clonezilla, choose manual mounting of disk to /home/partimag and restore.

    When you reboot, you should now have your old physical machine existing inside a virtual world. Like in Tron.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice