LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2009, 08:21 PM   #1
Urglor
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Grub Error 21 Dual Boot.


Hello, ive looked all over online and haven't been able to find anything to help as of yet so i figured id ask you guys. The other night I installed Ubuntu 9.04 to my external hard drive through my Windows Xp Computer. Now when i disconnect my external drive and go to load Windows it just goes to grub right away and wont load since my external is not connected. I know some people said some things about putting in a windows install disk and doing something with chkdsk/fixmbr but i dont have my windows disk. Any help would be greatly appreciated. Also, really really new to linux so more detailed instructions would be a great help as well. Thanks.
 
Old 05-15-2009, 10:34 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The default installation for Ubuntu will install Grub stage1 file to the master boot record of the disk which is first in boot priority which in your case would be the internal drive with xp on it. There are a number of files which constitute the Grub bootloader and only stage1 is in the mbr, the rest of the files are in the /boot/grub/ directory - on your external drive. That would be why you can't boot with the external disconnected.

Can you boot Ubuntu? If not, use the install CD and open a terminal and run command: sudo fdisk -l (lower case letter L) and post output here. Also, what are your intentions with the external? Methods for booting will vary if you plan to keep the external always or regularly connected or if you will only occasionally have it connected. You can repair the xp mbr with your installataion CD. If you don't have one, you can download SuperGrubDisk or a boot disk from bootdisk.com. You should be able to find how to repair xp mbr with a quick search here at LQ. If you have problems understanding steps, post again.
 
  


Reply

Tags
boot, dual, error, external, grub, ubuntu, windows, xp



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB - Error 21 Dual Boot Kubuntu / XP mjanveaux Linux - Software 5 06-24-2009 08:08 AM
Grub Error 21 trying to dual boot THEembodyment Ubuntu 3 08-04-2007 09:00 PM
Grub error 18 on dual boot SpartacusJones Ubuntu 9 06-28-2007 09:56 PM
GRUB dual boot Error 13 Steve Riley Fedora 4 01-25-2007 02:23 PM
GRUB read error with dual boot with XP gatekeepa Linux - Newbie 1 06-14-2003 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:27 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