Sunday, September 13, 2009

Reinstall Grub Loader

Enter Ubuntu LiveCD
Enter Ubuntu OS using the CD
Open the terminal
type (exclude the > ):

> sudo grub

then

> find /boot/grub/stage1

then,type and replace '?' with the given information,
in my case, root (hd0,3)

> root (hd?,?)

> setup (hd0)

to quit,type

>quit

================================

When we turn on our laptop, in the boot loader (GRUB loader)
it set the UBuntu OS as the default and within 10 seconds,
if the user doesn't select other OS, it will automatically boot the Ubuntu.

To change the time or to change Vista Loader to be the default,

=> In Ubuntu,
=> open terminal
=> type (exclude > ) ;

> gksudo gedit /boot/grub/menu.lst

then edit it on your own, there are explanation in the note

[
timeout 5
-the default is timeout 10, u can change the time,

default 6
-this is to set the vista as the default when grub loader start

{

the no 6 means, in the grub loader, the vista is in the
position 6, start counting the position from 0.
for further explanation, i will upload the picture soon.

}

]

0 comments: