Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Grub file

  Date: Feb 19    Category: Unix / Linux / Ubuntu    Views: 417
  


It says in the grub file

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub


Can we automate this process so its easier to put another grub in at a later
date? Adding grub via ubuntu has never worked for me.

Share: 

 

3 Answers Found

 
Answer #1    Answered On: Feb 19    

I edit the file anyway. It has never given me grief by doing so.

 
Answer #2    Answered On: Feb 19    

What about the automation query?

 
Answer #3    Answered On: Feb 19    

The file that you are writing is generated automatically and read at boot
time. When you update the kernel for example a new config file will be
generated, but changes that you make will stay in place, but may be
superseded by the newer lines. Their warning is in place because they assume
that you don't know anything and that you can mess up your computer. These
are both relative to your experience and comfort level with messing with
files that can de-stabilise your system.

Grub2 generates these files and the preferred method might be to follow
protocols, but I have learned that they may not know your intentions and
that they can be wrong as easily as I can be.

 
Didn't find what you were looking for? Find more on Grub file Or get search suggestion and latest updates.




Tagged: