editing grub.conf
I can't find this anywhere, how do I edit the grub.conf file?
|
well its located in the /etc folder, so its full path would be /etc/grub.conf and you use a text editor such as vi, joe, pico, etc.....its your own choice which editor to use, and also dependant on if your system has the editor installed, so for example you could use vi /etc/grub.conf to open the file in a text editor for editing...
|
Thanks, now how do I save the changes I make using vi? I can open the file but what does one do to make any changes stick?
Thank you:scratch: |
VI can be a bit of a nuisance to start with. Suggest you look in google for vi commands.
Basically you have to Modes which you toggle between using Escape key. When you have finished editing the document hit escape followed by : (colon) This should appear at the bottom left of the document then use one of the following q (quits no save) q! (force quit) wq (Save and quit) wq! (Force Save and Quit) All of these followed by enter. Might be worth setting up a test file to practice with until you are used to navigating vi. To do this type vi test This will create a file for you to practice in remove it when you are comfortable with it. Otherwise consider using a more user friendly editor such as Joe or Pico. |
and do not forget to run #grub after you make changes to /etc/grub.conf
|
oh, it should be #grub-install <your device> instead, sorry
|
#grub-install <your device> What goes in the <your device> section?
Thank you |
#grub-install /dev/hda
o #grub-install /dev/hd0 Those are from the GRUB manual |
All times are GMT -5. The time now is 10:05 PM. |