[LBo] default GRUB boot [was: Microsoft Will Win]
AnitaLewis
A.Lewis at linuxbasics.org
Sat Jun 10 23:11:58 CEST 2006
Lynn Gallup wrote:
> 4. I would also like to modify the default boot param of </menu.1st>
> so that Windows boots instead of Linux. The "Bible" tells me I can do
> this but fails to explain how. It appears to be other than a text file
> so it must be a compiled file - The "Bible" apparently leaves this as
> an exercise for the student. What's the correct answer, please?
>
menu.lst is indeed a text file and you can edit it with the editor of
your choice. You will need to do that as root. I looked at mine and
there was a line with 'default 0' in it. That is where you need to
edit. Count the number of 'title' stanzas that you have going down to
Windows. Subtract 1 from that number and change the '0' in the default
line to that number. GRUB uses '0' as the first number. On the next
boot you should see the Windows line highlighted and it will boot as
default.
I better slip that into our tutorial on booting. To be honest, I knew
how to do it with LILO, another boot loader, but had not figured it out
until just now with GRUB. I'm glad you asked.
Anita
More information about the QnA
mailing list