LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-17-2008, 11:21 PM   #1
aj2004
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
GRUB not booting after altering hardware


I don't know if this is normal or not. Whenever I have added or removed hardware, GRUB won't load. This is frustrating when I want to add a hard drive to backup data from. Is there a way to get around this? I am running a dual-boot of WinXP and Ubuntu Hardy.
 
Old 09-17-2008, 11:54 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Welcome to LQ!!

If you add a hard drive to the IDE or SATA bus, the drive order as reported by the BIOS may be different. Thus you might need to change the boot order in the BIOS setup so that the drive with GRUB is on the list. Note that your GRUB config. settings will also be off.

If you are adding and removing internal drives, you'll probably need to change the boot order. If you are adding external USB, it should not be an issue.
 
Old 09-18-2008, 01:39 AM   #3
aj2004
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I have winXP installed on an internal IDE drive. That same drive has GRUB loaded to the MBR. Ubuntu is on my external drive. GRUB returns error 17, which appears to be OS not found. Error 17 comes about when I add an SATA drive (I don't have any other IDE drive to try in there). My only IDE hard drive, which contains GRUB in its MBR, is always in the same position in the BIOS. Why should GRUB be caring about anything other than the two hard drives with the two operating systems on them? I never had this problem before using a boot loader. Would I be best off just going back to that route and choosing my boot via BIOS?
 
Old 09-18-2008, 02:37 AM   #4
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 336

Rep: Reputation: 34
Smile

I have this same issue with the grub hangs on loading with an external USB/eSATA drive if I connect it by eSATA, and Fedora 9 on it. And just 1 internal IDE drive dual booting with XP and Open SUSE 11, which has the grub also there. What I do is to hit the F10 key early during the boot-up, and "select boot first device" shows, then arrow down to hard drives, then hit enter, then choose boot first drive comes up, so I arrow to select from internal to external hard drive and hit enter, which brings up my Fedora grub.
 
Old 09-18-2008, 05:36 PM   #5
aj2004
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
This is a little different. I only have one GRUB installation. GRUB seems to not like any kind of change. Is there an easy way to remove/overwrite GRUB with winXP's original MBR booter? I don't recall having this problem with lilo, but perhaps I did... it was so long ago.
 
Old 09-18-2008, 05:45 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,546
Blog Entries: 1

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Also you could try a supergrub live cd, which may help automatically map the drives and restore grub.

http://www.supergrubdisk.org/
 
Old 09-19-2008, 01:02 AM   #7
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 336

Rep: Reputation: 34
Smile

If you have a genuine real XP CD to boot to, hit R, Recovery Console will start (in text mode), then type in this; fixmbr , and here is the article from Microsoft; http://support.microsoft.com/default...b;EN-US;314058 ,or this; http://support.microsoft.com/default...b;EN-US;307654
 
Old 09-20-2008, 02:59 AM   #8
aj2004
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

I didn't fix my original issue, but I did download SuperGrub and restored the Win boot. It's all peaches and cream now. I am trying to figure a way of getting Ubuntu back on there with a nicer boot, but that will take a little tinkering.

Thanks for your help.
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
LXer: Booting NetBSD on New Hardware LXer Syndicated Linux News 0 09-20-2006 06:21 AM
how to edit grub.conf from grub shell during booting pashaikh Linux - Security 1 06-27-2006 05:01 AM
Booting WinXP after altering partition table tchernobog Linux - Software 0 11-26-2003 10:35 AM


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