Forgot to Install Boot Loader, Help!

Asked by blinkslash

I installed ubuntu 8.04(hardy) when have to choose "install boot loader" i din't tick it. So, when it complete and restart. It can't get in ubuntu, and only in dos mode:

Form here

[Minimal BASH-like editing is supported. For the first word, TAB list possible command completions. Any ware else TAB lists the possible completions of device/filename. ]

grup>

End here

Could you help me how to install boot loader from there.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
blinkslash
Solved:
Last query:
Last reply:
Revision history for this message
idyllic (idyllic) said :
#1
Revision history for this message
blinkslash (surya-yohanes) said :
#2

when i type "find /boot/grub/stage1" "Error 15: File not found"

help!

Revision history for this message
idyllic (idyllic) said :
#3

In such a case, pressing “Ctrl+c” to get to shell prompt and enter this command (without the quote) :
"fdisk -l" if you are not root then run "sudo fdisk -l"

The output will list all the partitions and it’s properties, including the file system type.

e.g.,

    Device Boot Start End Blocks Id System
    /dev/sda1 1 654 5253223+ b W95 FAT32
    /dev/sda2 * 655 1962 10506510 7 HPFS/NTFS
    /dev/sda3 1963 3924 15759765 83 Linux

The “System” attribute of your GNU/Linux operating system will be “Linux”. So note down that partition number.
e.g., sda3
Since it’s array numbering, sdaN is mapped to (hd0,N-1).

Just (hd0) will be the Master Boot Record(MBR).

sda1 will be (hd0,0) and so on.

So, sda3 will be (hd0,2)

Now, log into the grub-shell prompt again.

(taken from http://roshan18.wordpress.com/2008/02/03/reinstalling-grub-boot-loader/ )

Revision history for this message
blinkslash (surya-yohanes) said :
#4

Weh... I give up. I re-install it