edit grub loader

Asked by cvframer

hi, my main os is vista. I put ubuntu on a separate partition, love it runs great. I am interested in making vista my default os when windows starts. the grub loader has ubuntu as the default. I'm not sure the coding i need to edit the /boot/grub/menu.lst to make vista the default, and it kicks me automatically (after 10 secs, and no choice made) into ubuntu, but would prefer vista. pls hlp. thankyou

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
cvframer (mercedframer) said :
#1

for further q's to help me my email is <email address hidden>

Revision history for this message
cvframer (mercedframer) said :
#2

btw, also, when i want to close ubuntu, and reboot in vista, i click restart, and the grubloader doesn't run, it takes me directly into userlogin screen, is there a way to change that too?? thx

Revision history for this message
Alessandro Pellegrini (alessandro-pellegrini) said :
#3

You have to edit exactly /boot/grub/menu.lst as you said.

Find a line beginning with this:
timeout

The number after this command are the second grub will wait for, before starting the mains OS selected. Increase the number to have more time to choose.

Then, find the line beginning with:
default

The number after this is the default OS to launch. If Vista is the second OS in the list, then you should write 1. In any case, this number is the OS number in the list -1 (I mean, the fisrt is 0, the second is 1, and so on, as in an array :))

If you want to change the appearing order, at the end of the file there is something like:
title Ubuntu, kernel 2.6.17-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

Changing the order of this set of text, will change the oreder of the boot options...

About the rebooting, its strange... Are you choosing reboot or end session? Since the second options, doesn't restarts the system... Grub shows up only when you completely restart your system...

To finish... I would suggest you to give up with Vista :)

Hope this helps,
Alessandro

Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#4

please paste your /boot/grub/menu.lst onto http;//paste.ubuntu-nl.org

then give me the link, i will edit the boot file for you :D then upload it to my server for you to download and place in /boot/grub

:D

Can you help with this problem?

Provide an answer of your own, or ask cvframer for more information if necessary.

To post a message you must log in.