当前位置:网站首页>SSH modifies grub in heiqunhui ds918+ system 7.0.1 cfg

SSH modifies grub in heiqunhui ds918+ system 7.0.1 cfg

2022-06-25 21:45:00 boyhong

Next article :[​ ​ Black group DS918+7.0.1 Toss about frp Intranet through docker Version summary ​​] The first step in , The group of friends thought it was too much trouble , I have to stop again nas Unplug the boot U disc , You have to find another counterpart diskgenius Such tools and software to modify and save , return ...... therefore , If you can modify it online, it will be more convenient .

Go to NAS Turn on SSH

SSH Modify black Qunhui DS918+ System 7.0.1 Inside grub.cfg_grub.cfg

use SSH Tool mount modification

I use it putty, Log in and get root Super authority :

SSH Modify black Qunhui DS918+ System 7.0.1 Inside grub.cfg_ Black light _02

then : stay ​/tmp Create a temporary directory at random abc

      
      
mkdir -p /tmp/abc
  • 1.

Switch to dev Directory mount ​synoboot1 Partition to abc

      
      
cd /dev
mount -t vfat synoboot1 /tmp/abc/
  • 1.
  • 2.

SSH Modify black Qunhui DS918+ System 7.0.1 Inside grub.cfg_grub.cfg_03

then , Switch to abc/boot/grub Search under directory grub.cfg And edit it

SSH Modify black Qunhui DS918+ System 7.0.1 Inside grub.cfg_ Black light _04

      
      
vi grub.cfg
  • 1.

Still in command mode , Press on the keyboard i key ( Lowercase state ), Enter document editing mode , Then press on the keyboard 、 Next 、 Left 、 Right arrow , Move the cursor to the place to be modified to make corresponding modification MAC Value or SN Number .

SSH Modify black Qunhui DS918+ System 7.0.1 Inside grub.cfg_ Black light _05

After completion , Press on the keyboard Esc key , Return to command mode , Input :wq, Save and exit .

      
      
reboot
  • 1.

SSH Modify black Qunhui DS918+ System 7.0.1 Inside grub.cfg_DS918_06

Restart to take effect .

原网站

版权声明
本文为[boyhong]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202181237385225.html