Install DSM 7 on BareMetal or VM based on Redpill

      98 Comments on Install DSM 7 on BareMetal or VM based on Redpill

User pocopico on https://xpenology.com/ made something cool to install DSM 7 on a baremetal or vm.He made an Image so you can build the loader on the server where you want to install and on the same USB device.. How awesome is that!!

 

tinycore-redpill

Remember, this is WORK IN PROGRESS!! This is a testing version. Do not use unless you are certain you have no data to lose.

Hi all,

A while ago I’ve started experimenting with a solution that would not require docker and/or a system running linux,

but just a simple image that you can boot on your physical/virtual system and create the loader from there.

I started with the plain disk image of 200MB size and tried to fit all in this image. As always first partition of the image is the synoboot1,

second synoboot2 and third one (synoboot3) is tinycore. Tinycore is a simple linux distribution that can boot to a GUI so you can start creating the loader. Most network modules are included so you can verify also the extensions required on your system.

A script will take care most of the actions that you would manually perform and just copy the loader contents to the 1st and 2nd partition.

Go to https://github.com/pocopico/tinycore-redpill and download the image from github.

Obviously you need the vmdk for virtual machine or any hypervisor and the other one for baremetal. Unpack the *.gz with winrar.

Get a empty usb stick and write the image with win32DiskImager to the stick. Setup your server to boot from USB.  When Tinycore boots it looks like this:

I really do not like navigating in tinycore so I will connect with ssh to do my stuff on tinycore.. Click on the terminal icon and type:

ifconfig

to get your IP.

In my case the IP is 192.168.0.243

Start up winscp and click on New Site:

Use the following credentials:

User: tc
Password: P@ssw0rd

After login u see something like this.

Here you can find the configs u need. U can fill them manually (vid/pid/mac/disks) or try to use the functions in the script. You can edit the files with winscp.  But first we need to update the script to the latest version.

Start up Putty click ctrl + p. A putty screen will open:

(ps. I think you need to edit the settings of winscp to add putty so you can use ctrl + p)

First check if there is an update of the script.

Type:

sudo ./rploader.sh update now

When that’s done you have the latest script version.  Now its time to edit the user_config.json

user_config.json

looks like this.

u can manually fill the correct values or try to use the auto function of the script.

sudo ./rploader.sh serialgen <model> now

eg: sudo ./rploader.sh serialgen DS3615xs now
sudo ./rploader.sh satamap now
sudo ./rploader.sh identifyusb now

Type:

sudo ./rploader.sh

To see the help of the script and the commands u can use.  I will not go in debt for all the commands because i do not need them.. But you can experiment with them just for fun.

Make sure you use the correct vid/pid/mac and disk settings. If you do not use the correct vid/pid dsm will not install. After generating all the values check the user_config.json before u run the build script. There are more commands that u can use but I do not need them so I won’t use them. Here is the help of the script.

Usage: ./rploader.sh <action> <platform version> <static or compile module> [extension manager arguments]

Actions: build, ext, download, clean, update, listmod, serialgen, identifyusb

- build:     Build the 💊 RedPill LKM and update the loader image for the specified

platform version and update current loader.

- ext:       Manage extensions, options go after platform (add/force_add/info/remove/update/cleanup/auto)

example:

rploader.sh ext apollolake-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-i                                                                                                                         ndex.json

or for auto detect use

rploader.sh ext apollolake-7.0.1-42218 auto

- download:  Download redpill sources only

- clean:     Removes all cached files and starts over

- update:    Checks github repo for latest version of rploader

- listmods:  Tries to figure out required extensions

- serialgen: Generates a serial number and mac address for the following platforms

DS3615xs DS3617xs DS916+ DS918+ DS920+ DVA3219 DVA3221

- identifyusb: Tries to identify your loader usb stick VID:PID and updates the user_config.json file

- satamap: Tries to identify your SataPortMap and DiskIdxMap values and updates the user_config.json file

