LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-31-2008, 09:10 PM   #1
treythomas123
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Question GRUB Error 17 after trying to remove Ubuntu


Hey guys I'm new to this forum, so I'm sorry if I say something stupid.

I recently bought a new computer, and I'm giving my old one to my mom for her to use for web browsing and email and stuff like that. The computer had a dual boot with Ubuntu as the default and XP Professional. She already knows how to use Windows, and didn't want to learn how to use the new interface, so I decided to just remove it and let her use XP Pro. I then proceeded to simply reformat the partition containing Ubuntu using the Windows device manager, thinking that with only one operating system, it would default boot that one. Instead, when I rebooted, I got a GRUB Error 17, which apparently means it can't find the partition that it was told to boot from. I used the Ubuntu live cd to look at the partitions and make sure the NTFS formatted windows partition was set to boot, and it was. So what do I need to do to completely remove Linux from the machine and just run Windows?


PS I realize that Linux is not difficult to use and that it is better than Windows in quite a few ways, but my mother wants to just use what she is used to.
 
Old 01-31-2008, 09:26 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
Quote:
Originally Posted by treythomas123 View Post
PS I realize that Linux is not difficult to use and that it is better than Windows in quite a few ways, but my mother wants to just use what she is used to.
And so she shall....

Boot up from the Windows CD, rescue mode, and enter "fixmbr". This re-installs the Windows bootloader.
 
Old 01-31-2008, 09:42 PM   #3
treythomas123
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
Boot up from the Windows CD, rescue mode, and enter "fixmbr". This re-installs the Windows bootloader.
Thanks for the reply, one small problem though. I seem to have misplaced my Windows CD.
 
Old 01-31-2008, 10:07 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
Do you have a floppy drive? If so you can get a win98 startup disk image here:

http://www.svrops.com/svrops/dwnlddisk.htm

Follow the instructions to make a win98 startup floppy, boot off the floppy and at the command prompt run:

> fdisk /mbr

This usually works even with winxp but it is always better to use the winxp cd recovery console with fixmbr.

Last edited by kilgoretrout; 01-31-2008 at 10:15 PM.
 
Old 01-31-2008, 11:04 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,223

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Go get a Knoppix disk, and do a "install-mbr /dev/hda" (sda if appropriate).
This installs a generic loader by the looks of it. It will boot the partition marked active/bootable. Doesn't have to be NTFS/fat, but presumably will be in your case.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB Error 26: Disk Read Error (using grub4dos and ubuntu) Dark_Master Linux - Software 11 02-25-2007 07:42 AM
How to avoid GRUB error 21 when I remove external hard drive blee37 Linux - General 4 12-30-2006 07:40 AM
GRUB Error 26: Disk Read Error (using grub4dos and ubuntu) Dark_Master Linux - Newbie 2 11-07-2006 11:58 AM
Formatting to remove Grub Error 17 mupsai Linux - Newbie 2 07-11-2005 03:22 PM


All times are GMT -5. The time now is 04:29 AM.

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