1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

【更新至0.9.4.4,可直接编译】DSM7引导编译器Tinycore-redpill使用教程

本帖由 llm19782022-03-19 发布。版面名称:群晖 Synology DSM

  1. ddty555

    ddty555 New Member

    注册:
    2020-05-23
    帖子:
    18
    换了一个u盘还是这样 我试试把硬盘去了看看
     
  2. cliffZ

    cliffZ Member

    注册:
    2022-04-07
    帖子:
    39
    编译DS3615xs成功,过程如下
    sudo ./rploader.sh serialgen DS3615xs now
    Serial Number for Model : 1430LWN005428
    Mac Address for Model DS3615xs : 00:11:32:EB:DE:EF

    sudo ./rploader.sh satamap now
    HBA: 00:1f.2 Disks : 6
    HBA: 00:1e.0 Disks : 13
    SataPortMap=613
    DiskIdxMap=000D

    sudo ./rploader.sh identifyusb now
    Machine is VIRTUAL Hypervisor=KVM
    Found ADATA ADATA SerialNumber: 15B1918350660013
    Vendor ID : 0x125f Product ID : 0x312b

    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/8139too/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8152/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-acpid/rpext-index.json
    sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-misc/rpext-index.json

    我的机器不需要
    #sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/8139cp/rpext-index.json
    #sudo ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json


    sudo ./rploader.sh build bromolow-7.1.0-42661

    R8152校验出错:
    sudo vi redpill-load/custom/extensions/pocopico.r8152/pocopico.r8152.json
    修改ds3615xs_42218.json内容如下
    {
    "mod_version": "v1",
    "files": [
    {
    "name": "r8152-3.10.108.tgz",
    "url": "https://raw.githubusercontent.com/pocopico/rp-ext/master/r8152/releases/r8152-3.10.108.tgz",
    "sha256": "b4deb4c6557343065deb4bea82892c9bb8e24650215ce2903c739121abf703dd",
    "packed": true
    },
    {
    "name": "check-r8152.sh",
    "url": "https://raw.githubusercontent.com/pocopico/rp-ext/master/r8152/src/check-r8152.sh",
    "sha256": "82c40b3f3bd92877108836c8d1d2fe0c0ba89c24e802c51b04f9d0a92efb8bce",
    "packed": false
    }
    ],
    "kmods": {
    "mii.ko": "",
    "r8152.ko":""
    },

    "scripts": {
    "on_boot": "check-r8152.sh"
    }
    }
    保存后,放到一个可以访问的地方,然后url换成自己的 ds3617xs_42661": "http://xx.dscloud.me:9999/ds3615xs_42218.json",然后在编译sudo ./rploader.sh build bromolow-7.1.0-42661

    pat文件只能用官方的
     
    已获得 vbplayjiwind 的点赞。
  3. jiwind

    jiwind Member

    注册:
    2022-03-17
    帖子:
    31
    你好,这个机型是随便选吗?因为我之前用别人的引导文件,都是3622
     
  4. cliffZ

    cliffZ Member

    注册:
    2022-04-07
    帖子:
    39
    我是看了下硬件列表3615的配置和我的很接近,主要是cpu,就选了这个,我是在pve下安装的
    之前用的是别人编译好的6.2 还可以。想升级到7,用了一圈其他的都不行,只能自己编译,7.0.1也是用lz的方法编译成功,然后从6.2升级到7.0.1
    这回又想升级到7.1,所以先也自己编译,别人编译好的3615网卡一直不能引导驱动。用lz的这个可以成功安装了
     
  5. zjkubi

    zjkubi New Member

    注册:
    2020-12-14
    帖子:
    10
    看看怎么用的
     
  6. qmzpqmzp

    qmzpqmzp New Member

    注册:
    2021-01-12
    帖子:
    2
    学习一下
     
  7. nimbus

    nimbus New Member

    注册:
    2021-10-28
    帖子:
    3
    看看中文的,之前编译太费劲了。
     
  8. love90618

    love90618 New Member

    注册:
    2018-01-20
    帖子:
    24
    这个必须支持!!!!!!!!!!!!!!!!!!!!!
     
  9. lqzhj

    lqzhj New Member

    注册:
    2022-04-12
    帖子:
    3
    look look tks
     
  10. cliffZ

    cliffZ Member

    注册:
    2022-04-07
    帖子:
    39
    安装完成后,重启,又提示没有安装。用u盘引导也一样,试了好多次,都不行。不知道问题出在哪里了。

    会不会是redpill-misc 这个没成功,编辑过程有下面错误也能编译出包
    [-] https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json
    [-] rpext-index.json
    [-] json
    [-] https://ghproxy.llm-y2k.workers.dev...ill-load/master/redpill-misc/rpext-index.json
    curl: (6) Could not resolve host: ghproxy.llm-y2k.workers.dev
    Warning: Transient problem: timeout Will retry in 1 seconds. 5 retries left.
    curl: (6) Could not resolve host: ghproxy.llm-y2k.workers.dev # # # #
    Warning: Transient problem: timeout Will retry in 2 seconds. 4 retries left.
    curl: (6) Could not resolve host: ghproxy.llm-y2k.workers.dev # # ##
    Warning: Transient problem: timeout Will retry in 4 seconds. 3 retries left.
    curl: (6) Could not resolve host: ghproxy.llm-y2k.workers.dev # # # #
    Warning: Transient problem: timeout Will retry in 8 seconds. 2 retries left.
    curl: (6) Could not resolve host: ghproxy.llm-y2k.workers.dev
    Warning: Transient problem: timeout Will retry in 16 seconds. 1 retries left.
    curl: (6) Could not resolve host: ghproxy.llm-y2k.workers.dev

    [!] Failed to download https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json



    *** Process will exit ***

    [!] Failed to add "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json" as an extension:


    ,

    *** Process will exit ***
    Updating extension : redpill-misc contents for model : ds3615xs_42661



    ###在编译成功最后有一段
    Mounting /dev/sdd1 to localdiskp1
    /dev/sdd2 localdiskp2
    Creating tinycore entry
    menuentry 'Tiny Core Image Build' {
    savedefault
    set root=(hd0,msdos3)
    echo Loading Linux...
    linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791
    echo Loading initramfs...
    initrd /corepure64.gz
    echo Booting TinyCore for loader creation
    }
    Entries in Localdisk bootloader :
    =======================================================================
    menuentry 'RedPill DS3615xs v7.1.0-42661 (USB, Verbose)' {
    menuentry 'RedPill DS3615xs v7.1.0-42661 (SATA, Verbose)' {
    menuentry 'Tiny Core Image Build' {
    Machine is VIRTUAL Hypervisor=KVM
    Setting default boot entry to SATA
    Caching files for future use
    Found /home/tc/redpill-load/cache/ds3615xs_42661.pat, copying to cache directory : /mnt/sdd3/auxfiles
    cp: failed to preserve ownership for '/mnt/sdd3/auxfiles/ds3615xs_42661.pat': Operation not permitted
    tc@box:~$

    这个是正常情况吗?
     
    最后编辑: 2022-04-20