Jump to content
XPEnology Community

TinyCore RedPill Loader Build Support Tool ( M-Shell )


Peter Suh

Recommended Posts

36 minutes ago, apriliars3 said:

 

It is less intuitive if you need commands and new graphical menu.

 

 

Criticism is appreciated, but there are no plans to make this menu.sh more convenient and beautiful.

 

pocopico is developing the Next Generation TCRP loader.

 

If you look closely at the repo of TCRP, there is a web page under development under html, which is the next-generation design that will replace the menu.sh

that I temporarily created in ARPL style.


https://github.com/pocopico/tinycore-redpill/tree/main/html

 

1230314547_2022-11-1512_04_46.thumb.png.87081962c1af50a7c44d2771391fb113.png

 

874360292_2022-11-1512_05_04.thumb.png.40319c816deaaedf8f6dadd74e276150.png

 

pocopico said they needed some time to develop this new loader with a new design.


I am very much looking forward to it.

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

1 hour ago, Peter Suh said:

 

Criticism is appreciated, but there are no plans to make this menu.sh more convenient and beautiful.

 

pocopico is developing the Next Generation TCRP loader.

 

If you look closely at the repo of TCRP, there is a web page under development under html, which is the next-generation design that will replace the menu.sh

that I temporarily created in ARPL style.


https://github.com/pocopico/tinycore-redpill/tree/main/html

 

1230314547_2022-11-1512_04_46.thumb.png.87081962c1af50a7c44d2771391fb113.png

 

874360292_2022-11-1512_05_04.thumb.png.40319c816deaaedf8f6dadd74e276150.png

 

pocopico said they needed some time to develop this new loader with a new design.


I am very much looking forward to it.

 

It´s better than menu ARPL, but I think there are only one form to make a build and intuitive without issue.

 

I know at least three forms to make a build.

Link to comment
Share on other sites

5 minutes ago, apriliars3 said:

 

It´s better than menu ARPL, but I think there are only one form to make a build and intuitive without issue.

 

I know at least three forms to make a build.

 

Your advice should reach pocopico.


pocopico probably spends a lot of time designing the new structure of the loader now rather than the interface of the TCRP loader management web page.

Link to comment
Share on other sites

15 hours ago, apriliars3 said:

 

Captura de pantalla 2022-11-15 192600.jpg

 

 

 

If it is a test in proxmox vm, the above capture is a bit strange.

 

The Loader Bus should be ata, not usb.

 

ata must point to synnoboot_satadom = 1, but this value does not exist in usb.

 

This is definitely going to be a problem here.


Due to the problem of not being able to find the synoboot partition, even if DSM is installed,

you may encounter a file corruption message in the middle.

Link to comment
Share on other sites

 
 
If it is a test in proxmox vm, the above capture is a bit strange.
 
The Loader Bus should be ata, not usb.
 
ata must point to synnoboot_satadom = 1, but this value does not exist in usb.
 
This is definitely going to be a problem here.

Due to the problem of not being able to find the synoboot partition, even if DSM is installed,
you may encounter a file corruption message in the middle.


With the same bootloader 0.9.3 m-shell

- DSM 7.1.1-42962 install and works
- Now update to U2 and not ip
- Delete .img and use fresh img, create an other build. Can detect ip and need to migrate, and other time lost ip

With bootloader 0.9.3 pocopico

- Create a build and migrate, works then restart and login to DSM

I use this configuration on Proxmox because I don’t want to loss a sata. Img over usb works well with all bootloaders.

Thanks
Link to comment
Share on other sites

10 minutes ago, apriliars3 said:

 


With the same bootloader 0.9.3 m-shell

- DSM 7.1.1-42962 install and works
- Now update to U2 and not ip
- Delete .img and use fresh img, create an other build. Can detect ip and need to migrate, and other time lost ip

With bootloader 0.9.3 pocopico

- Create a build and migrate, works then restart and login to DSM

I use this configuration on Proxmox because I don’t want to loss a sata. Img over usb works well with all bootloaders.

Thanks

 

 

 

TCRP of pocopico and The TCRP of the m shell differs in handling extension drivers.

 

pocopico's TCRP adds only the necessary NIC drivers during the loader build process.

 

m shell uses the integrated driver pack just like ARPL.

 

