Mailinglist Archive: opensuse (3566 mails)

< Previous Next >
Re: [opensuse] How to edit Grub in openSUSE 10.2?
  • From: M Harris <harrismh777@xxxxxxxxxxxxx>
  • Date: Sun, 29 Apr 2007 22:24:33 -0500
  • Message-id: <200704292224.33966.harrismh777@xxxxxxxxxxxxx>
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

< Previous Next >
References