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 10-26-2008, 05:40 PM   #1
kjbenner
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
Uninstalled Fedora--Fix/Remove GRUB?


Hello all,

After messing around with Fedora Core 6 for a while, I removed it from my system by deleting and reformatting the partitions it was installed on. My computer previously was set up to dual boot windows XP and Fedora.

I plan on installing Ubuntu 8.10 when it comes out soon, but in the meantime I'm just using XP.

When I boot up, GRUB comes up in a command-line mode. From here I can boot into XP. So I suppose I have a couple of questions:

1: Is there a way I can set up GRUB from its command line to automatically boot into XP without me needing to type in the commands? The only way I knew how to do this was to modify grub.conf which has now been wiped off.

2: Have I done anything that will hinder me installing Ubuntu (I know formatting my partitions was a fairly brute-force way to get Fedora off of there)? Will I need to remove GRUB as it exists now to allow for a proper install of Ubuntu that will let me dual boot XP/Ubuntu?

Thanks for any help.

Kevin
 
Old 10-26-2008, 05:45 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you can boot into linux in some form (live CD, FC6 in rescue mode), find grub's menu.lst and modify it so that there is a line

default=x

where x is the OS entry corresponding to XP. Note that this numbering stars as zero, not one.

Set

timeout=y

where y is the number of seconds to wait until it boots the default. You could set this at zero, but one may be a better option. So, you may end up with

default=0
timeout=1

Hope that helps.


If you have a problem, post menu.lst.
 
Old 10-26-2008, 05:46 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Oops - just saw the bit about grub.conf being wiped.

The other thing to do is reinstall the Windows loader with a utility called fixmbr on the install/rescue disk.

Or you could reinstall grub on the old FC6 partition
 
Old 10-26-2008, 06:26 PM   #4
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
I would just reinstall the Windows MBR (Master Boot Record) that you had before using Grub. Like Billymayday said, if you have your Windows Install CD, go to the "recovery console" and run:
Code:
fixmbr
Or since you can boot into Windows, just download "MBRFix 1" and use that to reinstall a Windows MBR. Let us know how it goes.
 
Old 10-26-2008, 08:54 PM   #5
kjbenner
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by CJS View Post
Or since you can boot into Windows, just download "MBRFix 1" and use that to reinstall a Windows MBR. Let us know how it goes.

Thanks for the suggestion! MbrFix did it, and only took a couple of seconds.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub 17 - Uninstalled Linux : Won't Boot to Windows fordianslip Linux - General 5 09-01-2006 01:27 PM
Remove Fedora/Grub from Dual Boot System jcrapps Linux - Newbie 4 02-17-2006 04:04 PM
Uninstalled GRUB, need it back tauhshi Linux - Newbie 1 01-03-2006 08:25 PM
Uninstalled SuSe; GRUB Stops PC From Booting MisterAle Linux - Software 2 12-23-2004 10:52 PM
Uninstalled... how do I use grub (command line) to boot winXP? once here Linux - Software 3 02-28-2004 07:49 AM

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

All times are GMT -5. The time now is 09:33 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
Open Source Consulting | Domain Registration