Jump to content
XPEnology Community

Help installing DSM 7.x with TCRP Loader using Synology VMM


DonDowner

Recommended Posts

I need to install a fully functioning version of DSM (not the Virtual DSM available from Synology). Long story, but in short I need to restore an "Entire System" Hyper Backup from my RS1221+ in order to go through the postgres database of that backup. The Virtual DSM available from Synology does not allow to restore "Entire System".

 

Through trial and error, I've been able to get close. I create a new vm in Synology VMM by importing the TCRP vmdk image and adding 3 more sata drives. The process breaks during the DSM Installation.

 

Here below is a summary of the VM I create:

 

Import a virtual machine
Summary
Item					Value
Storage					HDD VM Storage
Name					vdsm5
CPU(s)					4
Memory					8 GB
Video Card				vga
CPU Relative Weight			Normal
Description				-
Enable CPU compatibility mode		Disabled
Reserved CPU Threads			-
Virtual Disk 1				10 GB (SATA)
Virtual Disk 2				100 GB (SATA)
Virtual Disk 3				200 GB (SATA)
Virtual Disk 4				300 GB (SATA)
Auto Switch				Disabled
Network					Default VM Network (e1000)
Autostart				No
Keyboard Layout				Default
Virtual USB Controller			Disabled
Firmware				Legacy BIOS
ISO File				Unmounted, Unmounted
Users with permissions			-
Groups with permissions			administrators

 

I boot up the VM and ssh into TinyCore, then do the following:

 

sudo ./rploader.sh update
sudo ./rploader.sh fullupgrade
sudo ./rploader.sh serialgen DS1621+ realmac
sudo ./rploader.sh satamap
sudo vi user_config.json  <-- here I change the model and the version
sudo ./rploader.sh listmods ds1621p-7.1.1-42962
sudo ./rploader.sh ext ds1621p-7.1.1-42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
sudo ./rploader.sh ext ds1621p-7.1.1-42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/v9fs/rpext-index.json
sudo ./rploader.sh build ds1621p-7.1.1-42962
sudo ./rploader.sh backup
sudo vi user_config.json <-- just to make sure everything looks good
sudo exitcheck.sh reboot

 

During the above steps, when I do 'sudo ./rploader.sh satamap', I get a warning saying "Other drives are connected that will not be accessible!":

 

tc@box:~$ sudo ./rploader.sh satamap
Machine is VIRTUAL Hypervisor=KVM

Found "00:1a.0 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
Detected 6 ports/4 drives. Mapping SATABOOT drive after maxdisks
WARNING: Other drives are connected that will not be accessible!

Computed settings:
SataPortMap=1
DiskIdxMap=10

Should i update the user_config.json with these values ? [Yy/Nn] y
Done.
tc@box:~$ 

 

Here is what my user_config.json looks like. I changed the hashes, sn, and mac1.

 

{
  "general": {
    "model": "DS1621+",
    "version": "7.1.1-42962",
    "smallfixnumber": "0",
    "zimghash": "XXXXXXX",
    "rdhash": "XXXXXXX",
    "usb_line": "earlyprintk syno_hw_version=DS1621+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 mac1=1234567890 sn=1234567890 SMBusHddDynamicPower=
    "sata_line": "earlyprintk syno_hw_version=DS1621+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 mac1=1234567890 sn=1234567890 S
    "redpillmake": "prod",
    "friendautoupd": "true",
    "staticboot": "false",
    "hidesensitive": "false"
  },
  "ipsettings": {
    "ipset": "",
    "ipaddr": "",
    "ipgw": "",
    "ipdns": "",
    "ipproxy": ""
  },
  "extra_cmdline": {
    "pid": "0xa4a5",
    "vid": "0x0525",
    "sn": "1234567890",
    "mac1": "1234567890",
    "netif_num": "1",
    "SataPortMap": "1",
    "DiskIdxMap": "10"
  },
  "synoinfo": {
    "internalportcfg": "0xffff",
    "maxdisks": "16",
    "support_bde_internal_10g": "no",
    "support_disk_compatibility": "no",
    "support_memory_compatibility": "no",
    "maxlanport": "8",
    "netif_seq": "0 1 2 3 4 5 6 7"
  },
  "ramdisk_copy": {}
}

 

After I boot up, I select the 'RedPill DS1621+ 7.7.1-42962 (SATA, Verbose)' option.

 

image.thumb.png.478b9ed3b4dde2bd98d9589fce23dc33.png

 

After this I go to https://find.synology.com/ and select the one that shows the IP address of the vm, accept the EULA, then I get the Synology NAS Welcome Screen, I click Install, then it asks me to Manually upload a .pat file from my computer, which I do as shown below. The file is downloaded from https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS1621%2B_42962.pat

 

image.thumb.png.4963ab57571bf1a9b6c3f14e13dfc271.png

 

When I click next, I get the following screen, showing the VM is recognizing all 4 drives:

 

image.thumb.png.a9d79c5230d2a5670f0a4f8e3959939d.png

 

If I click the checkbox and continue, the installation begins, but it fails at around 56% and I get the following message saying the file is probably corrupted. I tried doing this whole same process with DSM 7.2 and got the same message with that different file. I doubt it's the file.

 

image.thumb.png.18e5d9cc90c6b1f9b6c6fe2c309d8db4.png

 

After I click OK, it takes me back to the screen where it asks to manually upload .pat file from my computer. When I do that, however, there is a small change from before: It seems it's only recognizing 1 drive, not 4 like the previous attempt, as shown here:

 

image.thumb.png.e3c78011a0d66945748fb74a92b8dcfc.png

 

After clicking the checkbox and continue, the process fails once again at the same point and I get the same Fail screen:

 

image.thumb.png.09602ccf468b1bee0bc5900d3cc3f0ef.png

 

If I force reboot the VM, it doesn't boot up.

 

What am I doing wrong? What do I need to do in order to go through with the installation properly?

 

Thank you.

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...