You are on page 1of 47

Install DSM 7 on BareMetal or VM based on Redpill


 Err0r  January 10, 2022  98 Comments

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 몭t all in this image. As
always 몭rst 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 stu몭 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 몭nd the con몭gs u need. U can 몭ll them manually (vid/pid/mac/disks) or try
to use the functions in the script. You can edit the 몭les with winscp. But 몭rst 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_con몭g.json

user_config.json

looks like this.


u can manually 몭ll 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_con몭g.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> [ext


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

‐ build: Build the RedPill LKM and update the loader image for the specif

platform version and update current loader.

‐ ext: Manage extensions, options go after platform (add/force_add/info/re

example:

rploader.sh ext apollolake‐7.0.1‐42218 add https://raw.githubusercontent.com/poc

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 platfor

DS3615xs DS3617xs DS916+ DS918+ DS920+ DVA3219 DVA3221

‐ identifyusb: Tries to identify your loader usb stick VID:PID and updates the u

‐ satamap: Tries to identify your SataPortMap and DiskIdxMap values and updates

‐ backup: Backup and make changes /home/tc changed permanent to your loader di

In my case I use:
sudo ./rploader.sh build bromolow‐7.0.1‐42218

looks like this:

after building is done, download the *.pat 몭le 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 몭nd.synology.com in a web browser and look for your dsm 7 server. Upload the
pat 몭le 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…)
25  Tell your friends  Tweet your friends  Google  Reddit  Pinterest
SHARES

 Tutorials  Bromolow, DS3615xs, DSM7, Install, Loader, TinyCore, XPEnology

 How to install Let’s Encrypt SSL


Certi몭cate on Xpenology

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

Maksim
March 10, 2023 at 18:38

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 ↓

Boujii
February 26, 2023 at 02:43

Hello friends from Boujii,


/mnt/sdb3/mydata/home/tc/con몭g/DS3622xs+/con몭g.json
“pat_url”:
“https://global.download.synology.com/download/DSM/release/7.1.1/42951/DSM_DS
3622xs%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 con몭g 몭le is easy enough. But the
sha256 would have to be dealt with.

Reply ↓

S M Anik Ahmed
January 8, 2023 at 07:11

I couldn’t 몭nd out my required motherboard boot loader (RS2416RP+) . Unable to


boot from this following instruction.

Please help

Reply ↓

Rick Wohleber
December 29, 2022 at 15:03

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 ↓

Rick Wohleber
December 29, 2022 at 15:00

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 몭nd 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 ↓

John McKinney
January 30, 2023 at 05:28

Did you ever 몭gure this out? I have been 몭ghting with the same issue for hours and
can’t 몭nd anything.

Thanks!

Reply ↓
Marco
November 30, 2022 at 16:13

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


github”
There is no Image !!!

Reply ↓

strohann
November 1, 2022 at 23:18

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 ↓

123tommyd
July 15, 2022 at 03:54

Very nice try pocopico!!!!!! cudosssssssss

However here is my situation for a DS3617xs

1.) After i went throuhg the process sucessfully my user_con몭g 몭le looks loke this:
{
“extra_cmdline”: {
“pid”: “0x5678”,
“vid”: “0x몭몭”,
“sn”: “1230ODN015151”,
“mac1”: “0011320D549E”,
“SataPortMap”: “6”,
“DiskIdxMap”: “00”
},
“synoinfo”: {
“internalportcfg”: “0x몭몭”,
“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 몭nd.synology web interface and i found my newlly created server
I started the installation of the downloaded pat 몭le ds3617xs_42661 from
/home/tc/redpill-load/cache/
The installation progresses up to 45% and then gives me an error
” Failed to install the 몭le. The 몭le is probably corrapted”
4.) I even tried to install the synology’s pat 몭le of DSM_DS3617xs_42661.pat
Same error as above. That dies too on 45%
What is going on?
Any Ideas?

Thanks
Tom

Reply ↓

123tommyd
July 15, 2022 at 03:53

Very nice try pocopico!!!!!! cudosssssssss

However here is my situation for a DS3617xs

1.) After i went throuhg the process sucessfully my user_con몭g 몭le looks loke this:
{
“extra_cmdline”: {
“pid”: “0x5678”,
“vid”: “0x몭몭”,
“sn”: “1230ODN015151”,
“mac1”: “0011320D549E”,
“SataPortMap”: “6”,
“DiskIdxMap”: “00”
},
“synoinfo”: {
“internalportcfg”: “0x몭몭”,
“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 몭nd.synology web interface and i found my newlly created server
I started the installation of the downloaded pat 몭le ds3617xs_42661 from
/home/tc/redpill-load/cache/
The installation progresses up to 45% and then gives me an error
” Failed to install the 몭le. The 몭le is probably corrapted”
4.) I even tried to install the synology’s pat 몭le of DSM_DS3617xs_42661.pat
Same error as above. That dies too on 45%
What is going on?
Any Ideas?

Thanks
Tom

Reply ↓

TOM
July 12, 2022 at 22:03

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 ↓

Ivoryard
June 30, 2022 at 09:03

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 ↓

Robbert-Jan
December 3, 2022 at 12:50

Anyone found a solution for this in the meantime?


I am facing the same problem
Thanks in advance

RJ.

Reply ↓

Jiri
June 24, 2022 at 11:25

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 ↓

peikin
June 22, 2022 at 17:13

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 ↓

Andy
June 5, 2022 at 16:34

Hi all,

I follow all the steps but I was stuck when I try to boot the VM after I 몭nish updating
my Mac address… I said “Kerne is not a valid ELF 몭le. — 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 ↓
CSM
June 4, 2022 at 12:26

Can I chang SN after the installation is successful?

Reply ↓

Andrea
May 14, 2022 at 20:17

Thank U all guys! A little tricky but 몭nally 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 ↓

Filipe Monzato
May 3, 2022 at 04:00

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

I thank you for your attention

Reply ↓

Topn1512
April 30, 2022 at 17:41

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 ↓
pvlier
April 21, 2022 at 19:44

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

Reply ↓

Ryan Borg
April 19, 2022 at 14:46

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 ↓

Glenn Coleman
April 17, 2022 at 02:46

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 몭led 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 di몭erence 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 ↓
Ugo
April 13, 2022 at 13:39

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

Reply ↓

Doman
April 7, 2022 at 17:05

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 몭ne
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 ↓

Casper
April 13, 2022 at 14:13

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 ↓

ronald
May 26, 2022 at 07:59

Did you make any speci몭c settings to get it to work in virtualbox?


Even after add https://raw.githubusercontent.com/pocopico/rp-
ext/master/e1000/rpext-index.json, i can’t 몭nd the instance with the synology
assistant

Reply ↓

javivanco
April 3, 2022 at 19:56

I tried 몭rst with a brand new ssd disk (NUC J3355 Apollolake system) and everything
was Ok, except that the PAT 몭le 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 몭nd anything
with 몭nd.synology.com.

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

Reply ↓

Stev Austin
March 29, 2022 at 14:37
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.con몭g.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 ↓

Greg
March 23, 2022 at 16:13

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 ↓

Michael Huck
March 22, 2022 at 19:40

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 ↓

Gerd Janssen
March 20, 2022 at 19:49

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

Reply ↓
Jizar Sto몭el
March 20, 2022 at 01:23

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 몭ne 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 ↓

teng
March 8, 2022 at 01:26

i can’t get pass 55%-56% percent install


baremetal on qnap
i guess i will use 6.2.3 in the meantime

Reply ↓

Chris
April 22, 2022 at 22:27
This happened to me the 몭rst time too, I had to recreate the USB and noticed the VID
and PID were for a di몭erent device. Once I corrected the VIP and PIC the install
succeed without any further issues.

Reply ↓

M
March 5, 2022 at 00:37

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 ↓

arip
March 16, 2022 at 10:41

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 ↓

zerolover
June 5, 2022 at 07:23

Can you shared the loader(img)? I also have a TS269, D2701

Reply ↓

Tim Myers
March 2, 2022 at 15:03
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 몭nd it helpful.
https://youtu.be/3EI7nzlnbyk

Reply ↓

scoops
February 28, 2022 at 16:25

Hey Err0r,

Many thx for your nice explaination!


Everything is working 몭ne 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 ↓

Ed
February 23, 2022 at 21:09

DSM 7 on optiplex 9020.


Baremetal install redpill on USB stick.
Followed above instructions but after 몭rst 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 ↓

Brickrat
February 23, 2022 at 06:16
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 몭x this

Reply ↓

ben
March 17, 2022 at 20:29

Could you 몭x this? I have tried building with every option and nothing any guidelines?

Regards

Reply ↓

asdasdf
March 23, 2022 at 21:28

in grub.cfg sataport=1 or 2 e.g. 몭zic how installed hdd

Reply ↓

Edi
February 21, 2022 at 23:32

This link is very useful to see based on your model/processor what package
architecture is the best for you to build with redpill: https://kb.synology.com/en-
me/DSM/tutorial/What_kind_of_CPU_does_my_NAS_have

Reply ↓

Tun Tin
February 21, 2022 at 19:35
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 몭le: ‘/zImage’ not found. If I unplug the External
USB and just the boot USB alone. It boots just 몭ne. I guess the loader doesn’t know
where to 몭nd the boot image.

Reply ↓

Tun Tin
February 21, 2022 at 02:26

After upgrade from 6.2 to 7, my /etc.defaults/synoinfo.conf and /etc/synoinfo.conf


몭les keep reset to default every time the system reboot. Any idea? – Thanks

Reply ↓

Alexander
February 19, 2022 at 22:25

Does it work with core quad cpu and p35 chipset?

Reply ↓

Elsaa
February 14, 2022 at 19:16

bulding OK, but all time i have no disk detect… i try many of use map disk and
nothing…;/ anyone ?

Reply ↓

Sam
February 11, 2022 at 06:06
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 몭les are all back to the default con몭gs after this is complete and
the cached pat 몭les are gone. What am I doing wrong?

Reply ↓

Reaven Pralangga
March 20, 2022 at 12:51

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

And dont foget to download .pat 몭le from server

in this folder /home/tc/redpill-load/cache/


For example if you install ds3615xs,
there will be 몭le ds3615xs_42218.pat

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

Reply ↓

je몭
February 6, 2022 at 19:54

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

Reply ↓

Rus
February 3, 2022 at 13:36
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/몭les/toolkit/DSM7.0/ds.apollolake-
7.0.dev.txz/download
TOOLKIT_SHA :
d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL :
https://sourceforge.net/projects/dsgpl/몭les/Synology%20NAS%20GPL%20Source/254
26branch/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 몭le 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 certi몭cate
problem: certi몭cate is not yet valid
Cloning into ‘redpill-load’…
fatal: unable to access ‘https://github.com/jumkey/redpill-load.git/’: SSL certi몭cate
problem: certi몭cate 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 몭le 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 몭le 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 몭le 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_con몭g.json : Done
tar: /home/tc/bsdi몭.txz: Cannot open: No such 몭le or directory
tar: Error is not recoverable: exiting now
ln: failed to create symbolic link ‘/home/tc/redpill-load/user_con몭g.json’: No such 몭le
or directory
./rploader.sh: line 713: cd: /home/tc/redpill-load: No such 몭le 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 ↓
Gerd Janssen
March 20, 2022 at 19:51

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 certi몭cate is not valid.. so update your clock and
start again..

Reply ↓

Dsm7k
January 30, 2022 at 12:44

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

Trying to install this on VMWare ESXi

Reply ↓

TCM
February 2, 2022 at 12:37

I have this exact issue…

Reply ↓

tinus
March 4, 2022 at 14:38

Add more memory to your VM.


I had the same issue with 1GB ram.
Raised it to 2GB and the process will 몭nish.

Reply ↓
Tronn Dyrstad
January 30, 2022 at 12:34

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 ↓

Err0r Post author

February 4, 2022 at 11:11

did you used:

sudo ./rploader.sh etc…..

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

Reply ↓

Johny T
January 29, 2022 at 19:01

in order to add those values u need to boot again on thiny , connect with winSCP and
edit that .json 몭el 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 ↓

thos
January 28, 2022 at 20:05

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 ↓

Err0r Post author

February 4, 2022 at 11:10

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

Just use 몭nd.synology.com and youll see that your dsm is online.

Reply ↓

bob
January 28, 2022 at 16:17

can you tell me how to migrate from 6.1 to 7.0 or is there a tutorial?

Reply ↓

CaCO3
January 27, 2022 at 23:07

I tried to get it working with Virtual Box (without an USB drive). I seem to be able to
con몭gure 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 ↓

Err0r Post author


February 4, 2022 at 11:01

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

Just use 몭nd.synology.com and youll see that your dsm is online.

Reply ↓

Alexander
February 20, 2022 at 10:55

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

Reply ↓

Dominik
March 18, 2022 at 12:50

Hi Err0r

I have the same problem like Alexander. I`ve got the same message, “booting the
kernel” but i did not 몭nd the synology on 몭nd.synology.com or in the synology
assistant program. i tried the ue몭 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 몭nd a solution so far…

Thank you!

Reply ↓

c00labah
January 25, 2022 at 23:19
Having the same issue as @Dsm7k – the loader boots ok, but the PAT install fails at
55% with an error reporting that the 몭le 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 ↓

N0Name
February 12, 2022 at 14:47

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 몭le as SATA Drive (SATA Controller 0 – SATA Drive 0:0) to
boot from. The 몭rst “Installing” SATA Device should be on SATA Controller 1 -> SATA
1:0)

That worked for me.

Reply ↓

Kampie8
February 26, 2022 at 10:45

I got the same issue. Do you have already a solution?

Reply ↓

Paul
January 25, 2022 at 22:46
On microserver gen 8 Baremetal what con몭g should i use.
I end up in an install loop (reboots after install and still asking for install)

Reply ↓

nemesis
January 23, 2022 at 20:00

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 ↓

blue-label1989
February 17, 2022 at 09:30

did you 몭nd your solution yet?

Reply ↓

Laktor
January 22, 2022 at 23:49

What should I do ? My motherboard can’t load legacy mod. asrock j4105-itx

Reply ↓

roy ziemerink
January 22, 2022 at 14:10

how to create DVA3221

Reply ↓
xpe
January 22, 2022 at 12:46

Doesn’t boot either from SATA or USB. Stuck at “Starting kernel with USB boot”. Intel
NUC 10iFNH

Reply ↓

Err0r Post author

February 4, 2022 at 11:02

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

Just use 몭nd.synology.com and youll see that your dsm is online.

Reply ↓

roy ziemerink
January 21, 2022 at 21:41

how t create DVA3221

Reply ↓

eldi
January 21, 2022 at 15:00

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

Reply ↓
Sam
February 11, 2022 at 05:55

I’m having this same issue. Did you ever 몭gure it out?

Reply ↓

gio
January 21, 2022 at 05:54

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 몭rst sata port and can install
everytign on it 몭ne, but when I go to add new pool it can’t see any other drives, on
Bios it shows both HDD’s 몭ne, (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 con몭guration 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 ↓

gio
January 21, 2022 at 04:09

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 몭rst sata port and can install
everytign on it 몭ne, but when I go to add new pool it can’t see any other drives, on
Bios it show both HDD’s 몭ne, (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 con몭guration 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 ↓

sts
January 20, 2022 at 13:30

“No such 몭le or directory”


but this is a mistake, how to solve it?

Reply ↓

sts
January 19, 2022 at 16:46

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 몭le 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 몭le or directory
Updating tinycore loader with latest updates
Backing up 몭les to /mnt/sdb3//mydata.tgz
Done.

Reply ↓

Paul
January 29, 2022 at 15:57

Check your date and time settings

Reply ↓

keasee
March 21, 2022 at 23:10

thanks a lot, Paul!

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

bye keasee

Reply ↓

Glupikocz
January 15, 2022 at 19:07

Yes

Reply ↓

myswe
January 14, 2022 at 23:49

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 ↓

Err0r Post author

February 4, 2022 at 11:08

i dunno for proxmox or any virtual hyper visor.. But when the pat upload fails its
always VID/PID troubles..

i would check: https://xpenology.com/forum/topic/53817-redpill-tinycore-loader

I saw some posts how to install in proxmox..

Reply ↓

sts
January 14, 2022 at 19:34

does it support old Intel gen 4 computers?

Reply ↓

keasee
January 15, 2022 at 08:30

yes, I’ve done it with Intel G2

Reply ↓

pantau
January 14, 2022 at 07:12
HowTo build the Loader for DS3617xs ?

Reply ↓

ALEX
January 17, 2022 at 21:09

./rploader.sh build broadwell-7.0.1-42218 static

Reply ↓

CK
March 8, 2022 at 03:18

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

Reply ↓

Dsm7k
January 12, 2022 at 18:53

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

Reply ↓

Err0r Post author

January 12, 2022 at 22:20

you need the correct values for your USB device.. The PID and the VID and add them
in your user_con몭g.json
Reply ↓

Modo
January 24, 2022 at 18:38

Try to boot up on SATA not from USB after the build.


I was on Prox Mox and that 몭xed my case.

Best Regards

Reply ↓

idle
January 11, 2022 at 00:33

Огромнейшее спасибо и низкий поклон за возможность наконец-то перейти на


DSM 7 всем кто принимал участие в разработке загрузчика!
Шикарное начало года!

Many thanks and a low bow for the opportunity to 몭nally 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

Your email address will not be published. Required 몭elds are marked *

COMMENT *
NAME *

EMAIL *

WEBSITE

SAVE MY NAME, EMAIL, AND WEBSITE IN THIS BROWSER FOR THE NEXT TIME I COMMENT.

CAPTCHA CODE
*

POST COMMENT

 NAVIGATION

Welcome

News

Tutorials

Downloads

Forum

 CATEGORY
News (4)

Tutorials (17)

 RECENT POSTS

How to install Let’s Encrypt SSL Certi몭cate on Xpenology

Install Xpenology DSM 6.1.x on Proxmox

Quicknick is BACK!! And in the make of releasing a new loader soon!!

How to Create Ubuntu Live USB in Windows

Setup XPEnology DSM 6.1 on VMware Workstation 12

 ARCHIVES

January 2022

July 2018

May 2018

February 2018

August 2017
June 2017

May 2017

December 2016

November 2016

May 2016

XPEnology.club 2017

You might also like