LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

View Poll Results: what will you perfer????
redhat enterprise linux3 0 0%
redhat enterprise linux4 1 50.00%
redhat enterprise linux5 1 50.00%
Voters: 2. You may not vote on this poll

Reply
 
Search this Thread
Old 11-03-2007, 05:59 AM   #1
akhil.mud
LQ Newbie
 
Registered: Sep 2007
Posts: 17

Rep: Reputation: 0
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
 
Old 11-03-2007, 08:04 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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)
 
Old 11-04-2007, 06:47 AM   #3
akhil.mud
LQ Newbie
 
Registered: Sep 2007
Posts: 17

Original Poster
Rep: Reputation: 0
yes, i instructed it to reinstall the GRUB, and linux is working properly but windows is not working????
 
Old 11-04-2007, 07:20 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.
 
Old 11-05-2007, 07:58 AM   #5
akhil.mud
LQ Newbie
 
Registered: Sep 2007
Posts: 17

Original Poster
Rep: Reputation: 0
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
 
Old 11-05-2007, 08:10 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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)?
 
Old 01-15-2008, 04:28 PM   #7
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
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?
 
Old 01-16-2008, 04:04 PM   #8
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Simple solution;format complete HD,install Vista(first),install RHEL.Problem fixed.
 
Old 01-16-2008, 11:42 PM   #9
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Thumbs down

Quote:
Originally Posted by alan_ri View Post
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub boot loader problem sakitram Linux - Hardware 4 09-08-2007 09:07 PM
GRUB Loader problem Richpo Linux - General 6 07-27-2006 11:05 AM
Problem with Grub Loader Bob Moore Linux - Software 3 09-22-2004 08:38 AM
Grub boot loader problem wizardzx2 Linux - Software 3 06-23-2004 06:20 PM
Problem with Grub loader aadilkhan Linux - Newbie 1 09-30-2003 01:30 PM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration