First thing to mention is that this is not the right forum for your questions. Anyway, to help you: yes, the grub bootloader is on a partition of the USB-DOM (at least on my Snology device 718+) yes, you can change the grub configuration. If you have only DSM as an operating system (could Debian be an option for you?) you probably must remove the device and attach it to a computer in order tby debi-718 - Debian
Here is the collection of essential patches: patches-syno-linux-5.10.158.zip sha256: 6d9bcda1efdb988c393ff95e8d674b3e4fd3fc57fa8242d7b31f641898360bba patches-syno-linux-5.10.158.zip These patches can be used to update the kernel or to port Debian to a different Synology model. One remark concerning the kernel config. The section for the Synology kernel configuration should not be changby debi-718 - Debian
Here comes the source code: syno-linux-5.10.158 sha256sum: 58ff98ee1a3aa83f4a6251f95c8b315567934bb365fc4a9c395de158fdd0966d syno-linux-5.10.158-doozan.zip I have built it tomorrow morning successfully on a Debian GNU/Linux 12 (bookworm) installation: mkdir ../syno-linux-5.10.158-modules mkdir ../syno-linux-5.10.158-kernel make menuconfig make -j1 make -j1 modules make -j1 Iby debi-718 - Debian
Here is a rootfs of debian release bullseye for DS718+: rootfs debian bullseye DS718+ sha256sum: e1905e7d0d1409c2169591e01356a9367412ba9f894360e868ebe16c8ebfa67a rootfs-bullseye-linux-5.10.158.tar.bz2 If you won't wait for the source code and start immediately with this binaries I would suggest the following procedure: Create a GPT partition table on an empty USB-3 stick Addby debi-718 - Debian
Added debian kernel modules (5.10.158) linux-5.10.158 kernel modules sha256sum: 3ecd320bf30dd2a233cf3a66552fff758f75f293eceb55017a67b865bebc22f8 modules-5.10.158-rt77+.tar.gz untar it into /usr/lib/modules of the root filesystem.by debi-718 - Debian
As a first step please checkout a tar file including my grub bootloader for DS718+ (grub bootloader debian DS718+) sha256sum: 6d0c8928dfc2cd490b7931d8eb419ab882e8be32922cc78b98917feddcc01be7 grub-ds718p-linux-5.10.158.tgz Untar it on a fat32-formatted USB stick partition and edit the grub.cfg ./EFI/BOOT/grub.cfg The root device must be specified. I created a root filesystem for deby debi-718 - Debian
Quoterayknight In my opinion if Synology is patching kernel code then their patches must be GPL, otherwise they're in violation of the kernel license. Yes I think you are right. I have found a good page for all this questions about GPL (FAQ gnu.org) So I will post code later here. Thank you.by debi-718 - Debian
The situation is a little bit different. Original source code from kernel.org is patched with code from Synology. For me it is unclear which copyright applies to this Synology code.by debi-718 - Debian
Let me reply to the recent posts here. First point is that whoever wants to write me a hidden message can do so with a private message using a tool of this forum. There is no need to disclose private email addresses. Next point license. Source code from kernel.org is published under GPL license. The kernel sources from Synology can be found here. The directory path where this archive is putby debi-718 - Debian
So I decided not to stay with Synology's 4.4.59+ but porting the important changes from there to (in my case) 5.10.158+. There is no advantage in sticking with the old kernel. Much of the hardware support from Synology for 4.4.59+ (LED, Fan) is hidden inside a device called "synobios" which is closed source. So we won't get these information from their published sources. Thereby debi-718 - Debian
Concerning the DS718+ I have got SATA drives recognized now for kernel 5.10.158. It turns out that the administration of these disks is partially controlled by Synology enhancements, power-on, standby, power-off ... The task is to port the code from kernel 4.4.59+ to the new kernel (in my case 5.10.158+). A couple of files are involved and the main task is to control GPIOs properly. I am notby debi-718 - Debian
@Radm, please open a separate thread for posts regarding DS415+. We must avoid confusion and help others to better find their information.by debi-718 - Debian
The stick should have a GPT partition table and an EFI partition containg the files. It's better not to modify the DOM files because they are using checksums.by debi-718 - Debian
I checked today on my DS718+, you can find BIOS informations with this commands # cat /sys/class/dmi/id/bios_version M.231 # cat /sys/class/dmi/id/bios_vendor INSYDE Corp. Also /var/log/messages can contain informations regarding BIOS.by debi-718 - Debian
And yes, removing the DOM should put focus on another usb boot device. If you prepare a usb stick - don't use the above mentioned scripts, it's much more easy with grub-install - this one should get selected. Usually the front port is enabled for booting, the ports on the back side not.by debi-718 - Debian
Two points I have for you. For reading the content of the USB-DOM it is not necessary to attach it to another box. You can start the Synology-OS and can usually find two devices under /dev/synoboot 1 and 2 which provide access to the dom partitions. Then dd these devices to a file, copy them to another box and mount them. Then you can see the content. But I think the most important step forby debi-718 - Debian
The really good news is that it is possible to build and run the latest 5.10 Debian kernel on DS718+ using latest gcc and binutils. No toolchain is required. I discovered this possibility only by chance when I started my last created kernel on the diskstation and noticed the first line of the terminal output similar to [ 0.000000] Linux version 5.10.158-rt77 (xxxx@naiad) (gcc (Debian 10.2by debi-718 - Debian
It took a long time to find time, energy and new ideas to start another attempt to run Debian on Synology DS718+. But now I was successful and Debian 11.6 is running. This is what I have done the last days: 1. mount problems during initial booting resolved bind- and move-mounts are disabled somewhere in Synology's 4.4.59+ kernel. They are used for mounting the target filesystem on theby debi-718 - Debian
For me the screen with the Synology boot entries looks fine. Probably your device has a different mainboard and a different bios which respond to a different key sequence for EFI bootmanager. Have you tried others like F2, F8, F12 e.g. when ESC is not working? Does the serial console display any hint during the early startup? Second point, have you prepared a USB stick which can be selected frby debi-718 - Debian
No, I gave up. Writing device tree files from scratch is very complicated and time consuming for me.by debi-718 - Debian
Today I checked out DSM 7 for DS718+. The kernel remains in the long-term line 4.4 and was upgraded from 4.4.59 (26-Mar-2017) to 4.4.180 (16-May-2019). The most recent published kernel for this line is however 4.4.282 from 27-Aug-2021. Perhaps I find a bit more time to work on this problem in September.by debi-718 - Debian
Synology recently released DSM 7. The sources are not yet published and I didn't try this new version. Other people say that Synology never upgrade the kernel for a specific model. It remains the same for the whole lifetime of the model. No upgrade, no security patches. This is another important reason to leave DSM. So far I could not find anything regarding device tree files for Synologyby debi-718 - Debian
Thank you very much for your help, bodhi. I have tried once again to install debian with debootstrap and used vmlinuz and initrd from this installation. The problem is that none of these default debian kernels run on the DS718+. The only usable kernel I've got so far comes from Syno's 4.4.59+ kernel sources compiled with their toolchain. I agree that the problems with my current setuby debi-718 - Debian
I would like to replace Synology's DSM with Debian on a DS718+ for various reasons. Not much can be found in the internet concerning this topic for this special model (Intel apollolake, x86_64) so I am trying to find a way my myself. First thing we need is a UART connection to the serial console of the device. When turning down the box so that power button and leds are on the lower sider,by debi-718 - Debian