Discussion Locked

How reset boot option 4 Linux & Windows

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hai ,
I instaled win98,WinXP & Linux in my system,at last i instaled linux so it asked boot option for all os,resantly i reinstaled my Win98,after that the boot option is not come.I can't boot my Linux ,i had boot flopy for linux and Windows but i don't know how to reset my booting option for all my 3 OS,

4 replies

by seesiva

You have to restore lilo by using loadlin from the command prompt in windows or using linux boot floppy restore the lilo again. so that when it boots next time it will ask for the boot option menu.

by pselvabharathi

Thanks,But i had the GRUB boot loader,can you tell me the cammand for reloading the GRUB and LILO boot loader.

by spidererrol

Use your boot floppy to boot the system, log in as root (already done if you arrive at the "sh#" style prompt). cat /etc/grub.conf. Look for lines like "root (hd0,0)" and note what the numbers are. Most likely they are both 0, but if not, just correct the root line below.
Run the command "grub".
After a short while, you should get a "grub>" prompt.
Type "root (hd0,0)" (changing those numbers as needed).
Type "setup (hd0)" (DON'T change that 0 for anything!).
It will install various things.
Then type "quit".
Remove your boot floppy and reboot. Grub should be reinstalled as before.

by alokchauhan1

Once the GRUB package is installed, open a root shell prompt and run the command /sbin/grub-install , where is the location that the GRUB Stage 1 boot loader should be installed.

The following command installs GRUB to the MBR of the master IDE device on the primary IDE bus: /sbin/grub-install /dev/hda

The next time the system boots, the GRUB graphical boot loader menu will appear before the kernel loads into memory.

This discussion is closed to new replies.