Jump to content
XPEnology Community

QNAP auf eigener Hardware


fa2k

Recommended Posts

6 hours ago, snoopy78 said:

Yes, you must so some Changes at baremetal....i think i made a quick summarization in one of my entries....

 

 

 

 

I'm currently running an ASRock D1542U Mobo with 2* m.2 mSATA + 5 (out of 8, since WebGUI won't display these, even they are detected in console ) LSI 9300 das hba HDD/SSD + 2* (out off 4) via QM2 4 Port m.2 nvme PCIe Card.

 

So in total 

2*500GB WD Red m.2 SATA SSD in Raid1 1(mirror) as Volume for all Apps, Docker, VM's and Importamt data (8 Docker + 4 VMs)

1*1TB Samsung 970Evo Plus as Volume 

1*2TB Samsung 970Evo Plus as Volume 

1* 4TB WD Red Pro HDD for IPTV recording aß Volume

1* 18TB Thosiba Enterprise HDD as Volume

 

and for Testing currently 1* 4TB Seagate (Home User) HDD for QVR as recording Volume for CCTVs 

 

I've also modified my Initial Scripts as mentioned earlier to prevent a qnap Bug/behavior...

 

Now i only wait for my Sundtek DVB-S2X to USB (2* sag) Box from Taiwan, then my Windows Server DVBViewer for Home IPTV can ein virtualized...

 

Power consumption ist around 100W with Spikes to 150W unser load..

 

The downside ist, that the Boot time ist ~ 15-20minutes...but i don't Boot this device..

Are you using a patch file? My boot time is 2 minutes. 

Link to comment
Share on other sites

Servus,

 

habe folgendes System getestet:

TVS-882X
MODEL_TYPE="Q0121_Q0160_17_10"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

und gemerkt das es nicht zu meiner Hardware passt 2 Cpus 2 lüfter 8 HDD +2SSD etc...

 

Meine Hardware hat nur eine Intel Xeon Cpu  und 4 HDDs

 

Deswegen würde ich gerne das passende System TVS-472X testen.

