Jump to content
XPEnology Community

How to install TCRP on Proxmox


phone guy

Recommended Posts

On 8/8/2022 at 9:31 AM, cwiggs said:

Is using a USB to boot instead of an img/sata better?  Is it possible to use the img attached as a sata disk like @docop1 did below?

 

The main reason I want to use sata is with USB you cannot migrate the VM between proxmox nodes in a cluster without manually copying the img that is attached as a USB.

 

 

To build on this more, looks like you can import the TCRP loader img as a scsi "disk" here is how:

 

# Create your VM first and copy the ID

mkdir -p /var/lib/vz/images/${vm_id}/
curl --location https://github.com/pocopico/tinycore-redpill/releases/download/v0.9.3.0/tinycore-redpill.v0.9.3.0.img.gz --output /var/lib/vz/images/${vm_id}/tinycore-redpill.v0.9.3.0.img.gz
gunzip --decompress /var/lib/vz/images/${vm_id}/tinycore-redpill.v0.9.3.0.img.gz --keep
qm importdisk ${vm_id} /var/lib/vz/images/${vm_id}/tinycore-redpill.v0.9.3.0.img.gz
qm rescan

Now you "disk" will show up in the proxmox web interface, you can go there and add it as a scsi device and make it the first boot option.

Link to comment
Share on other sites

On 12/23/2022 at 4:33 PM, cwiggs said:

To build on this more, looks like you can import the TCRP loader img as a scsi "disk" here is how:

 

# Create your VM first and copy the ID

mkdir -p /var/lib/vz/images/${vm_id}/
curl --location https://github.com/pocopico/tinycore-redpill/releases/download/v0.9.3.0/tinycore-redpill.v0.9.3.0.img.gz --output /var/lib/vz/images/${vm_id}/tinycore-redpill.v0.9.3.0.img.gz
gunzip --decompress /var/lib/vz/images/${vm_id}/tinycore-redpill.v0.9.3.0.img.gz --keep
qm importdisk ${vm_id} /var/lib/vz/images/${vm_id}/tinycore-redpill.v0.9.3.0.img.gz
qm rescan

Now you "disk" will show up in the proxmox web interface, you can go there and add it as a scsi device and make it the first boot option.

 

Looks like you cannot boot TCRP via scsi, make sure that you are using sata, not scsi

 

I also found out that the default CPU type (kvm64) for proxmox does not support FMA3 (haswell and newer intel CPUs has FMA3).  Since kvm64 doesn't support FMA3 the DSM systems that required it (DS918+, DVA3221, etc) won't work unless you choose the CPU type "host", and if your host CPU is haswell or newer.  Downside with using the cpu host type is that if you migrate the VM to another host that doesn't have the same CPU you will have issues.

Link to comment
Share on other sites

I just used this config, the shutdown over Proxmox is working

 

[DS918+]
./rploader.sh update now
./rploader.sh fullupgrade now
./rploader.sh serialgen DS918+
./rploader.sh identifyusb now
./rploader.sh satamap now
WinSCP: set SATA values to 4 and 00
./rploader.sh ext ds918p-7.1.1-42962 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json
./rploader.sh ext ds918p-7.1.1-42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/v9fs/rpext-index.json
./rploader.sh build ds918p-7.1.1-42962
./rploader.sh clean now
sudo poweroff

Link to comment
Share on other sites

  • 1 month later...
On 5/16/2022 at 1:57 AM, phone guy said:

These are the 2 ACPI drivers that have worked for me, if either of these platforms are your building choice, these should work for you also. For other models YMMV.

 

DS3622+ acpi shutdown working (for me) was

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/dodo-dk/rp-ext/main/acpid/rpext-index.json

 

DS918+ @pocopico acpi works

./rploader.sh ext apollolake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json

 

FYI: You can easily verify your acpi and status by opening the serial console of your vm dsm and watching the information there when you press the shutdown command on that vm. When it works, you will clearly see things "stopping" and "shutting down" etc...

 

Any luck on getting the 3622+ ACPI to work on the newer versions? (specifically with Proxmox?)

Link to comment
Share on other sites

4 hours ago, Orphée said:

Hi,

Every loader I tried since this week work perfectly well with ACPI under proxmox with ARPL loader.

I never used the ARPL loader but I just tried it now on a new VM for DS3622+ and it does not work. 

I click the Shutdown button on Proxmox, but nothing happens. According to the ARPL loader, ACPI is installed. 

Link to comment
Share on other sites

  • 2 months later...

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