• 0

How to delete parameters in grub.cfg after the USB loader image is burnt


Question

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 post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

  • Thanks 1
Link to post
Share on other sites
  • 0

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-

Link to post
Share on other sites
  • 0
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 ;)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.