Re: [opensuse] How to edit Grub in openSUSE 10.2?
- From: Felix Miata <mrmazda@xxxxxx>
- Date: Mon, 30 Apr 2007 00:15:25 -0400
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
- References:
- [opensuse] How to edit Grub in openSUSE 10.2?
- From: David Gregg
- [opensuse] How to edit Grub in openSUSE 10.2?
- Prev by Date: [opensuse] some returned mail
- Next by Date: Re: [opensuse] How to set up Dual Monitors?
- Previous by thread: Re: [opensuse] How to edit Grub in openSUSE 10.2?
- Next by thread: Re: [opensuse] How to edit Grub in openSUSE 10.2?
- Index(es):
Relevant Pages
|