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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-23-2006, 11:45 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 2
Rep:
|
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?
|
|
|
03-24-2006, 12:03 AM
|
#2
|
LQ Newbie
Registered: Feb 2006
Location: Quito-Ecuador
Distribution: Debian 3.1, Fedora Core 4
Posts: 18
Rep:
|
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.
|
|
|
03-24-2006, 12:12 AM
|
#3
|
Member
Registered: Mar 2006
Location: Fond du Lac, Wisconsin, USA
Distribution: Debian
Posts: 51
Rep:
|
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
|
|
|
03-24-2006, 10:41 AM
|
#4
|
LQ Newbie
Registered: Mar 2006
Posts: 2
Original Poster
Rep:
|
Hey, thanks for for the fast response. Ill try that sometime tonight and see if it works.
|
|
|
03-24-2006, 11:58 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,238
|
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.
|
|
|
03-24-2006, 12:13 PM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Fix Windows MBR and put GRUB on a floppy for use when booting Linux. No need to be physically swapping drives....
|
|
|
03-24-2006, 12:24 PM
|
#7
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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......
|
|
|
All times are GMT -5. The time now is 08:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|