Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

On 1/28/2022 at 11:21 PM, cris_t said:

hi. first of all thanks @pocopico for this great tool.
finally i managed to create a uefi bootable flash drive. the steps are very easy but it took me about the whole day to figure out.

after writing redpill tc loader image to your flash drive, you need a linux machine to add the uefi boot.

in my case, i have a notebook with linux mint installed (latest edge edition).
assuming that my flash drive was /dev/sdb, this is what i've done:

  1. Mount the filesystem:
    sudo mount -o umask=000 /dev/sdb1 /mnt
  2. Write the MBR and install the grub files required for legacy BIOS boot on the drive:   (i don't know if this step is really needed but anyway it works)
    sudo grub-install --no-floppy --boot-directory=/mnt/boot --target=i386-pc /dev/sdb
  3. Install /EFI/BOOT/BOOTX64.EFI and other grub files required to load grub from a 64-bit UEFI firmware:
    sudo grub-install --removable --boot-directory=/mnt/boot --efi-directory=/mnt --target=x86_64-efi /dev/sdb
  4. Unmount the filesystem:
    sudo umount /dev/sdb1

after that, remove the flash drive and try it. for me, it worked at first try. no need to edit any other file.

credits go to https://github.com/ndeineko/grub2-bios-uefi-usb for this helpful page without which I would never have succeeded.

Worked great thank you! 

Link to comment
Share on other sites

what pci-e card instead of Dell perc h310 to run apollolake redpill 918+?

 

Dell perc h310 runs on ds3615xs but keeps my network crashing.  a few days worked fine but the problem comes back.  on ds918 + network works fine but I can not run Dell perc h310 so I would like to replace it with something else

Link to comment
Share on other sites

38 minutes ago, chickey said:

Anyone had this error?

 

cat: satamap.x: No such file or directory

cat: diskmap.x: No such file or directory

 

image.thumb.png.8a92fad297353f38bffd1a81daa86d38.png

 

image.thumb.png.a8bbead3769ed3464667ce2bac7aca7a.png

To answer my own question this is a thin client and the internal flash disk shows up as mmcblk0 which is why no drives are showing up so satamap is failing

 

image.thumb.png.3b8e99f66dee47bd858a9a96eaf31414.png

Link to comment
Share on other sites

Hello All,

I was hoping someone could assist me with resolving my issue with drives missing from my install. The on-board sata drives show but not the 8 from my AvagoSAS controller. When running satamap it does not detect the drives either. However, I can tell tinybox does detect the SAS controller.  I have tried various satamap configurations but have not had any luck. Thank you in advanced. 

 

 



tc@box:~$ lspci -k | grep -EiA2 'SATA|SCSI'
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        Subsystem: ASRock Incorporation Device 8c02
        Kernel driver in use: ahci
--
02:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: LSI Logic / Symbios Logic Device 3020
04:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 11)
        Subsystem: ASRock Incorporation Device 9172
        Kernel driver in use: ahci
tc@box:~$ sudo lspci -k | grep -EiA2 'SATA|SCSI'
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        Subsystem: ASRock Incorporation Device 8c02
        Kernel driver in use: ahci
--
02:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: LSI Logic / Symbios Logic Device 3020
04:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 11)
        Subsystem: ASRock Incorporation Device 9172
        Kernel driver in use: ahci
tc@box:~$ sudo cat /proc/scsi/sg/devices
0       0       0       0       0       1       32      0       1
1       0       0       0       0       1       32      0       1
2       0       0       0       0       1       32      0       1
3       0       0       0       0       1       32      0       1
8       0       0       0       0       1       1       0       1
tc@box:~$ sudo lspci -nnq
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller [8086:0c08] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:01.1 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller [8086:0c05] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:16.1 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #2 [8086:8c3b] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5)
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 [8086:8c18] (rev d5)
00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 [8086:8c1a] (rev d5)
00:1c.7 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 [8086:8c1e] (rev d5)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation C224 Series Chipset Family Server Standard SKU LPC Controller [8086:8c54] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
01:00.0 Ethernet controller [0200]: Mellanox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s] [15b3:6750] (rev b0)
02:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
04:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller [1b4b:9172] (rev 11)
05:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
06:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
07:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150] (rev 02)
08:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 21)
tc@box:~$





 

