LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   grub loader problem (https://www.linuxquestions.org/questions/linux-software-2/grub-loader-problem-596808/)

akhil.mud 11-03-2007 05:59 AM

grub loader problem
 
i am having a dual boot system with red hat enterprise linux 5 and windows vista.My problem is that i have given the following command at console

dd if=/dev/zero of=/dev/hda bs=446 count =1

then i rebooted my system, after that my boot loader was removed, i was able to re-install the grub by going thru rescue mode but now when i am trying to start the windows vista, it is just restarting my system, what i should do now.i have already tired to re-install the Linux but no result


plz help

pixellany 11-03-2007 08:04 AM

First, the poll does not relate to the subject of the thread.

When you re-installed Linux, did you instruct it to also install the bootloader (GRUB). What happened after the re-install? ("no result" does not tell us much)

akhil.mud 11-04-2007 06:47 AM

yes, i instructed it to reinstall the GRUB, and linux is working properly but windows is not working????

pixellany 11-04-2007 07:20 AM

Do you get a GRUB menu with Windows as one of the options?

If so, what happens when you select Windows?

Running in Linux, look at /boot/grub/menu.lst and post here. Also, tell us the partition layout---eg Windows on hda1, Linux / on hda2, etc.

akhil.mud 11-05-2007 07:58 AM

ya i get a grub menu with windows a one of teh options and when i select that it just restart my system
partition layout is like (hd0,1) for windows and (hd0,4) for linux

pixellany 11-05-2007 08:10 AM

Again, please post the contents of /boot/grub/menu.lst (the GRUB configuration file)

If Windows is (hd0,1), then what is in the first partition (hd0,0)?

LaughingBoy 01-15-2008 04:28 PM

Are you aware of the outcomes of the command you typed that caused the problem in the first place?!

Did someone tell you to type that as a joke? Or were you intentionally trying to erase your bootloader?

alan_ri 01-16-2008 04:04 PM

Simple solution;format complete HD,install Vista(first),install RHEL.Problem fixed.

LaughingBoy 01-16-2008 11:42 PM

Quote:

Originally Posted by alan_ri (Post 3024993)
Simple solution;format complete HD,install Vista(first),install RHEL.Problem fixed.

That's a bit extreme for a simple bootloader problem... it would work, but it's a bit extreme...


All times are GMT -5. The time now is 07:05 AM.