Jump to content
XPEnology Community

Tony Kerala

Rookie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Tony Kerala

  1. I was successful in installing a working synology on proxmox after fiddling with a lot of settings.

    **************************

    Proxmox Version: 6.2-4
    Jun's Loader version: 1.03b DS3615
    DSM: DS3615xs 6.2.1-23824 Update 6
    ****************************

    synoboot modification and serial number generation as per guide from here 

    https://xpenology.com/forum/topic/7973-tutorial-installmigrate-dsm-52-to-61x-juns-loader/

    use step 4 only and you need to generate and add serial number and mac address only in the image. You can discard all other instructions.

     

    *****Proxmox Pactching****

    ssh into the proxmox and make the following changes.

    # make backup
    cp /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/js/pvemanagerlib.js.dist
    # add e1000e
    sed -i 's/|e1000|/|e1000|e1000e|/' /usr/share/pve-manager/js/pvemanagerlib.js
    sed -i "/\['e1000', 'Intel E1000'\],/a \      ['e1000e', 'Intel e1000e']," /usr/share/pve-manager/js/pvemanagerlib.js
    # backup updated script
    cp /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/js/pvemanagerlib.js.e1000e

    # make backup
    cp /usr/share/perl5/PVE/QemuServer.pm /usr/share/perl5/PVE/QemuServer.pm.dist
    # add e1000e
    sed -i "s/'e1000',  'pcnet'/'e1000', 'e1000e', 'pcnet'/" /usr/share/perl5/PVE/QemuServer.pm
    # backup updated script
    cp /usr/share/perl5/PVE/QemuServer.pm /usr/share/perl5/PVE/QemuServer.pm.e1000e

    # make changes take effect
    service pveproxy restart
    service pvedaemon restart


    **********************************
    After the above changes logout, close the browser and login again to proxmox otherwise network card e1000e will not be seen. (Browser cache issue).
    **********************************

    Create VM with following parameters

    General : 
        Name : Synology  (any name can be given)
        Please note the VMID, you need it in below steps.
    OS :
        OS   : Do not use any media
        Type : Linux
        Version: 5.X - 2.6 Kernel
        
    System :
        SCSI Controller : MagaRAID SAS 8708EM2

    Hardisk :
        Bus/Device : SATA  1 (important to set to SATA 1)
        Storage : Select the storage domain you have in proxmox
        Disk Size: What ever you need in diskstation

    CPU :
        Socket : 1 As per your need
        Cores : 4 as per need
        Type: Default (kvm64)

    Memory : 2000 As per need

    Network : 
        Model : intel e1000e  (This will only come after tweaking proxmox)
        Disable firewall
        Set mac address as per synoboot modification
        
    After saving of machine go to

        Hardware > Machine > Select q35

    Transfer the synoboot image to /var/lib/vz/images/<VMID>/    (<VMID> number noted above)

     

    Open Putty and execute the following command

     

    qm importdisk <VMID> /var/lib/vz/images/<VMID>/synoboot.img VM_and_ISO  (change parameters as per your setup, I have VMID as 102 and VM_and_ISO is my storage domain for VM's)

    qm set <VMID> -serial0 socket   (To add a serial port)

     

    The newly imported disk still appears as Unused Disk 0 in the hardware settings, double-click and add as SATA Disk 0

     

    SATA Disk 0 as boot device


    Now boot the machine and use synology assistant to find your machine and continue the setup.

    *** To view terminal messages use putty with command  qm terminal <VMID>  *******

×
×
  • Create New...