Perhaps your system partition has already installed DSM, which is stabilized through pocopico's TCRP.

 

In that state, you will not get a chance to install My Full Featured Driver Pack on your system partition.

 

This problem was confirmed today during the testing of the vmxnet3 driver of Proxmox.

 

Perhaps there is a dependency between drivers.

 

If all the M shell's integrated driver packs are installed through Junior mode, the problem may be resolved.

  • Thanks 1
Link to comment
Share on other sites

[Notice]

 

Today I added a Keymap function to menu.sh for multilingual keyboard support.

 

TCRP's keymap is based on tinycore and is slightly different from APRL's keymap.

 

@apriliars3
As in the last request, please select a keymap for your language and check whether it is working properly.

 

If you have problems, don't go through menu.sh

 

Try changing the keymap by using the command below at the prompt.

 

 

tc@box:~$ ll /usr/share/kmap
total 4
drwxr-xr-x 2 root root 200 Dec 22 2010 azerty/
drwxr-xr-x 2 root root 60 Dec 22 2010 coleak/
drwxr-xr-x 2 root root 160 Dec 22 2010 dvorak/
drwxr-xr-x 2 root root 80 Dec 22 2010 fgGIod/
drwxr-xr-x 2 root root 80 Dec 22 2010 olpc/
drwxr-xr-x 2 root root 2360 Dec 22 2010 qwerty/
drwxr-xr-x 2 root root 380 Dec 22 2010 qwertz/
lrwxrwxrwx 1 root root 47 Nov 17 10:14 th-latin1.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/th-latin1.kmap
lrwxrwxrwx 1 root root 51 Nov 17 10:14 th-win-latin1.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/th-win-latin1.kmap
-rw-rw-r-- 1 root root 2055 Feb 13 2021 us.kmap
tc@box:~$ ll /usr/share/kmap/azerty
total 0
lrwxrwxrwx 1 root root 51 Nov 17 10:14 azerty.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/azerty.kmap
lrwxrwxrwx 1 root root 54 Nov 17 10:14 be-latin1.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/be-latin1.kmap
lrwxrwxrwx 1 root root 54 Nov 17 10:14 fr-latin1.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/fr-latin1.kmap
lrwxrwxrwx 1 root root 54 Nov 17 10:14 fr-latin9.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/fr-latin9.kmap
lrwxrwxrwx 1 root root 50 Nov 17 10:14 fr-pc.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/fr-pc.kmap
lrwxrwxrwx 1 root root 47 Nov 17 10:14 fr.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/fr.kmap
lrwxrwxrwx 1 root root 51 Nov 17 10:14 wangbe.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/wangbe.kmap
lrwxrwxrwx 1 root root 52 Nov 17 10:14 wangbe2.kmap -> /tmp/tcloop/kmaps/usr/share/kmap/azerty/wangbe2.kmap
tc@box:~$ loadkmap < /usr/share/kmap/azerty/fr-pc.kmap

 

  • Like 2
Link to comment
Share on other sites

@Peter Suh I add your lastest .img but I can´t boot on Proxmox

 

I try like sata with this command and change order boot to sata 

 

qm importdisk 102 /var/lib/vz/dump/tinycore-redpill.v0.9.3.0.m-shell.img local-lvm

 

Also I test it like usb but no boot, I think is issue of .img because I try with tinycore-redpill.v0.9.3.0.img and boot without errors.

 

Thanks 

 

 

Captura de pantalla 2022-11-17 232638.jpg

Captura de pantalla 2022-11-17 232609.jpg

Captura de pantalla 2022-11-17 232526.jpg

  • Thanks 1
Link to comment
Share on other sites

@Peter Suh I add your lastest .img but I can´t boot on Proxmox
 
I try like sata with this command and change order boot to sata 
 
qm importdisk 102 /var/lib/vz/dump/tinycore-redpill.v0.9.3.0.m-shell.img local-lvm
 
Also I test it like usb but no boot, I think is issue of .img because I try with tinycore-redpill.v0.9.3.0.img and boot without errors.
 
Thanks 
 
 
508558339_Capturadepantalla2022-11-17232638.jpg.0d62d56aa1fe2a3c7eee5c923fe3d79d.jpg
118054425_Capturadepantalla2022-11-17232609.jpg.7f1cfeeef4569375b1e548be5c69073a.jpg
1676557237_Capturadepantalla2022-11-17232526.thumb.jpg.ef76f8fc2cf517d2c91fcec0db4fe32b.jpg

What about keymaps?
does it work well?

As for the issues of img files and proxmox, other users in Korea also reported the same phenomenon to me. I will build the same environment and focus the exam on this part today. Please wait a moment.


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

On 11/16/2022 at 3:29 AM, apriliars3 said:

I tested with Proxmox new tinycore-redpill.v0.9.3.0.m-shell.img. 

 

I have installed DSM 7.1.1-42962 over DS3622xs+ and works, but then I try to update to DSM 7.1.1-429662 Updte 2 and not works.

 

Only works with Update 0 and then need rebuild for Update 2?

 

Captura de pantalla 2022-11-15 200527.jpg

 

 

 

I think I got the point wrong with your point.
Isn't your first screen capture a bare metal test capture via USB Stick?
In Proxmox, Loader Bus is not represented as USB.
It is always ata .


And, your problem is that DS3622xs+ installs well up to DSM 7.1.1-42962 Update 0 in Proxmox Loader bus ata.

Is it correct that if you update to Update 2 you will lose your IP?

 

I have configured the same environment as yours as in the capture below.
But the Loader Bus is ata, not USB.
And, even after processing up to Update 2, the IP also receives a response as shown below.
Normal login is possible.

 

Is there anything I set differently from you?

 

And the MAC address of the network on your Proxmox is different from the above capture,

did you use Realmac in the menu.sh configuration process?
Different mac addresses can be set when used as a virtual mac address.

 

1706494020_2022-11-1811_04_45.thumb.png.6b2190bf77246e4ff53a008c7efe68ea.png

 

1230504712_2022-11-1811_05_31.thumb.png.2651069498067b01f151abd9b8e6f678.png

 

1572227413_2022-11-1811_06_24.thumb.png.387ba3ec7c8940482b6665df232989b9.png

 

1718122507_2022-11-1811_06_46.thumb.png.7f7933687436d928f1f50675c2648ad3.png

 

 

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

Hello Peter,

I have setup a DS920+ Nas with J4105-ITX board. I recently installed a PCI-e board whose description is enclosed. I tried to build a new loader using ./my.sh DS920+F
When I rebooted my NAS, I could see that the network lights of my PCI-e went off and after that the NAS was no more recognized by my system. Do you have a piece of advice?

Thank you in advance -6308874071121703383.jpg

Envoyé de mon LE2113 en utilisant Tapatalk

Link to comment
Share on other sites

10 minutes ago, pkdick1 said:

Hello Peter,

I have setup a DS920+ Nas with J4105-ITX board. I recently installed a PCI-e board whose description is enclosed. I tried to build a new loader using ./my.sh DS920+F
When I rebooted my NAS, I could see that the network lights of my PCI-e went off and after that the NAS was no more recognized by my system. Do you have a piece of advice?

Thank you in advance -6308874071121703383.jpg

Envoyé de mon LE2113 en utilisant Tapatalk
 

 

If so, are you running one of the onboard nics? If this nic is working,

 

you can check junior logs to see why the other 2.5G dual nic is not working.


Is this the right situation?

Link to comment
Share on other sites

Hello peter,

I am a newbie so I do not know how to get to the information you want...[emoji26]

What I noticed is: the starting boot is Ok and I can see the Redpill Friend Menu. When I start Redpill, there is even an IP that is defined, but then nothing happens. When I put my dual Gbit PCI-e card, I can build a functional loader: so I guess that there is some driver issue...

Envoyé de mon LE2113 en utilisant Tapatalk

Link to comment
Share on other sites

30 minutes ago, pkdick1 said:

Hello peter,

I am a newbie so I do not know how to get to the information you want...emoji26.png

What I noticed is: the starting boot is Ok and I can see the Redpill Friend Menu. When I start Redpill, there is even an IP that is defined, but then nothing happens. When I put my dual Gbit PCI-e card, I can build a functional loader: so I guess that there is some driver issue...

Envoyé de mon LE2113 en utilisant Tapatalk
 

 

You did not give me an accurate answer to my question.  Does the built-in nic work?  And if dual nic is included, did you record netif_num=“3” up to mac3 in user_config.json?

Edited by Peter Suh
Link to comment
Share on other sites

 
You did not give me an accurate answer to my question.  Does the built-in nic work?  And if dual nic is included, did you record netif_num=“3” up to mac3 in user_config.json?
Sorry I deactivated the onboard NIC and the netif_num parameter value is 2.

Envoyé de mon LE2113 en utilisant Tapatalk

Link to comment
Share on other sites

 
No plans to enable built-in nic rules?  Then there is no solution either.
Sorry again but when I put my "old" dual Intel Gbit card I succeed to make the loader working. So it seems that there is something wrong my new realtek 8125B PCI card...

Envoyé de mon LE2113 en utilisant Tapatalk

Link to comment
Share on other sites

45 minutes ago, pkdick1 said:

Sorry again but when I put my "old" dual Intel Gbit card I succeed to make the loader working. So it seems that there is something wrong my new realtek 8125B PCI card...

Envoyé de mon LE2113 en utilisant Tapatalk
 

 

If you can access the DSM installation request screen with ttyd as below,

Then send me the log with the command you see.

You must use a web browser.

 

http://<youripaddr>:7681/

id : root / pw : ( no password )

 

cat /var/log/linuxrc.syno.log

 

 

This method assumes that at least 1 of your 3 nics is working.

Link to comment
Share on other sites

 
If you can access the DSM installation request screen with ttyd as below,
Then send me the log with the command you see.
You must use a web browser.
 
http://:7681/
id : root / pw : ( no password )
 
cat /var/log/linuxrc.syno.log
 
 
This method assumes that at least 1 of your 3 nics is working.
Thank you for your support. I will try to get the log you asked to me. I will get back to you as soon as I can.

Best regards

Envoyé de mon LE2113 en utilisant Tapatalk

  • Like 1
Link to comment
Share on other sites

 
If you can access the DSM installation request screen with ttyd as below,
Then send me the log with the command you see.
You must use a web browser.
 
http://:7681/
id : root / pw : ( no password )
 
cat /var/log/linuxrc.syno.log
 
 
This method assumes that at least 1 of your 3 nics is working.
Hello Peter,

Just to tell you that I failed to get the log you were expecting to help me. I installed again my RTL8125 dual nic card and activated the onboard nic: after having built the RedPill loader using ./my.sh DS920+F command, I had to modify the network parameter (sorry I don't remember it but I am sure you know it [emoji28]), in order to be able to boot. In any case, the boot seems OK, but then I could see that none of the nic cards were operational (no lights).
I reflashed again my USB stick with the last RedPill software and I used the XPENOLOGY tutorial to install RTL8125 drivers (I am not sure that it was necessary) and build the loader: this time it worked! And I have now a functional DS920+ NAS with a dual 2.5GBit nic.

It seems to me that there is maybe something wrong with the ./my.sh script (it didn't recognize my card). Sorry not being able to give more information.

Thank you for your help anyway!

Envoyé de mon LE2113 en utilisant Tapatalk

Link to comment
Share on other sites

27 minutes ago, pkdick1 said:

Hello Peter,

Just to tell you that I failed to get the log you were expecting to help me. I installed again my RTL8125 dual nic card and activated the onboard nic: after having built the RedPill loader using ./my.sh DS920+F command, I had to modify the network parameter (sorry I don't remember it but I am sure you know it emoji28.png), in order to be able to boot. In any case, the boot seems OK, but then I could see that none of the nic cards were operational (no lights).
I reflashed again my USB stick with the last RedPill software and I used the XPENOLOGY tutorial to install RTL8125 drivers (I am not sure that it was necessary) and build the loader: this time it worked! And I have now a functional DS920+ NAS with a dual 2.5GBit nic.

It seems to me that there is maybe something wrong with the ./my.sh script (it didn't recognize my card). Sorry not being able to give more information.

Thank you for your help anyway!

Envoyé de mon LE2113 en utilisant Tapatalk
 

 

 

Although no separate guide was provided,
Now my.sh (m shell) has been modified and developed in many ways.

 

./menu.sh makes it easier to build loaders like ARPL and
There is no need to find and install extension drivers in advance like the conventional method.
It uses the unified driver pack, just like ARPL uses.

 

It may not be helpful for the part that makes the NIC driver work, but
First of all, I want to tell you that the loader build method through M SHELL has changed a lot.
Users no longer type shell commands directly.

Link to comment
Share on other sites

The ARPL-style menu.sh that works like M Shell has been developed for a little more stabilization and the final version has been released a little while ago.

 

The moment menu.sh of m shell is executed in tinycore, everything is automatically updated.

 

[ Fixes ]

 

1. DS3615xs showing unstable state of loader in TCRP has been temporarily removed.

 

2. By using a USB stick, all the elements that were unstable in bare metal have been improved.
(It is recommended that the USB stick use version 3.0 and 3.0 or higher ports if possible.
Fast processing of USB stick reduces the chance of encountering file corruption messages in 55% of the DSM installation stage.)

 

3. The necessary dialog.tcz and kmaps.tcz are included as built-in packages so that they are not downloaded every time they are executed, and the execution speed on a relatively slow USB stick is increased.

 

4. When the rploader monitor on the left is executed for the first time, the time is automatically synchronized when menu.sh is executed so that there is no discrepancy in UTC time.

 

5.In the rploader monitor, the current time and the extension required for the Ethernet interface have been added.

 

6. In the process of updating from 6.TCRP FRIEND to DSM 7.1.1-42962 Update 2, the size of the first partition has been increased to 72M to prevent insufficient space in the first partition. (Worked with tinycore gparted.)
https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v0.9.3.0-1

 

7.Mac address input is supported up to 2 nics.
The image in the capture is when there is 1 nic.

 

8. The multilingual keymap has not yet been verified in operation.

 

1597351792_2022-11-278_13_34.thumb.png.fbc03d37b672316a5e65c28002f12c3e.png1456633471_2022-11-278_14_08.thumb.png.af02cb58cd7e6d0fb674aae8efe976cd.png1403612192_2022-11-278_14_47.thumb.png.905deb6132bf1a28bf31071beb4befb9.png541369423_2022-11-278_15_31.thumb.png.1bc2279acb74ac8eb68a4f79abb9d27f.png126519604_2022-11-278_15_51.thumb.png.7f39951849eac0126868878e142a0026.png305446156_2022-11-278_16_18.thumb.png.16acd0b8796e835c7ca27110d91ae1e9.png

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

  • 2 weeks later...

Hello, the guided production has not been completed after the production according to the method you provided. How to deal with the following situations? (Poor English, translated by translation software)

Reboot can only start from the first step again. This is a cycle.

22.png

23.png

Link to comment
Share on other sites

5 hours ago, chdeast said:

Hello, the guided production has not been completed after the production according to the method you provided. How to deal with the following situations? (Poor English, translated by translation software)

Reboot can only start from the first step again. This is a cycle.

22.png

23.png

 

During the loader build process
./my.sh DS918+F noconfig
It is executed with the command
my.sh tries to update the latest version by default.
The update seems to be processing abnormally.

 

exit menu.sh and

./my.sh DS918+F noconfig
Try building it yourself with just the above command.

Link to comment
Share on other sites

  • 1 month later...

Xpenology NVMe Cache auto-activator for TCRP release.

 

 

https://github.com/PeterSuh-Q3/rp-ext/tree/main/nvme-cache

 

If you have newly built the M SHELL for TCRP Friend loader
TCRP automatically activates NVMe cache.

Currently, DS3622xs+ and DS918+ are shipped, and support models will be shared as they continue to expand.

After DSM installation is complete, reboot to enable NVMe cache.

 

Developed as a service like powersched
When the nvme-cache service is running, the first time when booting DSM, it searches whether or not NVMe cache is installed and activates it.

 

like below
You can also download and run nvme-cache.sh separately without building a loader.
However, nvme-cache.sh, which is not included in the service type or scheduler, is executed once, and NVMe cache may be disabled again due to migration between Synology models or DSM Update.

sudo -i
curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/nvme-cache/src/nvme-cache.sh" -O
chmod +x nvme-cache.sh
./nvme-cache.sh

 

It is recommended to rebuild the loader and use it if possible.

 

In conclusion, if you rebuild M SHELL for TCRP, install DSM, and reboot, the cache will be recognized by itself.

  • Thanks 2
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...