- backup:   Backup and make changes /home/tc changed permanent to your loader disk

In my case I use:

sudo ./rploader.sh build bromolow-7.0.1-42218

looks like this:

after building is done, download the *.pat file with winscp.. navigate to /home/tc/redpill-load/cache/ and download (in my case) ds3615xs_42218.pat to your local machine.

Reboot your box (keep the usb in) and the new loader will start and you can install dsm or start tinycore again.

Start the find.synology.com in a web browser and look for your dsm 7 server. Upload the pat file that u downloaded and be happy with your DSM 7 (latest) version.

I just migrated 2 machines from DSM 6.1 and all my data is still there. Just a tip, all your python2 apps do not work anymore.. if you want you can use use docker for applications that do not work anymore.. (sickrage, couchpotato etc…)

98 thoughts on “Install DSM 7 on BareMetal or VM based on Redpill

  1. Maksim

    Hello! Can loader help to reset uer password?
    I disabled builtin admin account and forgot new user password)))
    Yes, it is funny, but i did((

    is there any way to reset pass or enable admin in xpenology?
    of course, i can reinstall, but there are lot of apps and datas…

    Reply
  2. Boujii

    Hello friends from Boujii,
    /mnt/sdb3/mydata/home/tc/config/DS3622xs+/config.json
    “pat_url”: “https://global.download.synology.com/download/DSM/release/7.1.1/42951/DSM_DS3622xs%2B_42951.pat”,
    403 There is an error while processing this request.

    The whole version of 7.1.142951 has been removed from the Synology download section. The only versions available for 7.1.1 are 7.1-42661 & 7.1.1-42962. Prior to that. version is 7.0.1-42218. Because the link is dead, the process fails because the default version is 7.1.142951. This would need to be redone to use either of the only two existing for version 7.1

    https://global.synologydownload.com/download/DSM/release/7.1/42661-1/DSM_DS3617xs_42661.pat
    https://global.synologydownload.com/download/DSM/release/7.1.1/42962-1/DSM_DS3617xs_42962.pat

    I wouldn’t be surprised if the majority of the issues are because of Synology’s redoing their download links at https://global.synologydownload.com/download

    Replacing the links for the correct .pat in the config file is easy enough. But the sha256 would have to be dealt with.

    Reply
  3. Rick Wohleber

    Sorry, I copy/pasted incorrectly – the command/result is this:
    —————–
    tc@box:~$ sudo ./rploader.sh build bromolow-7.0.1-42218
    Error : Platform not found
    rploader.sh

    Version : 0.9.3.0
    —————————————————————————————-
    Usage: ./rploader.sh [extension manager arguments]
    —————

    Reply
  4. Rick Wohleber

    Many thanks for this wonderful tutorial!

    I am trying to install on a Thecus 5550, and everything works great UNTIL I try to build bromolow, and I get a “Platform Not Found” error. I can’t seem to find anything appropriate on any google searches that addresses this. Any ideas?

    ———-
    tc@box:~$ sudo ./rploader.sh build bromolow-7.0.1-42218clear
    Error : Platform not found
    rploader.sh

    Version : 0.9.3.0
    —————————————————————————————-
    Usage: ./rploader.sh [extension manager arguments]
    ———–

    Reply
    1. John McKinney

      Did you ever figure this out? I have been fighting with the same issue for hours and can’t find anything.

      Thanks!

      Reply
  5. strohann

    Help please. Followed the instructions but everytime I try to sudo ./rploader.sh build broadwellnk-7.1.1-42951 it says Platform not found.

    Reply
  6. 123tommyd

    Very nice try pocopico!!!!!! cudosssssssss

    However here is my situation for a DS3617xs

    1.) After i went throuhg the process sucessfully my user_config file looks loke this:
    {
    “extra_cmdline”: {
    “pid”: “0x5678”,
    “vid”: “0xffff”,
    “sn”: “1230ODN015151”,
    “mac1”: “0011320D549E”,
    “SataPortMap”: “6”,
    “DiskIdxMap”: “00”
    },
    “synoinfo”: {
    “internalportcfg”: “0xffff”,
    “maxdisks”: “16”,
    “support_bde_internal_10g”: “no”,
    “support_disk_compatibility”: “no”,
    “support_memory_compatibility”: “no”
    },
    “ramdisk_copy”: {}

    2.) The build was with no errors.
    sudo ./rploader.sh build broadwell-7.1.0-42661

    3.) I used the find.synology web interface and i found my newlly created server
    I started the installation of the downloaded pat file ds3617xs_42661 from /home/tc/redpill-load/cache/
    The installation progresses up to 45% and then gives me an error
    ” Failed to install the file. The file is probably corrapted”
    4.) I even tried to install the synology’s pat file of DSM_DS3617xs_42661.pat
    Same error as above. That dies too on 45%
    What is going on?
    Any Ideas?

    Thanks
    Tom

    Reply
  7. 123tommyd

    Very nice try pocopico!!!!!! cudosssssssss

    However here is my situation for a DS3617xs

    1.) After i went throuhg the process sucessfully my user_config file looks loke this:
    {
    “extra_cmdline”: {
    “pid”: “0x5678”,
    “vid”: “0xffff”,
    “sn”: “1230ODN015151”,
    “mac1”: “0011320D549E”,
    “SataPortMap”: “6”,
    “DiskIdxMap”: “00”
    },
    “synoinfo”: {
    “internalportcfg”: “0xffff”,
    “maxdisks”: “16”,
    “support_bde_internal_10g”: “no”,
    “support_disk_compatibility”: “no”,
    “support_memory_compatibility”: “no”
    },
    “ramdisk_copy”: {}

    2.) The build was with no errors.
    sudo ./rploader.sh build broadwell-7.1.0-42661

    3.) I used the find.synology web interface and i found my newlly created server
    I started the installation of the downloaded pat file ds3617xs_42661 from /home/tc/redpill-load/cache/
    The installation progresses up to 45% and then gives me an error
    ” Failed to install the file. The file is probably corrapted”
    4.) I even tried to install the synology’s pat file of DSM_DS3617xs_42661.pat
    Same error as above. That dies too on 45%
    What is going on?
    Any Ideas?

    Thanks
    Tom

    Reply
  8. TOM

    This is the error i get when i build:
    Found Ethernet Interface : pciid 8086d00001539 Required Extension : igb
    Searching for matching extension for igb
    Found matching extension :
    “https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json”
    Found SATA Controller : pciid 1b21d00000612 Required Extension :
    No matching extension

    Any help

    Reply
  9. Ivoryard

    I’m trying to install this on a HP Microserver Gen 8 bare metal, intially for whatever reason I had problems just getting the BLOODY thing to boot the USB, so had a combination of updating the BIOS, trying refus to burn the UEFI image, diligently took mac address, and got PID/VID and used old serial number from when it was running 6.2 using Jun’s loader. I also ran the script to get the hdd info, but not sure if that is correct or not and not sure how to check.

    However I keep coming back to having the following error message once it’s built (before i get to install pat):

    Attempting boot from USB DriveKey (c:)
    error: symbol ‘grub_disk_native_sectors’ not found.

    any assistance appreciated.
    Entering rescue mode.
    grub rescue>

    Reply
    1. Robbert-Jan

      Anyone found a solution for this in the meantime?
      I am facing the same problem 🙁
      Thanks in advance

      RJ.

      Reply
  10. Jiri

    Building version v1000-7.1.0-42661stuck on error below. Have anybody an idea where is problem?
    THX

    [!] Failed to download https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/releases/ds1621p_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
    *** Process will exit ***
    [-] Failed to update recipe for pocopico.tg3 extension for platform ds1621p_42661. The script will terminate as you do not
    [-] have previously downloaded recipe which can be used if download fails. Try again later. If problem
    [-] persists contact the extension packer for support (displayed below)
    [#] ========================================== pocopico.tg3 ==========================================
    [#] Extension name: tg3
    [#] Description: Adds Broadcom Tigon3 ethernet driver Support
    [#] To get help visit:
    [#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/tg3
    [#] Software author: https://github.com/pocopico
    [#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json
    [#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
    [#] =======================================================================================
    [!] Cannot continue due to previous errors (see above)
    *** Process will exit ***
    [!] Failed to update all extensions for ds1621p_42661 platform – see errors above
    *** Process will exit ***
    FAILED : Loader creation failed check the output for any errors
    tc@box:~$

    Reply
  11. peikin

    Hi,

    Anyone with DSM 7.0.1 working in UNRAID latest version?

    I am stuck at starting kernel after create the build and reboot.

    Reply
  12. Andy

    Hi all,

    I follow all the steps but I was stuck when I try to boot the VM after I finish updating my Mac address… I said “Kerne is not a valid ELF file. — System halted” and the VM has disabled the CPU process. Has anyone got this case like mine? I am using VMWare Workstation 16 and tried on VM Fusion 12Pro, both gave me the same result. Please kindly help… Thanks a lot.

    Reply
  13. Andrea

    Thank U all guys! A little tricky but finally got the damn thing working. I was stuck in a loop after reboot in SA but after i realized i was compiling for broadwell instead of apollolake (always check cpu before compiling mine is a Intel Celeron N3060 Dual Core 1,6 GHz with 4gb ram and 250 ssd).

    Reply
  14. Filipe Monzato

    Hello, Will this project be compatible with DSM version 7.1 ???

    I thank you for your attention

    Reply
  15. Topn1512

    Hello, just a question: I managed to get dsm 7.0.1 update 3 working on Oracle VirtualBox for DS 3615xs. Now I want to update to dsm 7.1 for ds 3615xs. Does anybody have an idea how to get this working? Thanks

    Reply
  16. pvlier

    Installing on HP Microserver Gen8 with celeron G1610T cpu. I keep getting back to upload pat file screen. Please give instructions which type and build parameters to use.

    Reply
  17. Ryan Borg

    Im trying to do this on a bare metal dell r410.. tiny core loads but network eth0/eth1 are nto found just lo.. any suggestions?

    Reply
  18. Glenn Coleman

    Hi all, i followed these instructions to a tee on my HP N54L using image ds3615xs_42218.pat, and worked like a charm, i tried doing the same on my G8 following everything to a tee again and rebooting I selected the image using the ds3615xs_42218.pat image and it got to around 40% and filed saying the image was corrupt.

    i tried going downloading the using the ds3615xs_42218.pat image Update 3 image and had the same issue. Does anyone have any ideas?

    The only real difference in my experiences was that when the instructions tell you to navigate to /home/tc/redpill-load/cache/, this fold did not exists in both insidences so i just downloaded the image direct from Synology

    Reply
  19. Ugo

    Hi, i have an HP t510 and i followed all instructions but newtork card is not recognized. Can someone help me, please?

    Reply
  20. Doman

    I was having a problem with VirtualBox. After all the preparation process with Tiny Core Image Build the Synology Assistant did not see the new machine, which meant that there was a network connection problem, although connection worked just fine in Tiny Core Image Build mode.

    The problem was the network card. rploader.sh script recognized the NIC as e1000, but it was loading e1000e instead, either it was with build command:
    sudo ./rploader.sh build apollolake-7.0.1-42218

    or the auto extension command:
    sudo ./rploader.sh ext apollolake-7.0.1-42218 auto

    What solved the problem for me was to force adding the e1000 NIC extension manually with the command below:
    sudo ./rploader.sh ext apollolake-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json

    Reply
    1. Casper

      Hello,

      I’m trying also in virtual box.
      When do I need to add the e1000 nic extension? Before the build command or afterwards ?

      Thnx

      Reply
  21. javivanco

    I tried first with a brand new ssd disk (NUC J3355 Apollolake system) and everything was Ok, except that the PAT file was corrupt, but you can download it directly from Synology and works like a charm, no need to use the one in the USB stick

    But when I do exactly the same with my real production SSD, I can’t find anything with find.synology.com.

    It just does not work if the system disk has a previous 6.2.x DSM already installed. Is this normal?

    Reply
  22. Stev Austin

    I have successfully installed on MB Asrock N3700 8gb RAM and 4 disks connected to the motherboard, following the procedure step by step, only with the automatic function, without changing user.config.json
    From the web interface the system proposed me the migration, having passed from DS918+ to DS3615+, and in 10 minutes everything went perfectly: Sata, Ethernet, etc..
    Really valuable guide!

    Reply
  23. Greg

    Curious, will this also work for 6.2.4-25556 and it’s subsequent updates? Given some of the issues with Python, Plex, I think I’d rather stay on the 6.2.4* path for the time being, instead of DSM 7. Thank You

    Reply
  24. Michael Huck

    My network card is not recognized. My card is a “HP NC382i”.
    I saw that the card is supported on BSD with the bce (https://man.cx/bce(4)) driver.
    Is there a way to support this network card here under Redpill?

    Reply
  25. Gerd Janssen

    Try downloading the .pat from Synology.. I had the issue when i copied the .pat from the machine..

    Reply
  26. Jizar Stoffel

    You guys really don’t like reading things thru huh?

    you need to run :
    sudo ./rploader.sh ext apollolake-7.0.1-42218 auto
    to get all the extentions for the build.
    in my case… I got :
    Found SATA Controller : pciid 1b4bd00009215 Required Extension :
    No matching extension
    I have onboard SATA 4 port, added a PCI 4 port SATA and another PCI 8 port SATA cards, to have a total of 16 disks in my system. I found my PCI 4 port card, but no my 8port, its not supported at the moment.
    so I keep getting the drives error. even after changing my settings to:
    “SataPortMap”: “844”, or “484” or “448”
    “DiskIdxMap”: “000000”
    It works fine if I remove my 8Port card, and only run with the other two 4 ports.
    for now, im sticking to freenas until more support is available

    Reply
  27. teng

    i can’t get pass 55%-56% percent install 🙁
    baremetal on qnap
    i guess i will use 6.2.3 in the meantime

    Reply
    1. Chris

      This happened to me the first time too, I had to recreate the USB and noticed the VID and PID were for a different device. Once I corrected the VIP and PIC the install succeed without any further issues.

      Reply
  28. M

    Do any of these loaders work with AMD processors?. Have an old FX 8350 I want to repurpose but notice that the builds are all Intel core codenames.

    Thanks in advance

    Reply
    1. arip

      You can try V1000 platform, but that platform is Zen 1 based.
      I myself managed to run broadwellnk platform on Intel Atom D2701 (QNAP TS-269 Pro 2013).

      Reply
  29. Tim Myers

    Hi there. Thank you for this post. This and a couple of others really helped me to understand how to build this and put together a YouTube video and blog demonstrating how to build Xpenology on ESXi. I will share the link to the video here in case others find it helpful.
    https://youtu.be/3EI7nzlnbyk

    Reply
  30. scoops

    Hey Err0r,

    Many thx for your nice explaination!
    Everything is working fine and i can start DSM installer from USB but how do i get it in my VM6.7 environment that is running on my HP microserver.

    Best regards

    Reply
  31. Ed

    DSM 7 on optiplex 9020.
    Baremetal install redpill on USB stick.
    Followed above instructions but after first login to the nas I get “something went wrong” “error on hard drives (2,3,4,5,6) and SATA ports have also been disabled”
    Any idea where to look?

    Reply
  32. Brickrat

    DSM loader works. But it does not detect any hdd if I disable AHCI in bios wich ia normal. But when I enable it I get error that there is a problem with drive 3,4 and sata ports are not enabled.

    How do I fix this

    Reply
  33. Tun Tin

    I have another problem: If I put another External USB plug in along with the boot USB and restart the DSM 7. I get error file: ‘/zImage’ not found. If I unplug the External USB and just the boot USB alone. It boots just fine. I guess the loader doesn’t know where to find the boot image.

    Reply
  34. Tun Tin

    After upgrade from 6.2 to 7, my /etc.defaults/synoinfo.conf and /etc/synoinfo.conf files keep reset to default every time the system reboot. Any idea? – Thanks

    Reply
  35. Sam

    I’m able to get to the “Welcome! Set up your Synology….” screen, and install the pat, but after that is complete, I am looped back to that screen after the timer runs out.

    I also notice that my files are all back to the default configs after this is complete and the cached pat files are gone. What am I doing wrong?

    Reply
    1. Reaven Pralangga

      Just try another type, chose one of this DS3615xs DS3617xs DS916+ DS918+ DS920+ DVA3219 DVA3221

      And dont foget to download .pat file from server

      in this folder /home/tc/redpill-load/cache/
      For example if you install ds3615xs,
      there will be file ds3615xs_42218.pat

      Download it , then upload it when you set up the dms

      Reply
  36. jeff

    Hi,
    I bppted up using usb, it booted fine but none of my drives are detected are detected when I am going through the web initialization. Any ideas on how to fix this?

    Reply
  37. Rus

    Can anyone help me with my problem. I invite you to follow the instructions at the last moment ” sudo ./rploader.sh build apollolake-7.0.1-42218″ I get an error and, accordingly, nothing happens. My board is GIGABYTE GA-J3455N-D3H (rev. 1.0).

    tc@box:~$ sudo ./rploader.sh build apollolake-7.0.1-42218
    Loader source : https://github.com/jumkey/redpill-load.git Loader Branch : develop
    Redpill module source : https://github.com/RedPill-TTG/redpill-lkm.git : Redpill module branch : master
    Extensions :
    Extensions URL :
    TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download
    TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
    SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/apollolake-source/linux-4.4.x.txz/download
    SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
    COMPILE_METHOD : toolkit_dev
    TARGET_PLATFORM : apollolake
    TARGET_VERSION : 7.0.1
    TARGET_REVISION : 42218
    REDPILL_LKM_MAKE_TARGET : test-v7
    Checking Internet Access -> OK
    Checking if a newer version exists on the repo -> sha256sum: latestrploader.sh: No such file or directory
    There is a newer version of the script on the repo should we use that ? [yY/nN]N
    Cloning into ‘redpill-lkm’…
    fatal: unable to access ‘https://github.com/RedPill-TTG/redpill-lkm.git/’: SSL certificate problem: certificate is not yet valid
    Cloning into ‘redpill-load’…
    fatal: unable to access ‘https://github.com/jumkey/redpill-load.git/’: SSL certificate problem: certificate is not yet valid
    Using static compiled redpill extension
    Looking for redpill for : ds918p_42218
    modinfo: module ‘/lib/modules/5.10.3-tinycore64/redpill.ko’ not found
    cp: cannot stat ‘/home/tc/redpill.ko’: No such file or directory
    Got redpill-linux-v.ko
    Testing modules.alias.json -> File OK
    ————————————————————————————————
    It looks that you will need the following modules :

    Found VGA Controller : pciid 8086d00005a85 Required Extension : i915
    Searching for matching extension for i915
    Found SATA Controller : pciid 8086d00005ae3 Required Extension : ahci
    Searching for matching extension for ahci
    Found SATA Controller : pciid 1b21d00000612 Required Extension : ahci
    Searching for matching extension for ahci
    ./rploader.sh: line 1061: ./redpill-load/ext-manager.sh: No such file or directory
    Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169
    Searching for matching extension for r8169
    Found matching extension :
    “https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json”
    ./rploader.sh: line 1061: ./redpill-load/ext-manager.sh: No such file or directory
    Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169
    Searching for matching extension for r8169
    Found matching extension :
    “https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json”
    ————————————————————————————————
    Starting loader creation
    Checking user_config.json : Done
    tar: /home/tc/bsdiff.txz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    ln: failed to create symbolic link ‘/home/tc/redpill-load/user_config.json’: No such file or directory
    ./rploader.sh: line 713: cd: /home/tc/redpill-load: No such file or directory
    Cache directory OK
    sudo: ./build-loader.sh: command not found
    FAILED : Loader creation failed check the output for any errors
    tc@box:~$

    Reply
    1. Gerd Janssen

      i had the exact same issue.. then i saw that the clock of my box was running behind.. that means you can access it but the certificate is not valid.. so update your clock and start again..

      Reply
  38. Dsm7k

    Unable to build the lpader image, rploader.sh stops at “Creating loader image at loader.img…”

    Trying to install this on VMWare ESXi

    Reply
    1. tinus

      Add more memory to your VM.
      I had the same issue with 1GB ram.
      Raised it to 2GB and the process will finish.

      Reply
  39. Tronn Dyrstad

    I no longer am able to build the loader image. The rploader.sh script stops while “Creating loader image at loader.img…”
    Trying to install in VMware ESXi

    Reply
    1. Err0r Post author

      did you used:

      sudo ./rploader.sh etc…..

      Ive noticed without sudo, the creation of the image gets stuck

      Reply
  40. Johny T

    in order to add those values u need to boot again on thiny , connect with winSCP and edit that .json fiel from the root dir ?
    done that but still the same erro , and i start to think that there is other thing that i`m doing wrong. can u advise pls ?

    Reply
  41. thos

    mine seems to be blocked at boot … last msg showing is “decompressing Linux … parsing ELF… done. Booting the kernel .”
    i use a hp thin client … help ?

    Reply
    1. Err0r Post author

      Booting to kernel is normal output.. U need a serial console to check whatever comes next. (and we do not have that)

      Just use find.synology.com and youll see that your dsm is online.

      Reply
  42. CaCO3

    I tried to get it working with Virtual Box (without an USB drive). I seem to be able to configure it correctly with the scripts. When I reboot my virtual machine, I see 2 new entries in grub, one for USB, one for SATA.
    But which ever i boot, it gets stuck on “Booting the kernel.”.

    Has anybody a tip for me?

    Reply
    1. Err0r Post author

      Booting to kernel is normal output.. U need a serial console to check whatever comes next. (and we do not have that)

      Just use find.synology.com and youll see that your dsm is online.

      Reply
      1. Alexander

        I’ve got the same problem “Booting the kernel.” and nothing in find.synology.com. How can I check what is problem behind?

        Reply
      2. Dominik

        Hi Err0r

        I have the same problem like Alexander. I`ve got the same message, “booting the kernel” but i did not find the synology on find.synology.com or in the synology assistant program. i tried the uefi an the bios variant of the tinycore image. Can you help us to get the ds detected? or is there a entry in one of the xpenology forums? I did search for a solution but i did not find a solution so far…

        Thank you!

        Reply
  43. c00labah

    Having the same issue as @Dsm7k – the loader boots ok, but the PAT install fails at 55% with an error reporting that the file is corrupt.

    I’m installing on Esxi, so the VID/PID don’t seem to be required. I’m booting the loader with the SATA option.

    Anything I can do to address this?

    Reply
    1. N0Name

      The “trick” is that you have to convert the tinycore.vmdk from IDE to SATA using the following command on ESXi :

      vmkfstools -i tinycore-redpill.v0.4.4.vmdk -d zeroedthick redpill.vmdk

      After that use.the new vmdk file as SATA Drive (SATA Controller 0 – SATA Drive 0:0) to boot from. The first “Installing” SATA Device should be on SATA Controller 1 -> SATA 1:0)

      That worked for me.

      Reply
  44. Paul

    On microserver gen 8 Baremetal what config should i use.
    I end up in an install loop (reboots after install and still asking for install)

    Reply
  45. nemesis

    Hi my Gen8 is not found on the network with this loader is there something special?
    with 1.02b and 1.03b all is working great without driverpacks
    thank you

    Reply
    1. Err0r Post author

      Booting to kernel is normal output.. U need a serial console to check whatever comes next. (and we do not have that)

      Just use find.synology.com and youll see that your dsm is online.

      Reply
  46. eldi

    I have a problem after uploading .pat file and waiting for 10:00 min timer, it reloads and asks to upload a .pat file again. never ending cycle…

    Reply
  47. gio

    Hello
    thanks for your totorial, so far I’m runing DSM 7 ok on my test machine, but I’m trying to make it recognize my second sata drive, it can see first sata port and can install everytign on it fine, but when I go to add new pool it can’t see any other drives, on Bios it shows both HDD’s fine, (total 2 sata ports) but DSM can’t add it to the pool .
    I tryed:
    sataPortMap=2
    DiskIdxMap=00
    also
    sataPortMap=188
    DiskIdxMap=000108
    but none of them can detect second HDD.
    is this configuration maps how many sata ports are present on system? it points on which sata port to install or use as main?
    is there anything I missed during the insall?
    thanks

    Reply
  48. gio

    Hello
    thanks for your input, so far I’m runing DSM 7 ok on my test machine, but I’m trying to make it recognize my second sata drive, it can see first sata port and can install everytign on it fine, but when I go to add new pool it can’t see any other drives, on Bios it show both HDD’s fine, (total 2 sata ports) but DSM can’t add it to the pool . 
    I tryed:
    sataPortMap=2
    DiskIdxMap=00
    also 
    sataPortMap=2188
    DiskIdxMap=000108
    but none of them can detect second HDD.
    is this configuration maps how many sata ports are present on system? or it points on which sata port to install or use it as main hdd?
    is there anything I missed during the insall?
    thanks

    Reply
  49. sts

    tc@box:~$ sudo ./rploader.sh update now
    Checking Internet Access -> OK
    Checking if a newer version exists on the repo -> sha256sum: latestrploader.sh: No such file or directory
    There is a newer version of the script on the repo should we use that ? [yY/nN]y
    OK, updating, please re-run after updating
    cp: cannot stat ‘/home/tc/latestrploader.sh’: No such file or directory
    Updating tinycore loader with latest updates
    Backing up files to /mnt/sdb3//mydata.tgz
    Done.

    Reply
      1. keasee

        thanks a lot, Paul!

        HP Gen8 was initially set to any xx-xx-2019. …. changed the bios DATE & TIME … and bingo!

        bye keasee

        Reply
  50. myswe

    I have the same issue with the boot loader working but when I try to upload the .pat I get a corruption error.
    I had the tool itself update the USB PID / VID. Note I havbe a physical USB passed though to my Proxmox VM.
    Any pointers on what I am doing wrong?

    Reply
      1. CK

        After building using the line, it cannot base to the image. Based on the reference RS3617xs Bromolow, your command line using Broadwell. correct?

        Reply
  51. Dsm7k

    DSM loader boots ok, but when uploading .pat feil i keep getting an error telling me the file is probably defect?

    Reply
    1. Err0r Post author

      you need the correct values for your USB device.. The PID and the VID and add them in your user_config.json

      Reply
    2. Modo

      Try to boot up on SATA not from USB after the build.
      I was on Prox Mox and that fixed my case.

      Best Regards

      Reply
  52. idle

    Огромнейшее спасибо и низкий поклон за возможность наконец-то перейти на DSM 7 всем кто принимал участие в разработке загрузчика!
    Шикарное начало года!

    Many thanks and a low bow for the opportunity to finally switch to DSM 7 to everyone who took part in the development of the bootloader! A great start to the year!

    Reply

Leave a Reply to Casper Cancel reply

Your email address will not be published. Required fields are marked *

*