asheenlevrai Posted August 12, 2021 Share #1 Posted August 12, 2021 Hi As described in this post (Note 4), I understand that once the USB loader is made I can still edit parameters (like vid, pid, mac address, ...) by: - pressing C in the Grub Boot Menu It is explained how to edit parameters. AFAIU, this method can also be used to add parameters (e.g. missing mac addresses). Please correct me if I misunderstood. Now, I wonder how to remove parameters. For, instance if I want to delete set mac2=..., set mac3=... etc.. How should I do it? Is it possible from this Grub command line environment? Or do I need to edit grub.cfg in the image file and burn it again? Thank you very much in advance for your help. Best, -a- Quote Link to comment Share on other sites More sharing options...
0 flyride Posted August 13, 2021 Share #2 Posted August 13, 2021 If the DSM system is functional, mounting synoboot1 is a much faster and simpler method. Then you can use vi or other editor on grub.cfg. # cd /dev # mkdir /mnt/synoboot1 # mount synoboot1 /mnt/synoboot1 # cd /mnt/synoboot1/grub # vi grub.cfg 1 Quote Link to comment Share on other sites More sharing options...
0 asheenlevrai Posted August 13, 2021 Author Share #3 Posted August 13, 2021 Thanks. Synoboot1... I assume it is the name of the device corresponding to the USB loader, right? Where should I enter these commands? In the Grub command line environment? I guess I should omit the "#" right? Excuse the fact that I am not (yet) familiar with CLI. AFAIU "#" is used to comment things in files containing code. I'm not familiar with vi either but I'll learn. Thanks again -a- Quote Link to comment Share on other sites More sharing options...
0 asheenlevrai Posted August 13, 2021 Author Share #4 Posted August 13, 2021 5 minutes ago, asheenlevrai said: Where should I enter these commands? In the Grub command line environment? nope... not here. I guess it's one of these things were I need to access the DS via SSH. I only did that a few times (under guidance) and I'm not familiar with it but I 'll get used to it Quote Link to comment Share on other sites More sharing options...
0 Dfds Posted August 13, 2021 Share #5 Posted August 13, 2021 To do as @flyridesuggested you will need to login via ssh. I’d suggest having a quick google search for the various vi commands before editing any files. 1 Quote Link to comment Share on other sites More sharing options...
Question
asheenlevrai
Hi
As described in this post (Note 4), I understand that once the USB loader is made I can still edit parameters (like vid, pid, mac address, ...) by:
- pressing C in the Grub Boot Menu
It is explained how to edit parameters.
AFAIU, this method can also be used to add parameters (e.g. missing mac addresses). Please correct me if I misunderstood.
Now, I wonder how to remove parameters. For, instance if I want to delete set mac2=..., set mac3=... etc..
How should I do it? Is it possible from this Grub command line environment? Or do I need to edit grub.cfg in the image file and burn it again?
Thank you very much in advance for your help.
Best,
-a-
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.