LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-30-2008, 02:54 PM   #1
JoshMan132
LQ Newbie
 
Registered: May 2007
Distribution: FreeBSD 7.0
Posts: 20

Rep: Reputation: 0
Windows won't boot


I installed OpenSUSE on to an external harddrive forgetting to change anything about where it would boot from, so it wrote to the MBR and now I can't boot windows without having the external plugged in. My BIOS supports booting from the external, so I just want to change it to where I can boot linux from the external harddrive or boot windows without the external plugged in.
 
Old 11-30-2008, 06:23 PM   #2
j.todd
Member
 
Registered: Feb 2008
Location: Michigan
Distribution: Debian GNU/Linux Unstable
Posts: 144

Rep: Reputation: 16
Install OpenSUSE's /boot on your primary hard drive maybe? I'm not sure if it would work though.
 
Old 11-30-2008, 06:51 PM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I would make a small 2 meg partition on my hd and install grub there, then you can boot your external hd by chainloading it.
 
Old 11-30-2008, 09:35 PM   #4
JoshMan132
LQ Newbie
 
Registered: May 2007
Distribution: FreeBSD 7.0
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the help, but I also need to know how to fix it.
 
Old 11-30-2008, 09:39 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
You could either install grub on the MBR of the internal drive, or simply repair the windows bootloader that was previously.

Boot your Windows DVD into rescue mode, and run the fixmbr utility.
 
Old 12-01-2008, 04:25 AM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Which version of windows do you have 'xp, vista'?

Do you have a windows dvd?

Do you want to use my suggestion above or use a grub cd to boot your external drive with evey time you use it?
 
Old 12-01-2008, 06:48 AM   #7
JoshMan132
LQ Newbie
 
Registered: May 2007
Distribution: FreeBSD 7.0
Posts: 20

Original Poster
Rep: Reputation: 0
I'm running xp. The 2 meg partition is a little unessecary in my case, and resizing the partition would take a long time, I'm not sure what I did before but what happened was I installed grub on the external, so if I didn't boot from the external windows just loaded up, but if I booted from the external grub would come up. With installing openSUSE I wasn't looking for an option to change where the bootloader would install to so I ended with my problem. Yes I have a recovery dvd and the install dvd, but I lost the key to that. Thanks for the help.
 
Old 12-01-2008, 08:57 AM   #8
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,140

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
You need to use your xp cd as billymayday suggested and go into rescue mode and run the 'fixmbr' command. If that doesn't do it, you can try 'fixboot'. You've installed the stage1 of Grub to the mbr on your internal drive which wrote over the xp entry there so when you boot from the first drive, the stage1 is looking for stage2 and that is on the dis-connected external drive. Obviously won't work. Then you should re-install Grub and make sure you install to mbr on external drive. You could post the output of 'fdisk -l' command here and someone could give you detailed instructions.
 
Old 12-01-2008, 10:29 PM   #9
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
fdisk /mbr or fdisk -mbr
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine installed a program onto my windows partition, Windows BSOD on boot. DJGCrusader Linux - Enterprise 9 08-14-2009 08:25 AM
dual boot - Grub won't boot Windows on /windows/D partition biosol Suse/Novell 9 04-09-2006 08:14 PM
Windows XP Suse 9.2 dual boot problem:Yast doesn't find windows Salawat Suse/Novell 1 03-31-2006 04:33 AM
linux/ windows dual boot. Windows XP is in portable HDD (already installed) izquierdista Linux - General 1 02-03-2006 10:23 AM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM


All times are GMT -5. The time now is 05:53 PM.

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