登录群晖
然后如图操作
脚本代码在图片下边
复制以下脚本代码
mkdir -p /volume1/tmp/boot
cd /dev
mount -t vfat synoboot1 /volume1/tmp/boot/
mount -t vfat sda /volume1/tmp/boot/
mount -t vfat sda1 /volume1/tmp/boot/
mount -t vfat sda2 /volume1/tmp/boot/
mount -t vfat sda3 /volume1/tmp/boot/
mount -t vfat sda4 /volume1/tmp/boot/
mount -t vfat sda5 /volume1/tmp/boot/
mount -t vfat sdb /volume1/tmp/boot/
mount -t vfat sdb1 /volume1/tmp/boot/
mount -t vfat sdb2 /volume1/tmp/boot/
mount -t vfat sdb3 /volume1/tmp/boot/
mount -t vfat sdb4 /volume1/tmp/boot/
mount -t vfat sdb5 /volume1/tmp/boot/
mount -t vfat sdc /volume1/tmp/boot/
mount -t vfat sdc1 /volume1/tmp/boot/
mount -t vfat sdc2 /volume1/tmp/boot/
mount -t vfat sdc3 /volume1/tmp/boot/
mount -t vfat sdc4 /volume1/tmp/boot/
mount -t vfat sdc5 /volume1/tmp/boot/
mount -t vfat sdd /volume1/tmp/boot/
mount -t vfat sdd1 /volume1/tmp/boot/
mount -t vfat sdd2 /volume1/tmp/boot/
mount -t vfat sdd3 /volume1/tmp/boot/
mount -t vfat sdd5 /volume1/tmp/boot/
mount -t vfat sdd4 /volume1/tmp/boot/
mount -t vfat sde /volume1/tmp/boot/
mount -t vfat sde1 /volume1/tmp/boot/
mount -t vfat sde2 /volume1/tmp/boot/
mount -t vfat sde3 /volume1/tmp/boot/
mount -t vfat sde4 /volume1/tmp/boot/
mount -t vfat sdf /volume1/tmp/boot/
mount -t vfat sdf1 /volume1/tmp/boot/
mount -t vfat sdf2 /volume1/tmp/boot/
mount -t vfat sdf3 /volume1/tmp/boot/
mount -t vfat sdf4 /volume1/tmp/boot/
mount -t vfat sdq /volume1/tmp/boot/
mount -t vfat sdq1 /volume1/tmp/boot/
mount -t vfat sdq2 /volume1/tmp/boot/
mount -t vfat sdq3 /volume1/tmp/boot/
mount -t vfat sdq4 /volume1/tmp/boot/
mount -t vfat synobios /volume1/tmp/boot/
mount -t vfat synobios1 /volume1/tmp/boot/
mount -t vfat synobios2 /volume1/tmp/boot/
mount -t vfat sdag1 /volume1/tmp/boot/
mount -t vfat sdag2 /volume1/tmp/boot/
mount -t vfat md01 /volume1/tmp/boot/
mount -t vfat md11 /volume1/tmp/boot/
mount -t vfat md21 /volume1/tmp/boot/
mount -t vfat md0 /volume1/tmp/boot/
mount -t vfat md1 /volume1/tmp/boot/
mount -t vfat md2 /volume1/tmp/boot/
mount -t vfat md3 /volume1/tmp/boot/
mount -t vfat md4 /volume1/tmp/boot/
mount -t vfat md5 /volume1/tmp/boot/
下载grub.cfg
得到 grub.cfg 文件
务必使用Notepad打开grub.cfg文件
【6.1-6.2版本群晖】大致在22行左右找到有pid vid和sn mac字样【7版本grub在下图】
【7版本群晖】grub文件
换成你的SN码,注意后边前边不要有空格
换好后替换回去即可
看右上角 提示上传成功,就可以了
重启机器
路由器有设置ip绑定MAC会造成无法搜索到请自行解除绑定。
重启好之后
由于改了MAC地址可能会造成IP地址改变,原来的ip地址可能会访问不到机器。
用Synology Assistant/群晖助手 重新搜索 ,核对一下sn和mac是不是已经变了
留言与评论(共有 0 条评论) |