LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I edit the grub boot in SuSE Linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-edit-the-grub-boot-in-suse-linux-168267/)

trespasser 04-09-2004 03:57 PM

How do I edit the grub boot in SuSE Linux
 
Hi, Name is John,

I just got Linux SuSE installed on my machine and have a duel boot system.
The Grub Stage 2 comes up and boots me into Linux as a default.
I'm not experienced with Linux and have no idea how to get to the grub boot to edit it.

I've had Fedora Core 1 on my system and I found the grub in that system in "/boot/grub/grub.config". It was simple to edit with one of the text editors in fedora, but I don't seem to have the same type of editors in SuSE.

Now to the question.....

How can I edit the grub boot in SuSE???
I've tried hitting the esc key on boot up, but I haven't the experience to know what to change the code to in order for the system to default the boot to my Windows installation.
Can anyone help with my little problem?

salparadise 04-09-2004 04:00 PM

you can get at it through yast

boot config is one of the options in one of the menus within yast
possibly "system"

mikshaw 04-09-2004 05:35 PM

as root, you can edit /boot/grub/menu.lst
There is a line which says "default 0" (first entry). You should be able to change the 0 to the entry for Windows...if your Win entry is the 3rd one, you'd put "default 2".
I've never had a reason to do this, so I'm not 100% positive it will work....just seems logical.
In SuSE, you most likely have vim installed as an editor.

trespasser 04-12-2004 12:58 PM

How do I edit the grub boot in SuSE Linux
 
mikshaw,

thanks for the help.
I changed the default to (1) and now Windows comes up.

appreciate the help.


All times are GMT -5. The time now is 03:33 PM.