Jump to content
XPEnology Community

TinyCore RedPill Loader Build Support Tool ( M-Shell )


Peter Suh

Recommended Posts

[NOTICE]

 

v1.0.0.5 Add offline loader build function

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.5

 

[ Mount the third USB partition in Linux-Ubuntu Try and prepare to pre-download the Github module for offline loader building ]


1. Select USB Media 1.5 GB Volume from the left activity bar and open the folder.


2. Right-click inside the 1.5 GB Volume folder, select “Open In Termial” menu, and open terminal.
Make sure you stay in the path "/media/ubuntu/6234-C863"


3. Install curl and git
sudo apt install curl git


4. Execute curl download command (git clone script included in bat file)
curl -kLO https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/prepare-offline.bat
./prepare-offline.bat


5. Access Synology Download Center and download pat file
https://www.synology.com/en-us/support/download


Change the file name of the download folder (remove DSM_, change all other English letters to lowercase, + to p)
DSM_SA6400_69057.pat -> sa6400_69057.pat
DSM_DS920+_69057.pat -> ds920p_69057.pat


Copy the renamed pat file into the auxfiles folder created above.

  • Thanks 6
Link to comment
Share on other sites

2 hours ago, Peter Suh said:

[NOTICE]

 

v1.0.0.5 Add offline loader build function

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.5

 

[ Mount the third USB partition in Linux-Ubuntu Try and prepare to pre-download the Github module for offline loader building ]


1. Select USB Media 1.5 GB Volume from the left activity bar and open the folder.


2. Right-click inside the 1.5 GB Volume folder, select “Open In Termial” menu, and open terminal.
Make sure you stay in the path "/media/ubuntu/6234-C863"


3. Install curl and git
sudo apt install curl git


4. Execute curl download command (git clone script included in bat file)
curl -kLO https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/prepare-offline.bat
./prepare-offline.bat


5. Access Synology Download Center and download pat file
https://www.synology.com/en-us/support/download


Change the file name of the download folder (remove DSM_, change all other English letters to lowercase, + to p)
DSM_SA6400_69057.pat -> sa6400_69057.pat
DSM_DS920+_69057.pat -> ds920p_69057.pat


Copy the renamed pat file into the auxfiles folder created above.

 

 

Screenshotfrom2023-12-0405-46-59.thumb.png.1e75ea4212b05d12774ce55c5d81ee40.png

 

Screenshotfrom2023-12-0405-50-38.thumb.png.5c0f4dc6c5df50d3e9b9cb85ddbfa8a0.png

 

  • Like 1
  • Thanks 3
Link to comment
Share on other sites

19 hours ago, Peter Suh said:

[NOTICE]

 

v1.0.0.5 Add offline loader build function

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.5

 

[ Mount the third USB partition in Linux-Ubuntu Try and prepare to pre-download the Github module for offline loader building ]


1. Select USB Media 1.5 GB Volume from the left activity bar and open the folder.


2. Right-click inside the 1.5 GB Volume folder, select “Open In Termial” menu, and open terminal.
Make sure you stay in the path "/media/ubuntu/6234-C863"


3. Install curl and git
sudo apt install curl git


4. Execute curl download command (git clone script included in bat file)
curl -kLO https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/prepare-offline.bat
./prepare-offline.bat


5. Access Synology Download Center and download pat file
https://www.synology.com/en-us/support/download


Change the file name of the download folder (remove DSM_, change all other English letters to lowercase, + to p)
DSM_SA6400_69057.pat -> sa6400_69057.pat
DSM_DS920+_69057.pat -> ds920p_69057.pat


Copy the renamed pat file into the auxfiles folder created above.

The last piece of puzzle is prepare-offline.bat which is still requires online access to github since it redirects to 3 

.git files. Basically those 3 files (addons.git, modules.git, load.git) must be in dir "auxfiles" if I am not mistaken:

 

"git clone -c core.autocrlf=false https://github.com/PeterSuh-Q3/tcrp-modules.git

git clone -c core.autocrlf=false https://github.com/PeterSuh-Q3/tcrp-addons.git

git clone -c core.autocrlf=false https://github.com/PeterSuh-Q3/redpill-load.git

mkdir auxfiles"

Edited by dimakv2014
Typo
Link to comment
Share on other sites

2 hours ago, dimakv2014 said:

The last piece of puzzle is prepare-offline.bat which is still requires online access to github since it redirects to 3 

.git files. Basically those 3 files (addons.git, modules.git, load.git) must be in dir "auxfiles" if I am not mistaken:

 

"git clone -c core.autocrlf=false https://github.com/PeterSuh-Q3/tcrp-modules.git

