LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-22-2004, 06:24 PM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Bootloader problem


Hello.

First of all, let me just say I am very very stupid, and if this isn't fixed, I am completely screwed. Okay, here's the problem.

I had Windows XP Home running, and I decided to give SuSE 9.1 a shot (I'm a complete Linux newbie). I installed SuSE, as well as the the GRUB bootloader. Then I decided that fun was over, I booted back into windows, and used PartitionMagic to delete the partition that held SuSE, as well as the swap partition.

Well, you linux gurus should know by now what my problem is. The bootloader didn't go away, and I cannot boot into Windows. Grub is giving me a command line interfact that I have no idea what to do with. Please help, i really want to try to avoid getting a new hard drive over this.

Thank you!

~One moronic Linux Newbie.
 
Old 09-22-2004, 06:29 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Insert your xp install cd in the drive, run into console recovery and type:
fixmbr
this app shall write a new bootsector, erasing grub.
 
Old 09-22-2004, 06:41 PM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
My friend, you are my saviour! I got my system back up, thank you very very much. Whew!

Can you reccommend a safe way to remove GRUB next time?

Thank you, thank you, thank you.
 
Old 09-22-2004, 07:16 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
I'm glad it worked! Cheers!

Actually, grub is a boot loader. Xp has its own boot loader. Any OS you install will have its dedicated bootloader. It is pointless to remove a bootloader without providing the machine with another bootloader. I guess it is why nobody bothers to write a "bootloader eraser". The next bootloader you install will necessarily erase the current one, you get the idea?

If you wanna remove linux completely, what you did was correct: erase the partitions and then, overwrite grub with win's bootloader.

I just feel like its a shame you're leaving. What happened? Suse didn't work for you?

Last edited by bruno buys; 09-22-2004 at 07:19 PM.
 
Old 09-22-2004, 07:19 PM   #5
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Oh, I'm not leaving. lol. Not that easily. What happenned was I messed with the display settings, and my screen wouldn't show up (I was trying to increase the refresh rate), and X wouldn't start at all. I tried failsafe, assuming it'd be soemthing like Safe Mode, but it was all command line, and I had no idea what to do. So I had every intention to reinstall, but then this happenned. Tommorrow, I am definitly putting SuSE back on.
 
Old 09-22-2004, 08:07 PM   #6
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
OK! I'm happier now!
 
  


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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
Bootloader problem armasnavi Fedora 2 01-31-2005 01:37 PM
bootloader problem MikeHiro Fedora 4 08-31-2004 01:02 AM
bootloader problem suvrat23 Linux - Newbie 1 07-20-2004 12:02 AM

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

All times are GMT -5. The time now is 01:41 PM.

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