LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2011, 05:27 PM   #1
chosen1soulja
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Rep: Reputation: Disabled
unable to use windows 7 without going through linux mine


ok...so i downloaded linux mint 10 to use on a usb thumb drive. i used unetbootin to instal the .iso image, and then changed the boot order in the BIOS menu, and used mint that way. then i got a 750 gb external hard drive, and installed the OS on there, as a way to boot linux as an actual OS on my computer. now the prob that i am facing, is that even when the hard drive is not plugged into my computer, and i try booting windows, all i get is the grub rescue prompt, and thats it...i can plug my external in and run windows when it prompts me what i want to run, either linux mint, or mutliple windows OS, but i dont want to worry about my external being damaged and not being able to use my computer...any help would be greatly appreciated...thanx
 
Old 09-08-2011, 05:33 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
it seems like the mbr on the internal hd is pointing to the grub menu on the usb-hd.

i think fdisk /mbr from within windows will fix that.

(i would then change the boot order from within the bios to boot from usb first).
 
Old 09-08-2011, 05:38 PM   #3
chosen1soulja
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
ok..haha, could you tell me how to do that?
 
Old 09-08-2011, 05:44 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
start up windows and type in fdisk /mbr
this should reset the mbr of your hard drive to the windows default.

then you have to access your bios when you start up your pc.
for acer its f2
for dell its holding down delete while it boots up
for hp its f12
...
and look in the menu for something like 'boot order' and configure it so that the usb-hd starts first.

Last edited by schneidz; 09-08-2011 at 05:46 PM.
 
Old 09-08-2011, 05:45 PM   #5
chosen1soulja
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
do i do that from the command prompt?
 
Old 09-08-2011, 05:49 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You've installed the Mint Grub2 on your internal hard drives' master boot record. The Grub in the mbr of your internal is pointing to the Grub files on the external and when you don't have the external attached, it won't boot.

What exactly do you want to do? Do you want windows on the mbr of the internal? Do you want the Mint Grub in the mbr of the external?
Reinstalling windows to the mbr can be done if you have an installation disk. The commands/methods vary depending upon which version of windows you have. The one suggested above works for xp. It's different for vista/7. Which do you have, the most recent version if you have mroe than one.
 
Old 09-08-2011, 05:53 PM   #7
chosen1soulja
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
im using windows 7...and i dont have any instalation disk...i want my windows on my internal mbr, and i want to run the linux from my external when i plug it in...thanx for all the help guys
 
Old 09-08-2011, 06:07 PM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
The command for windows 7 should be bootsect.exe

http://technet.microsoft.com/en-us/l...8WS.10%29.aspx

The following tutorial is for using a recovery DVD, but also should work from within a working windows 7 install.

http://www.sevenforums.com/tutorials...ot-record.html
 
Old 09-08-2011, 06:13 PM   #9
chosen1soulja
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
i dont have any repair disk
 
Old 09-08-2011, 06:23 PM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by chosen1soulja View Post
do i do that from the command prompt?
yes.
 
Old 09-08-2011, 06:30 PM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by andrewthomas View Post
The command for windows 7 should be bootsect.exe
thanx for the correction.
sorry i' don't know much about windows. the op should probably visit a windows forum.

Last edited by schneidz; 09-09-2011 at 08:03 AM.
 
Old 09-08-2011, 06:35 PM   #12
chosen1soulja
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
ok, i know what i did...i managed to screw around with the MBR of my computer, so that it runs GRUB from my linux OS from my hard drive...but being in iraq, i have no way of getting an installation cd/dvd...so i guess my next question is if anyone knows how i can manually fix the MBR or something like that...
 
Old 09-08-2011, 07:24 PM   #13
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by chosen1soulja View Post
..so i guess my next question is if anyone knows how i can manually fix the MBR or something like that...
If you read my previous post you will find that, although the tutorial (2nd link) is written for using a recovery disk, the command should be available at the command-line once you boot into windows.

You can read the first link for an explanation of the bootsect command.
 
  


Reply



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
Cannot access other linux machines from mine!!!!! rajnair0278 Linux - Networking 1 03-21-2006 01:54 AM
Mine linux it runs too much. fulvio Red Hat 3 01-26-2006 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 PM.

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