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



On 2007/04/29 21:56 (GMT-0400) David Gregg apparently typed:

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...

Open Konsole and look in the session menu. If you selected console tools
during install you'll see in that menu 2 midnight commander selections. Open
a root midnight commander session, navigate to /boot/grub, highlight
menu.lst, then hit shift-F5 to make a backup copy with a new name of your
choice based upon the current name. Next with the original menu.lst still
highlighted, hit F4 to start the MC editor. You'll most likely see default 0
on line 2. What that means is the first grub stanza is the default. Likely
the windoz stanza is the second, which means you'd need to change 'default
0' on line 2 to 'default 1', exit editor with F10 and choose to save. All
plain text system config files (which is most config files) can be managed
this way.
--
"Therefore, if anyone is in Christ, he is a new creation; the
old has gone, the new has come!" 2 Corinthians 5:17 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] no space left on / device
    ... couple of other directories in /var that can eat up space. ... /etc/logrotate.d/ for the various config files. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • [opensuse] openldap problem / question
    ... my system and for some even stranger problem it will not let me print any ... of the config files out, as my normal user, file manager superuser ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)