LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-30-2006, 02:21 AM   #1
ychia
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
GRUB problem


Hello,

A while back I installed Fedora Core 1 on an old hard drive set as slave to a primary Win XP drive. Did it mainly so I could mess around with RT Java. Anyhow, I'm trying to get rid of the slave drive now because I'm giving the machine away and the recipient would like their own slave HD in there. But GRUB is getting in my way- if I just pull the slave drive out, I get a blank GRUB prompt that is completely unresponsive. What's worse, it seems that sometime between then and now, Linux broke- it just refuses to take me to the login screen. Thus I can only boot up anything either from a recovery disk (doesn't help a whole lot) or with both drives in there, in which case I can load Windows.

So the question is, is it possible to deal with GRUB from Windows XP (the only OS I can boot) and get this piece of junk back to its old single Win XP drive status?
 
Old 04-30-2006, 02:27 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
you need to remove the slave drive, then use the windows rescue CD to "fixboot". This should restore the windows bootloader.
 
Old 04-30-2006, 02:52 AM   #3
ychia
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the reply.

I'd actually already tried that. It does result in something different, but it still doesn't work. Instead of getting the GRUB prompt right away, I get errors saying that a primary partition can't be found, and then the GRUB prompt. I've tried changing around the drive position and jumper settings, and the only result is that sometimes (in the wrong settings) the GRUB prompt doesn't even show.

Any ideas?
 
Old 04-30-2006, 02:56 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,049

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Let's see a "fdisk -l" (ell) (both disks installed).
Do it from the recovery disk in need.
 
Old 04-30-2006, 03:05 AM   #5
ychia
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I tried that as well (heard someone say to use fdisk /mbr) and it doesn't even seem to have fdisk on the dumb CD. Apparently it's not a Win XP utility?

Trying to dig up one of my ancient DOS boot floppies now...
 
Old 04-30-2006, 03:39 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,049

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
No, we need to see the output of that command ...
D'oh; sorry - from a Linux system - recovery CD in need.

Last edited by syg00; 04-30-2006 at 03:41 AM.
 
Old 04-30-2006, 05:38 AM   #7
ychia
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Oh. That one might be even harder to find (it's been a few years since I used it).

I'm starting to think it might be easier to just reinstall Windows.
 
Old 04-30-2006, 05:44 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I'd actually already tried that. It does result in something different, but it still doesn't work. Instead of getting the GRUB prompt right away, I get errors saying that a primary partition can't be found, and then the GRUB prompt.
Um... the windows fixboot just overwrites the content of the MBR so that the windows bootloader is there.

In the original install - where was grub installed to? MBR, or a partition on hda?
OR - maybe this is a EFI drive?

It will be conceptually easier to reinstall windows.
Technically, if the windows drive has a vfat partition, one could install the grub.conf file there ... and have grub boot windows?
 
Old 04-30-2006, 05:51 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,049

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Unless I'm severely mistooked (it happens frequently ... ) you should be able to use the first Fedora CD as a recovery CD. At least to do simple commands.
 
Old 05-01-2006, 12:20 PM   #10
ychia
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah, it's been several years since I installed Fedora, and probably about a year since I last booted it up (which is why I didn't realize until now that it was broke). I have no idea where I put the install disks.

GRUB was on another hard drive, not a partition. There was also a vFAT partition on the Windows drive.

I reinstalled Windows and it seems to be working now. Thanks to all those that volunteered their expertise here- you're all impressively knowledgeable.
 
  


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
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 06:26 AM
Grub problem joney_bravo Linux - Software 3 08-12-2004 07:29 PM
Yet another GRUB problem eqxro Linux - Software 3 08-04-2004 10:27 AM
HDD problem, scancode problem and grub EJ_INSIDE Debian 2 07-15-2004 10:36 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 09:13 PM


All times are GMT -5. The time now is 11:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration