Jump to content
XPEnology Community
  • 0

How To Edit grub.cfg file on A Working System


BanterBay
 Share

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.

Link to comment
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
Link to comment
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. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...