git clone -c core.autocrlf=false https://github.com/PeterSuh-Q3/tcrp-addons.git

git clone -c core.autocrlf=false https://github.com/PeterSuh-Q3/redpill-load.git

mkdir auxfiles"

 

 

It's not like that.
Files downloaded from GitHub do not go under auxfiles.

 

tcrp-modules, tcrp-addons, redpill-load
Three directories should be located at the root of the partition.

 

If this file was not created, there may be a problem with SSL authentication.
Please double check the timing of Ubuntu attempting this download.

 

This is something I struggled with on my MacBook.
The directory should have the structure below.

 

 

2023-12-0510_16_50.thumb.png.3a468e846271ac180d5139000c6a93c9.png

 

2023-12-0510_22_05.thumb.png.210862f308240c5649df69fa16480e7b.png

Edited by Peter Suh
  • Like 1
Link to comment
Share on other sites

23 minutes ago, Peter Suh said:

 

 

It's not like that.
Files downloaded from GitHub do not go under auxfiles.

 

tcrp-modules, tcrp-addons, redpill-load
Three directories should be located at the root of the partition.

 

If this file was not created, there may be a problem with SSL authentication.
Please double check the timing of Ubuntu attempting this download.

 

This is something I struggled with on my MacBook.
The directory should have the structure below.

 

 

2023-12-0510_16_50.thumb.png.3a468e846271ac180d5139000c6a93c9.png

 

2023-12-0510_22_05.thumb.png.210862f308240c5649df69fa16480e7b.png

So basically those .git files are archives and directories. So lets say if we unpack them create following folders as well as empty "auxfiles" folder then we will not need "prepare-offline.bat" file at all?

 

Actually 3 folders because I noticed auxfiles folder is there by default it just confused me because in .bat file it makes dir again ))

IMG_20231205_032855.jpg

Edited by dimakv2014
Link to comment
Share on other sites

1 hour ago, dimakv2014 said:

So basically those .git files are archives and directories. So lets say if we unpack them create following folders as well as empty "auxfiles" folder then we will not need "prepare-offline.bat" file at all?

 

Actually 3 folders because I noticed auxfiles folder is there by default it just confused me because in .bat file it makes dir again ))

IMG_20231205_032855.jpg

 

Search the Internet for the working mechanism of the “git clone” command.

 

The auxfiles directory does not exist when recording to USB for the first time and is created by a bat file.

 

The example I showed is also wrong. This was a USB stick that had already been tested once.

 

You only need to store the pat file in auxfiles.

Edited by Peter Suh
  • Like 1
Link to comment
Share on other sites

9 minutes ago, svenger87 said:

I have the loader popping up in die Drive Manager. Can i prevent that somehow?
 

image.thumb.png.3220630aa0abe6118036c8bf899a98e8.png

 

Also is DS3622xs+ still the best option for Intel Core i5 12000?

 

 

Do you use a translator? I have a hard time understanding your German-English translation. I don't even know the meaning of the German in the capture. The recently added SA6400 has many better features than DS3622xs+. It supports fast transcoding in the 12th generation, is device-tree based with the advantage of easy device mapping, and even supports HBA. The only issue is that I226 is not yet stable.

Link to comment
Share on other sites

1 hour ago, svenger87 said:

I have the loader popping up in die Drive Manager. Can i prevent that somehow?
 

image.thumb.png.3220630aa0abe6118036c8bf899a98e8.png

 

Also is DS3622xs+ still the best option for Intel Core i5 12000?

 

I have the loader popping up in die Drive Manager. Can i prevent that somehow?

-> Does this mean that all mounted disks are not visible?
In that case, I highly recommend SA6400.
It has a disk automapping feature so any missing disks will appear.

Link to comment
Share on other sites

Hello,

 

I try to install DSM on a Futro S920, the larger brother of the S720, menioned earlier in this thread.

From this experience, I used Peter's Redpill "tinycore-redpill.v1.0.0.5.m-shell.1.5GB.img.gz" and switched to JOT.

However, I end up in a loop, to reinstall DSM.

Has anyone a hint what is going wrong or what I could try?

 

Regards, Tomte

 

WhatsApp Bild 2023-12-07 um 19.20.01_179b1686.jpg

Link to comment
Share on other sites

[NOTICE]

 

TCRP FRIEND v0.1.0 version upgrade (kernel 5 -> kernel 6 update)

 

The last kernel version of rr was 6.4.16.
The existing friend's kernel was staying at 5.15.26.
In this version 0.1.0, the kernel has been upgraded to version 6.4.16, which is the same as rr.
 

The purpose of kernel version upgrade is to increase module compatibility with new devices.
First of all, the first target is the i226-v chipset using the igc module.


