Debian on Synology RS814+
March 11, 2024 03:35AM
Hey,
I'd like to run Debian on my Synology RS814+. I found this manual which describes how to install Debian on Synology:

https://wiki.debian.org/InstallingDebianOn/Synology

This tutorial seems to be based on this post:

https://forum.doozan.com/read.php?2,32146

problem is: The tutorials are written for Marvell Armada 385 CPUs. My RS814+ uses an Intel Atom D2700.

Is it still possible?
Re: Debian on Synology RS814+
March 11, 2024 02:04PM
tillewolle,

> https://wiki.debian.org/InstallingDebianOn/Synology

> problem is: The tutorials are written for Marvell
> Armada 385 CPUs. My RS814+ uses an Intel Atom
> D2700.
>

Correct, that tutorial can not be used for this RS814+. We don't have tutorial for Intel boxes. There is one working thread that might be of interest to you:

https://forum.doozan.com/read.php?2,123734

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology RS814+
March 14, 2024 05:10AM
bodhi Wrote:

> Correct, that tutorial can not be used for this
> RS814+. We don't have tutorial for Intel boxes.
> There is one working thread that might be of
> interest to you:
>
> https://forum.doozan.com/read.php?2,123734

Thanks! Will have a look at this thread! my RS814+ has a console port. Will this work for UART?

I also found this tutorial in German and tried to follow it along.
First I factory resetted the RS814+ and installed the "latest" Version: 7.1.1-42962 Update 6 from 2023-06-05.
Then I created a user with admin privileges.

Then I managed to use debootstrap on a ubuntu system to install a amd64 bookworm debian to a subdirectory and compress it to a .tar.gz [step 1]

sudo debootstrap --arch=amd64 bookworm debian "https://ftp.debian.org/debian";
(I needed to use sudo...)
tar -czf debian.tar.gz debian

I formatted a hard drive, created a pool with a volume and theoretically I would be able to transfer files to the RS814+. I enabled ssh and rsync on the RS814+ via the settings in DSM. This didn't help me to transfer files to the RS814+. So I enabled NFS and uploaded the debian.tar.gz to the volume via NFS from the ubuntu system.

I tried to go further with [step 2]

gunzip debian.tar.gz
worked flawless.

tar -xvf debian.tar
didn't. It errored out telling me that it was not able to extract all files. Why? No idea.
Most of the files were getting unpacked to the folder 'debian'.

cd debian
was obviously successful.

[step 3] tells to use
mount -t proc none ./proc
This errors out, because it requires 'sudo'. When I use sudo, my user is changed to root and I am not in the same folder anymore. Also I am not able to find the volume

[step 4]
chroot ./ /bin/bash
works out fine.

[step 5]
/debootstrap/debootstrap --second-stage

fails. It tells something about no or wrong arguments but I am citing this from my head. Will need to check that out when I'm back at the place where I have access to the machine.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: