pocopico / tinycore-redpill

GNU General Public License v3.0
2.14k stars 631 forks source link

DS920+ on DX4600 #311

Open vysecurity opened 1 year ago

vysecurity commented 1 year ago

Describe the bug I have managed to get to the synology installation screen where it asks me to download a PAT file from the website. I downloaded the PAT file and installed it, but when it reboots, it asks me to install the PAT file again.

Expected behavior It should go to the next step and let me set up an account.

Screenshots Opera-2023-05-24 at 01 58 54@2x

After rebooting it asks me to setup again:

Opera-2023-05-24 at 02 01 21@2x

Opera-2023-05-24 at 02 01 27@2x

tautomer commented 1 year ago

Same problem on Proxmox. I tried 920, 918, and 3622xs. All have the same problem. Also, if a disk with older DSM is added, there is no migration option, only install. 7.1 doesn't have this issue.

vysecurity commented 1 year ago

Any way to fix this? Is there anyway we can use older versions somehow?

vysecurity commented 1 year ago

I’m installing 7.1 in that above screenshots though.

tautomer commented 1 year ago

Any way to fix this? Is there anyway we can use older versions somehow?

You can download the old images and decline updates when the script asks (during building bootloader).

pocopico commented 1 year ago

Did you use CLI or HTML builder ?

vysecurity commented 1 year ago

I used CLI, also there’s two checksum mismatch for disk and misc. similar to the other issue someone opened. I’m not sure if that is what is affecting this?

If you need the full chain of commands I had used please let me know. I think it was pretty standard though.

Response to kind peer who is trying to help:

Any way to fix this? Is there anyway we can use older versions somehow?

You can download the old images and decline updates when the script asks (during building bootloader).

I presume I wasn't supposed to type fullupgrade?

More information on build errors that may be making the problem:

Screenshot:

Warp-2023-05-24 at 13 52 18@2x

Code Block:


[#] Filling-in newly downloaded recipe for extension disks platform ds920p_42962
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/tcrp-addons/main/disks/releases/dtc to /home/tc/redpill-load/custom/extensions/disks/ds920p_42962/dtc
#################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/disks/ds920p_42962/dtc file...  [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/tcrp-addons/main/disks/releases/install.sh to /home/tc/redpill-load/custom/extensions/disks/ds920p_42962/install.sh
#################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/disks/ds920p_42962/install.sh file...  [ERR]
[!] Checksum mismatch - expected 7590d9c09eb3a548ee9a838bac70d800f38582372377d9651221fb1e570f912b but computed 7259464898c426743e824a9040917fdc6bef493697a13e4ad22049f98da2e11d

*** Process will exit ***
Updating extension : misc contents for model : ds920p_42962
[#] Checking runtime for required tools... [OK]
[#] Updating ds920p_42962 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/tcrp-addons/main/misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
#################################################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension misc platform ds920p_42962
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/tcrp-addons/master/misc/releases/install-all.sh to /home/tc/redpill-load/custom/extensions/misc/ds920p_42962/install-all.sh
#################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/misc/ds920p_42962/install-all.sh file...  [ERR]
[!] Checksum mismatch - expected 16cc95b0ef375e797812e43873601610dced8b413222f68e6a4f649ca5327eee but computed ad00f916948ecc93ad36f3cd75f6be2031967239ae3c8fe454ce7b30901b46b3

*** Process will exit ***
[#] Checking runtime for required tools... [OK]

I am giving 0.9.4.4 a try now:

I got it to work.

tautomer commented 1 year ago

Did you use CLI or HTML builder ?

Looks like my problem is different then. I use the CLI builder. 7.1 has always been fine, but for 7.2 I either got no IP or not enough space when building (older version image) or this welcome page loop (latest). My issue might be the same as #300. Weirdly, I tried DS3622xs+ but still failed, unlike what they got.

Edit: HTML build for 7.2 DS920+ worked. Both brand-new installation and migrating from my old DSM 6.2 worked as expected.

vysecurity commented 1 year ago

Did you use CLI or HTML builder ?

Looks like my problem is different then. I use the CLI builder. 7.1 has always been fine, but for 7.2 I either got no IP or not enough space when building (older version image) or this welcome page loop (latest). My issue might be the same as #300. Weirdly, I tried DS3622xs+ but still failed, unlike what they got.

Edit: HTML build for 7.2 DS920+ worked. Both brand-new installation and migrating from my old DSM 6.2 worked as expected.

How does one use the HTML builder? Sorry not very intuitive for me.

I might try CLI for 7.2. Old version of TCRP worked for 7.1 without welcome loop.

How does one reinstall TCRP or upgrade without losing data?

If I wanted to upgrade 7.1 to 7.2 can I just use the synology update?

pocopico commented 1 year ago

I've fixed the checksum for misc and disk. I'm sorry, its just that HTML doesnt check for extension checksums

@vysecurity to access the HTML builder, you open a browser and point to the Tinycore IP e.g http://192.168.1.122

vysecurity commented 1 year ago

I'll give the latest version a try again with 7.2 maybe. How can one upgrade from 7.1 to 7.2 without losing progress? How does the HTML builder work, is there steps I need to follow by clicking?

My disks are in middle of caching and initialisation.

pocopico commented 1 year ago

You need to first upgrade using the DSM GUI to 7.2 and then build a 7.2 loader. Keep a backup of your current loader and try first with a new/unused disk.

vysecurity commented 1 year ago

You need to first upgrade using the DSM GUI to 7.2 and then build a 7.2 loader. Keep a backup of your current loader and try first with a new/unused disk.

The loader is running in a USB stick. Do I just unplug it and try to copy the contents off the disk? I recall Windows cannot recognise the file contents so I can't copy it. Also how can I boot back into the TCRP after DSM installed? I have no HDMI output so I am having to make a guess in the Grub menu.

What's synostgd-cache? Is it normal that it's been running at 100% for over 5 hours?

Also, I have like 20,000 synostgd-disk processes running:

Warp-2023-05-24 at 23 43 50@2x

pocopico commented 1 year ago

You can prepare your USB stick on any PC and bring that to your system. I would use a new USB stick and keep the old as a backup until i'm sure i can boot and install 7.2 on a NEW disk first.

I dont know about the synostgd-cache cause i'm not using SSD cache

vysecurity commented 1 year ago

Ah got it. So basically just setup the entire USB stick again?

I mean, isn't the Synology software installed on the USB stick? My drives are all used for storage.

pocopico commented 1 year ago

No the DSM is installed on every physical disk of your system

e.g.

Device Boot Start End Sectors Size Id Type /dev/sata1p1 8192 16785407 16777216 8G fd Linux raid autodetect ----> DSM DISK /dev/sata1p2 16785408 20979711 4194304 2G fd Linux raid autodetect ----> SWAP

These partitions are used to assemble the first two MD devices and are always using raid1 for md0 and md1

Some applications require the existence of a volume which is a different story.

vysecurity commented 1 year ago

Thanks for the input. I'll give it a try then. How can I boot back into TCRP? Is it like 3rd or 4th option down during boot?

Or you think I should just make a completely new 7.2 USB and plug it in and it'll be all fine? Will the loader detect that DSM is already installed?

Is there any way to further increase the FAN speed? It seems to be running but not sufficiently cooling my disks. 4 disks are reaching 61 degrees and auto-shutting down sometimes.

ner00 commented 1 year ago

On Windows I tend to use imageusb (third-party app) to image the USB drive just in case anything goes wrong and I need it back as it was. Mostly useful when you don't have spares at hand.

In terms of upgrading, I tend to prefer to just build the latest bootloader from scratch. Just make sure to copy the usual settings such as pid & vid (if same pen drive), MAC, sn (device serial), SataPortMap, DiskIdxMap, etc.

Then when booting with the new bootloader DSM will recognize that the system is different and will ask you to install the update that matches the bootloader, you can either load a PAT manually or it will download from Synology and apply, then it restarts and boots normally, although it initializes the new packages before the login screen.

The autoupgrade method also works, I've used both, but it also regenerates a new serial and MAC for whatever reason... so I still prefer to do stuff manually instead of having to figure out what the auto did "wrong".

DerPicknicker commented 5 months ago

@vysecurity ... Could you briefly explain how you get the installation done? I am guessing that you're installed it on a UGREEN DXP4600, right?

vysecurity commented 5 months ago

I unscrewed the whole box and plugged in HDMI to switch off watchdog and other settings.

Then installed it onto USB and boot from USB went OK.

DerPicknicker commented 5 months ago

@vysecurity thank you.... Do you have some pictures of it and is hdmi directly available?

vysecurity commented 5 months ago

If you unscrew it's on the back of the internal exposed to the outside quite well.

DerPicknicker commented 5 months ago

Okay great. I will do it. So it's only available if I unscrew it this is kinda sad.

Is the EMMC also available for installation of the boot medium?

pocopico commented 5 months ago

Emmc is not supported by redpill module