To upgrade kernel 6 from kernel 5, you use a build root.
It compiles the Linux kernel and creates a new one.
Those of you who use Raspberry Pi will probably be familiar with this.
Build root compilation takes about an hour, and as the version goes up, the amount of compilation also increases, taking 1 hour and 20 minutes for kernel 6.
 

The compiled kernel was completed well, but there was a problem where the console did not appear at all, as shown in the capture below, and it took 5 days to fix this.
I asked wjz304 for help yesterday, but rr said that it was just a coincidence and that there were no console issues like this.
In the end, I couldn't get any help, and last night, before I went to bed, a bright idea occurred to me, so I googled it and managed to find it.


It seems like the know-how is not as widely known as you might think.

 

2023-12-143_29_25.thumb.png.5a8cba000b2d634e2af71be15c9749ee.png

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

Peter, recommend the DSM version for the Intel Core i5-11500T processor. I have 3622xs installed now+
You recommended the SA6400 above. Will it work on my processor?
photo_2023-12-11_16-57-59-00.jpg.7c4b620463a51f51b78ce601687c4eca.jpg

Yes, if you want to transcode with Intel 11th generation IGPU, we recommend SA6400. Otherwise, DS3622xs+ is also fine.


Sent from my iPhone using Tapatalk
  • Like 1
Link to comment
Share on other sites

[NOTICE]

 

TCRP-mshell version 1.0.1.0 update notice (Tinycore 12.0 -> 14.0 upgrade)


The purpose of this update is to load mshell's Tinycore img image or vmdk and boot.


To further increase module compatibility with new devices in Tinycore Linux, where the first four windows appear,
I updated from the old version 12.0 to the final version 14.0, released in January of this year.
 

When you enter the Loader Build menu, mshell will handle automatic installation and restart.
 

If there is a problem where the i226-v LAN card is not supported by the old version 12.0 IGC module, automatic update will not be possible.


If you use a separate LAN card, automatic update is possible, but if not,
 

Please burn the image below, which has already been updated to 14.0 in advance, back to USB or mount it on the virtual system.

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.1.0

 

2023-12-1811_39_28.png.ab425c57e7654af28ca4f74638f87af1.png

  • Like 1
  • Thanks 3
Link to comment
Share on other sites

Just applied M-SHell 1.0.1.0 update and now can not access DSM.

 

Synology assistant show it as recoverable, but connection timesout when I attempt

 

Seems there is an issue with Tinycore 14

 

I have also created a new boot USB with new image and still same problem

 

Attached are synolog and messages 

 

Bare metal install on HP Micro gen8 which has been working solidly

 

Any suggestion on how to recover?

 

Also I tried to mount DSM partition in TC 14 and found mdadm is no longer there - works fine in TC 12

 

 

linuxrc_syno.log messages.txt

Link to comment
Share on other sites

7 hours ago, Strykax said:

Just applied M-SHell 1.0.1.0 update and now can not access DSM.

 

Synology assistant show it as recoverable, but connection timesout when I attempt

 

Seems there is an issue with Tinycore 14

 

I have also created a new boot USB with new image and still same problem

 

Attached are synolog and messages 

 

Bare metal install on HP Micro gen8 which has been working solidly

 

Any suggestion on how to recover?

 

Also I tried to mount DSM partition in TC 14 and found mdadm is no longer there - works fine in TC 12

 

 

linuxrc_syno.log 15.17 kB · 1 download messages.txt 97.85 kB · 1 download

 

Tinycore linux only helps build the DSM bootloader that boots through the Friend kernel and has no direct relationship with the DSM kernel.

 

A total of three Linux kernels are used from loader build to DSM booting.

No. 1 Tinycore Linux Kernel
No. 2 Friend Linux Kernel
No. 3 DSM Synology Custom Linux Kernel

 

No. 1 loader build -> No. 2 Friend kernel loading -> No. 3 DSM Syno kernel loading

Kernel loading proceeds in the same order as above.

 

This update to kernel version 6 is not limited to Tinycore.

The Friend kernel has also been upgraded from kernel 5 to kernel 6 starting from version 0.1.0.
After the kernel version upgrade, there was a change in the logic for finding and guiding IP addresses in version 0.1.0a.


Even in versions prior to 0.1.0, there was a problem with the guide to the detected IP address being inaccurate.
This is an area that still needs to be improved.

 

It has become difficult to rely on the IP address displayed in the Friend kernel console and the IP address found at find.synology.com.

So, the way to accurately detect the IP address after recovery is to record the MAC address assigned to the NIC in the router and assign a static IP.

This is a way to avoid the IP address constantly changing during recovery.

Link to comment
Share on other sites

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...