image.png

Edited by Isaiah33
Added screenshot of error.
Link to comment
Share on other sites

18 часов назад, synoxpe сказал:

Proxmox SATA HDD Passthrough to DSM 7. Anyone able to achieve this?

I just added a few SATA Disks manually to the DSM VM with id 100:


qm set 100 -sata1 /dev/disk/by-id/<id>

but they're showing on DSM Storage Manager as QEMU Harddisks missing SMART info.

I does the same in my Proxmox install - Redpill is not passtrough SMART to DSM, I think I read about it in some of Tor Group posts. But in Proxmox it is not a problem, because it monitors disk health with smartctl daemon.

Link to comment
Share on other sites

31 minutes ago, synoxpe said:

@Invaliduser Oops build fails: 


[!] There doesn't seem to be a config for DS3617xs platform running 7.0.1-42218 (checked /home/tc/redpill-load/config/DS3617xs/7.0.1-42218/config.json)

*** Process will exit ***

Perhaps I'm missing something?

Ok had to clean the cache. Build went fine! Got stuck in the migration loop (from 3615 to 3617. Guess I need to provide fresh disks.

Link to comment
Share on other sites

Le 14/01/2022 à 21:36, rok1 a dit :

That board has UEFI only boot capabilities. 

 

I will tell you I've been able to boot that board fine with the older TTG 7.0.1 boot images I have built. I have not tried with the tinycore stuff yet

 

Check my reply on thi link i got a j5005 too and it works like a charm network take time to start but except that, its ok: 
https://github.com/pocopico/tinycore-redpill/issues/8

 

 

finally i managed to create a uefi bootable flash drive. the steps are very easy but it took me about the whole day to figure out.
after writing redpill tc loader image to your flash drive, you need a linux machine to add the uefi boot.
in my case, i have a notebook with linux mint installed (latest edge edition).
assuming that my flash drive was /dev/sdb, this is what i've done:

Mount the filesystem:
sudo mount -o umask=000 /dev/sdb1 /mnt
Write the MBR and install the grub files required for legacy BIOS boot on the drive: (i don't know if this step is really needed but anyway it works)
sudo grub-install --no-floppy --boot-directory=/mnt/boot --target=i386-pc /dev/sdb
Install /EFI/BOOT/BOOTX64.EFI and other grub files required to load grub from a 64-bit UEFI firmware:
sudo grub-install --removable --boot-directory=/mnt/boot --efi-directory=/mnt --target=x86_64-efi /dev/sdb
Unmount the filesystem:
sudo umount /dev/sdb1

Edited by plarkass
Link to comment
Share on other sites

Hello, i am new to this forum Today, i started to install my first "NAS", but i ran into some problems. 

 

Because i am very new to the topic, i decided to follow a YouTube Tutorial. 

 

But when i tried to search my usb stick and select it, this weird errow message comes up: 

image.thumb.png.918154abb9a123471a1d4313b02b3eb3.png

 

So my loader is definitely on the SanDisk and i also tried a different USB Stick as well. And of course, i tried a USB 2.0 port, but always the same error code. 

And the second option "Realtek" should by my second network card, since my pc got two.

 

And i don´t know what to do, since the system obviously saw the usb stick, but could not select it. If i skip this part of the tutorial, the "Synology" boots in the screen where you have to put your .pat file in, but stops the installation at about 60%.

 

Could anybody please help me? 

 

Thank you :)

 

 

This would be the tutorial i followed. I tried to install the DSM on Bare Metal and not on a VM, but i think that both are very similiar, and that was the best tutorial i could find. 

 

  • Like 1
  • Thanks 1
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...