LinuxQuestions.org
Visit Jeremy's Blog.
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-12-2011, 11:28 PM   #1
zpharaoh
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 0
Removing BackTrack 4 / grub error 15


I'm trying to uninstall backtrack 4 and put windows xp on my hard drive. I bought the hard drive clean and immediately put backtrack on it I've never dual booted with windows. I kept getting the no-apic timer error when I stuck in my windows xp boot disk and booted from the CD. I then used my live backtrack 4 disk and deleted the partition so I have a blank hard drive (so I thought). I tried booting from the windows recovery disk and I kept getting the GRUB error 22. I went back onto the backtrack 4 live cd and created a partition on my hard drive, tried to boot to the windows recovery disk yet again and now I'm getting the GRUB error 15. I've been at this for about 2 hours now and haven't found an answer anywhere. I've tried going sudo grub then doing find/boot/grub/stage1 and I get the error 15 in there as well. All I want to do is install windows ><

All solutions I've seen say to do fixmbr in windows command line but the only disk I can boot to is backtrack 4 so that's not an option.

Last edited by zpharaoh; 05-12-2011 at 11:30 PM.
 
Old 05-12-2011, 11:55 PM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Sounds like you have to enter the Bios and change the order in which the devices boot. That is make the CD boot before the hard-disk.
The keyboards-shortcut how to get into Bios varies. If you are lucky it will get printed on the screen before grub.
Often its one of the F{1..12} keys or the esc-key. I think.
 
Old 05-12-2011, 11:59 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
You have deleted the partitions, but not the bootloader. Despite that, you should be able to start from your Windows-CD. Check your boot-device order in the BIOS, and if that doesn't work check your Windows CD on a different PC.
 
Old 05-13-2011, 12:07 AM   #4
zpharaoh
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j1alu View Post
Sounds like you have to enter the Bios and change the order in which the devices boot. That is make the CD boot before the hard-disk.
The keyboards-shortcut how to get into Bios varies. If you are lucky it will get printed on the screen before grub.
Often its one of the F{1..12} keys or the esc-key. I think.
Forgot to add that to the post, I tried making the CD the first item to boot from, and I even excluded the hard drive from being on the list and it says no boot device found but backtrack 4 recognizes disks so it can't be a bad disk drive.
 
Old 05-13-2011, 11:50 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,333

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
TobiSGD told you what the problem is. Grub installs a tiny part of its bootloader (512bytes) on the mbr. Windows does the same. So what you have done is left the Grub stage1 file in the mbr and deleted all the other files it needs to boot. This is a very common problem with windows disks when another OS has data in the mbr. You can delete the partition table or mbr with the dd command from your Backtrack CD in a terminal. Below is a link to a site explaining how to use that and also how to repair mbr with various windows operating systems.

http://raj-kumar-linux.blogspot.com/...talled-by.html

Or just google this: dd command to overwrite mbr
 
  


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
DUAL BOOT Backtrack Linux & Windows XP Pro from separate HDD's with GRUB nam5301 Linux - Newbie 1 02-10-2011 10:05 PM
Debian Squeeze: Grub not working (XP removing grub) wearetheborg Debian 10 02-16-2010 06:33 PM
GRUB Error 17 after removing Kubuntu. Main OS is Vista. Can't Load Anything DumbPoet Linux - Newbie 3 01-13-2009 02:32 PM
Removing Linux / GRUB Error 21 Tr3z0 Linux - General 2 10-20-2007 08:27 PM
GRUB ERROR removing UBUNTU anasmich Ubuntu 4 07-12-2007 07:28 AM

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

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