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.





--
Kind regards,

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



Relevant Pages

  • Re: trouble compiling Midnight Commander
    ... to get the file manager Midnight Commander running on my Mac Pro. ... first tried the Fink version, but that was essentially useless, so now ... sudo commands. ... I issued 'sudo make install' as the last of the commands listed ...
    (comp.sys.mac.apps)
  • Fwd: How to track down which commands sudoers set up?
    ... sent to list proper this time. ... How to track down which commands sudoers set up? ... I believe that sudo can be configured to limit the extent to which the ...
    (Security-Basics)
  • Re: Dumb question of the week.
    ... me a blood-red prompt. ... I think that 'root' commands must work without surprises like aliases ... My su and sudo work as defined in the man pages, ... which asks for the root password and then, ...
    (alt.os.linux.suse)
  • [opensuse] sudo, and useradd
    ... I am trying to setup sudo rights on a specific user ... # create group LIMITEDTRUST with user test as a member ... the commands listed in cmnd alias PROGRAMS ... The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. ...
    (SuSE)
  • Re: [Off Topic] Re: Linux security
    ... > <enter a string of commands here and, in the process, forget where you are> ... Of course if the user concerned is using Ubuntu, ... I suppose that's one argument in favour of the sudo default as a "sane ... The shell comes at a price. ...
    (Ubuntu)