Weis aber nicht den genauen Model Type und habe auch keinen gefunden :( 

 

Kann mir einer bei Model Type suche weiterhelfen?

 

TVS-472X
MODEL_TYPE="???????"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

Danke für die Unterstützung.

Edited by xenix96
Link to comment
Share on other sites

9 minutes ago, xenix96 said:

Servus,

 

habe folgendes System getestet:

TVS-882X
MODEL_TYPE="Q0121_Q0160_17_10"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

und gemerkt das es nicht zu meiner Hardware passt 2 Cpus 2 lüfter 8 HDD +2SSD etc...

 

Meine Hardware hat nur eine Intel Xeon Cpu  und 4 HDDs

 

Deswegen würde ich gerne das passende System TVS-472X testen.

Weis aber nicht den genauen Model Type und habe auch keinen gefunden :( 

 

Kann mir einer bei Model Type suche weiterhelfen?

 

TVS-472X
MODEL_TYPE="???????"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

Danke für die Unterstützung.

 

ok hab es gefunden :)

 

Für alle die es auch testen wollen:

 

TVS-472X
MODEL_TYPE="Q0120_Q0180_10_10"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

 

Link to comment
Share on other sites

8 minutes ago, xenix96 said:

Servus,

 

habe folgendes System getestet:

TVS-882X
MODEL_TYPE="Q0121_Q0160_17_10"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

und gemerkt das es nicht zu meiner Hardware passt 2 Cpus 2 lüfter 8 HDD +2SSD etc...

 

Meine Hardware hat nur eine Intel Xeon Cpu  und 4 HDDs

 

Deswegen würde ich gerne das passende System TVS-472X testen.

Weis aber nicht den genauen Model Type und habe auch keinen gefunden :( 

 

Kann mir einer bei Model Type suche weiterhelfen?

 

TVS-472X
MODEL_TYPE="???????"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

Danke für die Unterstützung.

 

wenn du die Firmware heruntergeladen hast (bevor du neu startest) musst du per winscp auf das system gehen und mal in den Unterordnern schauen...da gibt es irgendwo mehrere solcher Dateien " model_Q0121_Q0160_17_10 " ....hier steht dann oben in den Dateien um welches Modell es sich handelt.... somit hat du dann den Modellname..

 

Das ist ein TVS-872X, bei dem findest Du diese Dateien auf jeden Fall..

 

  MODEL_TYPE="Q0121_Q0160_17_10"
  PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
  DOWNLOAD_URL="https://eu1.qnap.com/Storage/TS-X72/"

 

  • Thanks 1
Link to comment
Share on other sites

1 minute ago, snoopy78 said:

 

wenn du die Firmware heruntergeladen hast (bevor du neu startest) musst du per winscp auf das system gehen und mal in den Unterordnern schauen...da gibt es irgendwo mehrere solcher Dateien " model_Q0121_Q0160_17_10 " ....hier steht dann oben in den Dateien um welches Modell es sich handelt.... somit hat du dann den Modellname..

 

Das ist ein TVS-872X, bei dem findest Du diese Dateien auf jeden Fall..

 

  MODEL_TYPE="Q0121_Q0160_17_10"
  PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
  DOWNLOAD_URL="https://eu1.qnap.com/Storage/TS-X72/"

 

 

Danke für die Info. Habe es gleich in meine HowTos vermerkt :)

 

Snoopy gibt es einen HEX to Dezimal converter für die model.conf Anpassung?

 

Auszug von putty:

 

tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1(rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #11 (rev f1)
00:1d.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #12 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 System peripheral: Hewlett-Packard Company Integrated Lights-Out Standard Slave Instrumentation & System Support (rev 06)
01:00.1 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200EH (rev 01)
01:00.2 System peripheral: Hewlett-Packard Company Integrated Lights-Out Standard Management Processor Support and Messaging (rev 06)
01:00.4 USB controller: Hewlett-Packard Company Integrated Lights-Out Standard Virtual USB Controller (rev 03)
02:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe



tc@box:~$ lspci -vnnt
-[0000:00]-+-00.0  Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1918]
           +-14.0  Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f]
           +-16.0  Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a]
           +-17.0  Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102]
           +-1c.0-[03]--
           +-1c.4-[06]--
           +-1d.0-[01]--+-00.0  Hewlett-Packard Company Integrated Lights-Out Standard Slave Instrumentation & System Support [103c:3306]
           |            +-00.1  Matrox Electronics Systems Ltd. MGA G200EH [102b:0533]
           |            +-00.2  Hewlett-Packard Company Integrated Lights-Out Standard Management Processor Support and Messaging [103c:3307]
           |            \-00.4  Hewlett-Packard Company Integrated Lights-Out Standard Virtual USB Controller [103c:3300]
           +-1d.2-[02]--+-00.0  Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
           |            \-00.1  Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
           +-1d.3-[09]--
           +-1f.0  Intel Corporation Sunrise Point-H LPC Controller [8086:a149]
           +-1f.2  Intel Corporation Sunrise Point-H PMC [8086:a121]
           \-1f.4  Intel Corporation Sunrise Point-H SMBus [8086:a123]

 

 

Link to comment
Share on other sites

1 minute ago, snoopy78 said:

;) den Windows Taschenrechner....einfach auf Programmierer umstellen, HEX auswählen, HEX Wert (z.B. 1d) eintragen....und bei DEZ den Wert ablesen...

 

umständlicher geht es hier

https://www.rapidtables.com/convert/number/hex-to-decimal.html

 

Merci für die schnelle Antwort Snoopy

Man lernt nie aus ^^ 

Dank dir vervollständigt sich meine HowTo Liste🤝

Link to comment
Share on other sites

5 minutes ago, snoopy78 said:

kein Problem....das Umrechnen ist ganz wichtig, da man dieses Image NICHT!! aktualisieren  (updaten) kann.

es gibt im chin. forum schon eine neue version, welche dann upgradefähig ist....ist eigentlich simpel zu installieren, solange der usb boot port korrekt eingestellt ist...

Soweit ich hier richtig gelesen habe sollte man die richtig eingestellte model.conf per wincp abspeichern und beim upgrade einfach die default model.conf replacen.

 

Hast du die neue .img version?

 

Ich nutze aktuell die von Poco.

Edited by xenix96
Link to comment
Share on other sites

Test build -> TVS-472X
MODEL_TYPE="Q0120_Q0180_10_10"
PATCHED_FIRMWARE="TS-X72_20211221-5.0.0.1891"
DOWNLOAD_URL="https://download.qnap.com/Storage/TS-X72/"

 

 

Sieht schon mal gut aus ..... Es lebt :)

2022-02-04 20_29_47-.png

2.png

3.png

 

 

Ohjee irgendwas passt diesmal nicht.....

 

Hat anscheinend kurzzeitig die Verbindung verloren wegen neuer ip vergabe von der fritz ..... warum auch immer ...naja weiter gehts :)=

 

4.png

 

 

tc@box:~$ sudo ./my_create_qnap_boot
Clear the boot, Please wait a while.
Start to download the QNAP firmware. Please wait a while.
Connecting to eu1.qnap.com (80.74.156.130:443)
TS-X72_20211221-5.0. 100% |*******************************|   205M  0:00:00 ETA
Uncompressing QNAP original firmware
Archive:  ./TS-X72_20211221-5.0.0.1891.zip
  inflating: TS-X72_20211221-5.0.0.1891.img
Using 120-bit encryption - (QNAPNASVERSION4)
len=1048576
model name = TS-X72
version = 5.0.0
bzImage
bzImage.cksum
initrd.boot
initrd.boot.cksum
qpkg.tar
qpkg.tar.cksum
rootfs2.bz
rootfs2.bz.cksum
rootfs_ext.tgz
rootfs_ext.tgz.cksum
==================
DEV_BUS=B00:D23:F0
==================
Patch model system disk controller config.
This script will try to determine the DEV_BUS of your devices, please verify generated model.conf
Getting model.conf from your initrd folder
Total eth devices discovered = 2
[System Network 1]
DEV_BUS = B02:D00:F0
[System Network 2]
DEV_BUS = B02:D00:F1
Getting Boot Disk information
[Boot Disk 1]
DEV_BUS = B00:D20:F0
Trying to figure out connected disk bus
Found Disks :
sda
sdb
sdc
sdd
[System Disk 11]
DEV_BUS = B00:D23:F0
DEV_PORT = -1
[System Disk 12]
DEV_BUS = B00:D23:F0
DEV_PORT = -1
[System Disk 13]
DEV_BUS = B00:D23:F0
DEV_PORT = -1
[System Disk 14]
DEV_BUS = B00:D23:F0
DEV_PORT = -1
Total USB controllers  discovered = 2
[Usb Port 1]
DEV_BUS = B00:D20:F0
[Usb Port 2]
DEV_BUS = B01:D00:F4
Found more PCI devices than your current model  TVS-472X is supporting, maxing selections to that number verify yourself
Total PCI Bridges discovered = 2
[System PCIE SLOT 1]
DEV_BUS = B00:D28:F0
[System PCIE SLOT 2]
DEV_BUS = B00:D28:F4
Finding memory slots
Trying to figure out memory modules
Loading additional tinycore software
dmidecode is already installed!
Done with detection, i'm putting modified model.conf back to initrd location
Please check the below output for changes we performed in initrd/etc/model.conf
-------------------------------------------------------------------------
[System Network 1]
DEV_BUS = B02:D00:F0
--
[System Network 2]
DEV_BUS = B02:D00:F1
--
[System Network 3]
DEV_BUS = B00:D29:F2
[Boot Disk 1]
DEV_BUS = B00:D20:F0
[System Disk 1]
DEV_BUS=B00:D23:F0
DEV_PORT = 3
--
[System Disk 2]
DEV_BUS=B00:D23:F0
DEV_PORT = 2
--
[System Disk 3]
DEV_BUS=B00:D23:F0
DEV_PORT = 1
--
[System Disk 4]
DEV_BUS=B00:D23:F0
DEV_PORT = 0
--
[System Disk 5]
DISK_FORM_TYPE = PD_FORM_M_2_PCIE
BUS_TYPE = NVME
--
[System Disk 6]
DISK_FORM_TYPE = PD_FORM_M_2_PCIE
BUS_TYPE = NVME
[Usb Port 1]
DEV_BUS = B00:D20:F0
--
[Usb Port 2]
DEV_BUS = B01:D00:F4
--
[Usb Port 3]
DEV_BUS = B00:D20:F0
--
[Usb Port 4]
DEV_BUS = B00:D20:F0
--
[Usb Port 5]
DEV_BUS = B00:D20:F0
--
[Usb Port 6]
DEV_BUS = B00:D01:F0
--
[Usb Port 7]
DEV_BUS = B00:D01:F0
--
[Usb Port 8]
DEV_BUS = B00:D28:F0
--
[Usb Port 9]
DEV_BUS = B00:D28:F0
[System PCIE SLOT 1]
DEV_BUS = B00:D28:F0
--
[System PCIE SLOT 2]
DEV_BUS = B00:D28:F4
SLOT1_ADDR = 1, 0x50
SLOT2_ADDR = 2, 0x52
----------------------------------------------------------------={ DONE }=---------
Please verify model.conf and then execute ./pack_your_initrd
Re-packing the QNAP RAM disk. Please wait a while.
Repair the rootfs2.bz file. Please wait a while.

Create QNAP boot disk successful
If you need to modify the model file in the mymodel directory, execute sudo cp -f ./mymodel/* ./initrd/etc/
Re-execute sudo ./re_packing to complete boot disk creation
Please restart the system if not needed

tc@box:~$

 

So dann ran an die model.conf ..... 

Edited by xenix96
Link to comment
Share on other sites

10 minutes ago, snoopy78 said:

funktioniert...ist aber alles auf chinesisch..^^

 

Ok dann bastle ich mal mit der Poco .img weiter die ja anscheinend automatisch hex to dezimal umrechnet und die  model.conf korrigiert

Hab nur einen Eintrag gefunden den ich meine korrigieren zu müssen ..... der rest war richtig umgerechnet.... mal sehen 😅

Edited by xenix96
Link to comment
Share on other sites

hier eine kleine (grobe) Anleitungf zum neuen Image...

 

- gewünschte Firmware von QNAP herunterladen
- USB Stick (#1) mit ISO vorbereiten und booten
==> in Tinycore wechseln
===> admin/admin
====> ipconfig
=> SSH in das System
==> tc/admin
=> winscp in das System
==> tc/admin
===> via WinSCP die heruntergeladene Firmwaredatei auf das System kopieren
====> wenn du eine model.conf hast, ggfls. diese auch gleich in das Verzeichnis kopieren
=> in SSH folgende Befehle eingeben
==> sudo get_qnap_firmware /home/tc/TS-X72_20211223-4.5.4.1892.zip
- leeren USB Stick (#2) anstecken (!! der wird später alles zum Booten enthalten und muss nicht mehr entfernt werden)
==> ls -al /sys/block /sd*
===> die Ausgabe dokumentieren und umrechnen
z.B.
/devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4:1.0/host6/target6:0:0/6:0:0:0/block/sda/

=> diese Wert in model.conf eintragen (wenn das nicht stimmt, bootet er nur bis ca. 18Sek)
=> [Boot Disk 1]
DEV_BUS = B00:D20:F0
DEV_PORT = 4

==> sudo cp model.conf /home/tc/patch/etc/model.conf
==> sudo create_qnap_boot

1. USB Stick rausziehen und dann sollte es laufen


 

  • Thanks 2
Link to comment
Share on other sites

5 hours ago, snoopy78 said:

hier eine kleine (grobe) Anleitungf zum neuen Image...

 

- gewünschte Firmware von QNAP herunterladen
- USB Stick (#1) mit ISO vorbereiten und booten
==> in Tinycore wechseln
===> admin/admin
====> ipconfig
=> SSH in das System
==> tc/admin
=> winscp in das System
==> tc/admin
===> via WinSCP die heruntergeladene Firmwaredatei auf das System kopieren
====> wenn du eine model.conf hast, ggfls. diese auch gleich in das Verzeichnis kopieren
=> in SSH folgende Befehle eingeben
==> sudo get_qnap_firmware /home/tc/TS-X72_20211223-4.5.4.1892.zip
- leeren USB Stick (#2) anstecken (!! der wird später alles zum Booten enthalten und muss nicht mehr entfernt werden)
==> ls -al /sys/block /sd*
===> die Ausgabe dokumentieren und umrechnen
z.B.
/devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4:1.0/host6/target6:0:0/6:0:0:0/block/sda/

=> diese Wert in model.conf eintragen (wenn das nicht stimmt, bootet er nur bis ca. 18Sek)
=> [Boot Disk 1]
DEV_BUS = B00:D20:F0
DEV_PORT = 4

==> sudo cp model.conf /home/tc/patch/etc/model.conf
==> sudo create_qnap_boot

1. USB Stick rausziehen und dann sollte es laufen


 

 

Servus @snoopy78,

bin an dem Punkt "sudo creat_qnap_boot" angelangt und es installiert nun das Qnap boot disk auf die Boot USB

Wie lange dauert das ungefähr? 10min ? fragt er mich danach ob ich neu starten will ?

 

...ok es geht weiter ... ich muss glaube ich nur geduldig sein 😅

 

.....Create [/dev/sdc] boot disk successful!...... ich nehme nun dir Chinese Boot USB raus und starte nur mit der Internal QNAP Boot USB...mal schauen ob es funzt ^^

 

....anscheinend habe ich den falschen usb slot ausgesucht ... probiere es nun noch einmal .....

 

Zweiter Anlauf.....Create [/dev/sdc] boot disk successful!......... rebooting

 

Auszug aus Putty:

 

login as: tc
   ( '>')
  /) TC (\   Core is distributed with ABSOLUTELY NO WARRANTY.
 (/-_--_-\)           www.tinycorelinux.net

OpenSSH daemon is running

There are three steps to build the QNAP system boot disk.

1. Get the qnap firmware from offical URL or your device.

   You can do it by using following command:
   get_qnap_firware [ offical_URL | block_device | qnap_firmware.zip ]
   Or
   Manually copy the firmwar files into /home/tc/boot directory

2. Manually edit the /home/tc/patch/etc/model.conf file for your hardware.
   Please see my article on NASYUN for details or refer the model_examples.

3. After confirm the model.conf match your hardware
   You can use the following command to create qnap boot disk.

   create_qnap_boot

tc@box:~$ sudo get_qnap_firmware /home/tc/TS-X72_20211221-5.0.0.1891.zip
Get the qnap firmware from file [/home/tc/TS-X72_20211221-5.0.0.1891.zip]; Please wait a while.
cp: '/home/tc/TS-X72_20211221-5.0.0.1891.zip' and '/home/tc/TS-X72_20211221-5.0.0.1891.zip' are the same file
Archive:  /home/tc/TS-X72_20211221-5.0.0.1891.zip
  inflating: TS-X72_20211221-5.0.0.1891.img
Using 120-bit encryption - (QNAPNASVERSION4)
len=1048576
model name = TS-X72
version = 5.0.0
bzImage
bzImage.cksum
initrd.boot
initrd.boot.cksum
qpkg.tar
qpkg.tar.cksum
rootfs2.bz
rootfs2.bz.cksum
rootfs_ext.tgz
rootfs_ext.tgz.cksum
=====Start verify qunp firmware=====
[ Verifying the bzImage] => PASSED
[ Verifying the initrd.boot] => PASSED
[ Verifying the qpkg.tar] => PASSED
[ Verifying the rootfs_ext.tgz] => PASSED
[ Verifying the rootfs2.bz] => PASSED
=====Verify qunp firmware is OK=====
Get qnap firmware successful.
tc@box:~$ ls -al /sys/block /sd*
ls: /sd*: No such file or directory
/sys/block:
total 0
drwxr-xr-x    2 root     root             0 Feb  5 18:20 ./
dr-xr-xr-x   13 root     root             0 Feb  5 18:20 ../
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop0 -> ../devices/virtual/block/loop0/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop1 -> ../devices/virtual/block/loop1/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop2 -> ../devices/virtual/block/loop2/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop3 -> ../devices/virtual/block/loop3/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop4 -> ../devices/virtual/block/loop4/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop5 -> ../devices/virtual/block/loop5/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop6 -> ../devices/virtual/block/loop6/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 loop7 -> ../devices/virtual/block/loop7/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram0 -> ../devices/virtual/block/ram0/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram1 -> ../devices/virtual/block/ram1/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram2 -> ../devices/virtual/block/ram2/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram3 -> ../devices/virtual/block/ram3/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram4 -> ../devices/virtual/block/ram4/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram5 -> ../devices/virtual/block/ram5/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram6 -> ../devices/virtual/block/ram6/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 ram7 -> ../devices/virtual/block/ram7/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 sda -> ../devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0                            :0/0:0:0:0/block/sda/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 sdb -> ../devices/pci0000:00/0000:00:17.0/ata2/host1/target1:0                            :0/1:0:0:0/block/sdb/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 sdc -> ../devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/hos                            t8/target8:0:0/8:0:0:0/block/sdc/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 sdd -> ../devices/pci0000:00/0000:00:14.0/usb2/2-9/2-9:1.0/hos                            t9/target9:0:0/9:0:0:0/block/sdd/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 sr0 -> ../devices/pci0000:00/0000:00:17.0/ata5/host4/target4:0                            :0/4:0:0:0/block/sr0/
lrwxrwxrwx    1 root     root             0 Feb  5 18:20 zram0 -> ../devices/virtual/block/zram0/
tc@box:~$ sudo cp model.conf /home/tc/patch/etc/model.conf
tc@box:~$ sudo create_qnap_boot
=====Start verify qunp firmware=====
[ Verifying the bzImage] => PASSED
[ Verifying the initrd.boot] => PASSED
[ Verifying the qpkg.tar] => PASSED
[ Verifying the rootfs_ext.tgz] => PASSED
[ Verifying the rootfs2.bz] => PASSED
=====Verify qunp firmware is OK=====
Re-packing the patch.gz. Please wait a while.
Re-packing the patch.gz successful.

There are following targets for you to install QNAP boot disk:
[1]=>[/dev/sda]
[2]=>[/dev/sdb]
[3]=>[/dev/sdc]
[4]=>[/dev/sdd]
Please select the following [number] for the target device:4
=====[start to install QNAP boot disk on /dev/sdd]=====
Start to make partition on /dev/sdd for EFI boot disk
Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

Parted /dev/sdd for EFI boot disk successful.
mkfs.fat 3.0.26 (2014-03-07)
mke2fs 1.44.4 (18-Aug-2018)
Creating filesystem with 307200 1k blocks and 76912 inodes
Filesystem UUID: defbf2ce-80d0-4a26-8b9c-de9760cbff0b
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

mke2fs 1.44.4 (18-Aug-2018)
Creating filesystem with 307200 1k blocks and 76912 inodes
Filesystem UUID: 0df81357-944c-447a-b220-5005efebaf7f
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

mke2fs 1.44.4 (18-Aug-2018)
Creating filesystem with 8192 1k blocks and 2048 inodes

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

mke2fs 1.44.4 (18-Aug-2018)
Creating filesystem with 8192 1k blocks and 2048 inodes

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

mke2fs 1.44.4 (18-Aug-2018)
Creating filesystem with 7503611 4k blocks and 1875968 inodes
Filesystem UUID: 70f32f62-a88e-4788-ba94-caf0f6c73df0
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

mke2fs 1.44.4 (18-Aug-2018)
Creating filesystem with 8192 1k blocks and 2048 inodes

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

Format all /dev/sdd partitions successful.
Installing for x86_64-efi platform.
Installation finished. No error reported.
Config grub2 main menu
cp: can't stat '/mnt/sdd/cde': No such file or directory
cp: can't stat '/mnt/sdd/Install': No such file or directory
Copy QNAP System into targer disk
Copy tool kit into [/dev/sdd]

Create [/dev/sdd] boot disk successful!

 

Edited by xenix96
Link to comment
Share on other sites

30 minutes ago, xenix96 said:

 

Servus @snoopy78,

bin an dem Punkt "sudo creat_qnap_boot" angelangt und es installiert nun das Qnap boot disk auf die Boot USB

Wie lange dauert das ungefähr? 10min ? fragt er mich danach ob ich neu starten will ?

 

...ok es geht weiter ... ich muss glaube ich nur geduldig sein 😅

 

.....Create [/dev/sdc] boot disk successful!...... ich nehme nun den Boot USB raus und starte nur mit der QNap Boot USB...mal schauen ob es funzt ^^

 

....anscheinend habe ich den falschen usb slot ausgesucht ... probiere es nun noch einmal .....

 

Auszug aus Putty:

 

Update folgt....

 

 

du brauchst dann nur den USB Stick #2 ...den 1. kannst du ziehen, der wird nicht mehr benötigt..;)

 

Ja, wenn du bei ca. 18Sek im Boot stehen bleibst ist der falsche Port ausgewählt.

Idealerweise nutzt du einen USB Port, welcher an keinem HUB hängt, weil das noch ein bisserl mehr tricky ist...

  • Thanks 1
Link to comment
Share on other sites

4 minutes ago, snoopy78 said:

 

du brauchst dann nur den USB Stick #2 ...den 1. kannst du ziehen, der wird nicht mehr benötigt..;)

 

Ja, wenn du bei ca. 18Sek im Boot stehen bleibst ist der falsche Port ausgewählt.

Idealerweise nutzt du einen USB Port, welcher an keinem HUB hängt, weil das noch ein bisserl mehr tricky ist...

Ich benutze hierzu den Onboard USB Slot :)  

Wenn alle passt ist der im Gehäuse verschlossen drine 

20220205_192952.jpg

Link to comment
Share on other sites

5 hours ago, snoopy78 said:

Here is a small (rough) guide to the new image...

 

- download desired firmware from QNAP
- prepare USB stick (#1) with ISO and boot
==> switch to
Tinycore ===> admin/admin
====> ipconfig
=> SSH into the system
==> tc/admin
= > winscp into the system
==> tc/admin
===> copy the downloaded firmware file to the system via WinSCP
====> if you have a model.conf, if necessary. Copy this into the directory as well
=> enter the following commands in SSH
==> sudo get_qnap_firmware /home/tc/TS-X72_20211223-4.5.4.1892.zip
- plug in the empty USB stick (#2) (!! it will later become everything for boot and does not need to be removed)
==> ls -al /sys/block /sd*
===> Document and convert the output, e.g.
/devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4:1.0/host6/target6:0:0/6:0:0:0
/block/sda/

=> enter this value in model.conf (if this is not correct, it only boots up to approx. 18 seconds)
=> [Boot Disk 1]
DEV_BUS = B00:D20:F0
DEV_PORT = 4

==> sudo cp model.conf /home/tc/patch/etc/model.conf
==> sudo create_qnap_boot

1. Pull out the USB stick and then it should run


 

Hallo snoopy78,
Zunächst einmal vielen Dank für Ihre Hilfe und die Informationen, die Sie geteilt haben.
Wird das neue Image mit der zuvor freigegebenen Datei namens QNAP-BOOT-EN-v1.00.img erstellt? Oder gibt es eine neue Version?

Link to comment
Share on other sites

1 minute ago, szararsiz said:

Hallo snoopy78,
Zunächst einmal vielen Dank für Ihre Hilfe und die Informationen, die Sie geteilt haben.
Wird das neue Image mit der zuvor freigegebenen Datei namens QNAP-BOOT-EN-v1.00.img erstellt? Oder gibt es eine neue Version?

eine neue .iso Version die du im unteren Quote downloaden kannst ✌️

 

22 hours ago, karlthesmall said:

Hi my friends,

 

here is the link to the "Year of the OX" Loader someone mentioned earlier.

 

Year of the Ox

 

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