LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Reply
  Search this Thread
Old 03-23-2006, 11:45 PM   #1
free_rider20
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Windows wont boot


Alright, I picked up a small 6 gig HD from a friend and decided I wanted to intall Linux on it so I downloaded a copy of suse. I installed suse onto the new hard drive. I temporarily took the HD out and while out, windows wouldnt boot and I got a grub error. What can I do to fix this error so that windows will boot when the HD isnt in the computer?
 
Old 03-24-2006, 12:03 AM   #2
JoseVilla
LQ Newbie
 
Registered: Feb 2006
Location: Quito-Ecuador
Distribution: Debian 3.1, Fedora Core 4
Posts: 18

Rep: Reputation: 0
I don't know an effective way to solve this but can explain why this problem.
You installed grub in the MBR of your HD, while installing linux. Grub is a little program that reads a file named "/boot/grub/menu.lst" and as this file is located in the HD you took out it rises this error.
 
Old 03-24-2006, 12:12 AM   #3
nickj6282
Member
 
Registered: Mar 2006
Location: Fond du Lac, Wisconsin, USA
Distribution: Debian
Posts: 51

Rep: Reputation: 15
Two options:

1. Fix the Windows MBR. For Win2k or XP, put the Windows CD in the drive, boot to it. When it's all loaded up and ready to go, press "R" to run the recovery console. Pick your Windows install from the list, enter the administrator password, then run the "fixmbr" command in there. Then "exit" and reboot the PC. This method means you will have to re-install Grub on your MBR to get to Linux again.

2. Make a Windows boot floppy. You can use Knoppix to do this if you like. Put a blank disk in the floppy drive, and copy the following files from the root of your C:\ drive to it: boot.ini, ntdetect.com, and ntldr. Boot to this floppy and it will start Windows up.

Good luck!
-Nick
 
Old 03-24-2006, 10:41 AM   #4
free_rider20
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Hey, thanks for for the fast response. Ill try that sometime tonight and see if it works.
 
Old 03-24-2006, 11:58 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,238

Rep: Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151Reputation: 4151
Fixmbr will fix Windows, but Suse will be unbootable.
Best bet might be to re-install the loader for Suse (hopefully grub) into the root partition, then copy the boot sector record over to the Windows C: partition.
Update boot.ini, then you can select either from your Windows boot.
Doesn't matter if the Suse disc is present or not if you select Windows.

Plenty of threads describing this here on LQ.
 
Old 03-24-2006, 12:13 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Fix Windows MBR and put GRUB on a floppy for use when booting Linux. No need to be physically swapping drives....
 
Old 03-24-2006, 12:24 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by syg00
Fixmbr will fix Windows, but Suse will be unbootable.
Best bet might be to re-install the loader for Suse (hopefully grub) into the root partition, then copy the boot sector record over to the Windows C: partition.
Update boot.ini, then you can select either from your Windows boot.
Doesn't matter if the Suse disc is present or not if you select Windows.

Plenty of threads describing this here on LQ.
Search here on "Saikee". In his sig there are links to all anyone would ever want to know about multi-booting. I could gush even more, but he blushes......
 
  


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 wont boot windows xp sonesay Red Hat 1 04-27-2005 12:14 AM
windows wont boot atv087 Fedora 7 02-01-2005 04:54 PM
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 09:55 PM
lilo wont boot windows? spade Slackware 1 03-17-2004 03:53 PM
Grub help - Windows XP wont boot! Kennifer Linux - Software 8 06-09-2003 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration