Re: [opensuse] How to edit Grub in openSUSE 10.2?



On Sunday 29 April 2007 20:56, David Gregg wrote:
Basically I have a dual boot with XP Pro and openSUSE 10.2 and I'd
like to change the default boot options, but I don't know what
commands to use in terminal to edit it. I already know about sudo and
that the file is /boot/grub/menu.lst but both gedit and kate do not
seem to work... maybe I just have my syntax off... gedit reports
bad/unknown command and kate can't connect t x server...

Any help is appreciated.
hi David,

First, the /boot/grub/menu.lst file is privileged... so you'll have to edit
it as root, or sudo.

Second, a text editor like "joe" is probably your best bet if you're not used
to using "vi" or emacs, whatever. But the thing to remember is to make of
copy of the file first...

cp menu.lst menu.lst.bak

Take your time... its just a text file... and the good news is that if you
mess it up, you will have a chance at bootup to fix it should things not
work.

Check out "joe" and practice using it with a test file first... then go for
it.

Ps... of course, real programmers use "vi" but that's another flame war...er,
I mean discussion.



--
Kind regards,

M Harris <><
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: any trick I need to know to use "expect -i"?
    ... > My telnet session actually is to connect my debug port. ... It can receive commands, and print out some messages as well. ... Hi Joe, ... with which you want to communicate. ...
    (comp.lang.tcl)
  • RE: Access 2000 code wont compile w/ 2003
    ... The 2003 Object libraries are different ... "Joe" wrote: ... > The error message I am getting is: ... > I think the issue may not be that the commands are different, ...
    (microsoft.public.access.formscoding)
  • Re: [opensuse] help! How did EDITOR=/usr/bin/joe get set and how do I get vi back -- permane
    ... a blue screen editor appeared and I had no idea how to get out of it so I just ... Further investigation revealed that "joe" was now my ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: [opensuse] How to edit Grub in openSUSE 10.2?
    ... commands to use in terminal to edit it. ... bad/unknown command and kate can't connect t x server... ... edit it as root,  or sudo. ...
    (SuSE)
  • RE: Switchboard items
    ... of the name, I want it to give me items (school names) for each person (Jane, ... Joe, and Bob). ... i won't let me creat new items, so I have to give commands for each name, ... I want to execute the command after creat new ...
    (microsoft.public.access.tablesdbdesign)