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

黑群晖ds918 引导7.0.1 显示硬盘错误 是参数问题还是硬盘问题

本帖由 xcgf2022-02-08 发布。版面名称:群晖 Synology DSM

  1. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
    为什么 主板还是一样的 参数不对 以前能识别硬盘 现在不行
    #
    # ### !!! WARNING - READ ME !!! ###
    #
    # DO NOT edit this file. This file has been generated automatically by the loader generator.
    # If you were asked to use a pre-made image and asked by someone to edit this file DO NOT do it. The only
    # supported method of obtaining the loader image is generating it using the loader generator provided.
    #

    terminal_output console
    if serial --unit=0 --speed=115200; then
    terminal_input --append serial_com0
    terminal_output --append serial_com0
    fi

    set default="0"
    set timeout="5"
    set timeout_style="menu"

    if [ -s $prefix/grubenv ]; then
    load_env --file $prefix/grubenv --skip-sig
    set has_env="1"
    if [ -n "${saved_entry}" ]; then
    set default="${saved_entry}"
    fi
    else
    set has_env="0"
    echo "WARN: failed to load env. Default choice will NOT be saved!"
    fi


    function savedefault {
    saved_entry="${chosen}"
    save_env --file $prefix/grubenv saved_entry
    }


    insmod usb_keyboard
    insmod part_msdos
    insmod ext2
    insmod fat
    insmod linux
    insmod gzio

    set gfxmode=auto
    insmod vbe
    insmod vga

    # UEFI
    insmod efi_gop
    insmod efi_uga

    insmod font
    if loadfont ${prefix}/unicode.pf2
    then
    insmod gfxterm
    set gfxmode=auto
    set gfxpayload=keep
    terminal_output gfxterm
    fi

    menuentry 'RedPill DS918+ v7.0.1-42218 (USB, Verbose)' {
    savedefault
    set root=(hd0,msdos1)
    echo Loading Linux...
    linux /zImage withefi earlyprintk syno_hw_version=DS918+ console=ttyS0,115200n8 netif_num=1 pid=0x6387 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac1=00113281FBE3 sn=2150SBRFJY4TC vid=0x058f elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0004 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=1 log_buf_len=32M root=/dev/md0 SataPortMap=41
    echo Loading initramfs...
    initrd /rd.gz /custom.gz
    echo Starting kernel with USB boot
    }

    menuentry 'RedPill DS918+ v7.0.1-42218 (SATA, Verbose)' {
    savedefault
    set root=(hd0,msdos1)
    echo Loading Linux...
    linux /zImage withefi earlyprintk syno_hw_version=DS918+ console=ttyS0,115200n8 netif_num=1 pid=0x6387 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 syno_port_thaw=1 mac1=00113281FBE3 sn=2150SBRFJY4TC vid=0x058f elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0004 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=1 log_buf_len=32M root=/dev/md0 SataPortMap=41
    echo Loading initramfs...
    initrd /rd.gz /custom.gz
    echo Starting kernel with SATA boot
    echo WARNING: SATA boot support on this platform is experimental!
    }


    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
    }

    [​IMG]

    [​IMG]
     
  2. 95671yang

    95671yang New Member

    注册:
    2022-01-09
    帖子:
    9
    老哥我同样主板同样问题,解决了吗,咋改的参数让我借鉴一下,谢谢!