• 0
BanterBay

How To Edit grub.cfg file on A Working System

Question

Good day good folks. Can someone please help me out.

 

I have a working Xpenology running DS918+ image on a Dell PowerEdge T20. Now I want to add a new 2-port Intel NIC and SATA 4-Port PCIE card. How do I edit grub.cfg file on my working machine or do I need to thrash the usb stick and flash it again with Jun's loader?. 

 

Thanks for your help.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1
18 часов назад, BanterBay сказал:

Now I want to add a new 2-port Intel NIC and SATA 4-Port PCIE card. How do I edit grub.cfg file on my working machine or do I need to thrash the usb stick and flash it again with Jun's loader?. 

Read this. You can edit grub.cfg and flash edited image to the usb stick again or do this trick on the working xpen and reboot it after cfg will be edited:

Admin@your_DS:~$ sudo -i
Password:
root@your_DS:~# mkdir -p /tmp/synoboot_part0
root@your_DS:~# cd /dev
root@your_DS:/dev# mount -t vfat synoboot1 /tmp/synoboot_part0
root@your_DS:/dev# ls /tmp/synoboot_part0
bzImage  EFI  grub  info.txt
root@your_DS:/dev# cd /tmp/synoboot_part0/grub #edit drub.cfg with mc or nano
root@your_DS:~# exit 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0

I'm wondering about almost the same question. Want to upgrade my 3516 from a RTL8111 to an Intel Pro 1000 and would like to keep all my files and settings in my Device.

Share this post


Link to post
Share on other sites
  • 0
18 minutes ago, Olegin said:

Read this. You can edit grub.cfg and flash edited image to the usb stick again or do this trick on the working xpen and reboot it after cfg will be edited:


Admin@your_DS:~$ sudo -i
Password:
root@your_DS:~# mkdir -p /tmp/synoboot_part0
root@your_DS:~# cd /dev
root@your_DS:/dev# mount -t vfat synoboot1 /tmp/synoboot_part0
root@your_DS:/dev# ls /tmp/synoboot_part0
bzImage  EFI  grub  info.txt
root@your_DS:/dev# cd /tmp/synoboot_part0/grub #edit drub.cfg with mc or nano
root@your_DS:~# exit 

 

Thank you very much Olegin. 

Share this post


Link to post
Share on other sites
  • 0
The question(s) in this topic have been answered and/or the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.