LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2014, 07:04 AM   #1
stenstorp
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Rep: Reputation: Disabled
Unhappy Getting rid of Grub Rescue


Hello guys!
I've been frantically installing and uninstalling Linux OS's on to my hard drive (I use it for testing them out and all that) and everything was fine and dandy but, for some reason when I tried to install MS-DOS 6.22 (just for da lolz) again (yes, I have done it before and it worked great!), When I start the computer up, instead of booting to DOS, it boots into Grub Rescue mode. I have tried destroying and creating new partitions on the drive in gparted (there's nothing on there I need to keep), when I boot it up again, it still boots into Grub Rescue.

I know that this is not really a Linux question since I installed MS-DOS but is there a way to get rid of Grub Rescue? I have a smaller drive I can use in the meantime but I would still like to use the bigger one.

Thanks if anyone can help!

Thomas.

P.S I dont care about the contents of the drive, as long as I can install something on it again I'm happy.

Last edited by stenstorp; 10-24-2014 at 07:06 AM.
 
Old 10-24-2014, 07:49 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
GRUB is a bootloader and it is stored besides partitions. You can use
Code:
dd if=/dev/zero of=/dev/sdx bs=512 count=1
to delete it (where "sdx" is your drive). Be in mind that without any bootloader you will not start system from this drive. I am not sure if your DOS installation also install bootloader.

Last edited by eSelix; 10-24-2014 at 07:55 AM.
 
Old 10-24-2014, 01:22 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
that is valid, if somewhat dangerous advice.

you could make yourself a rescue disk - i have been using rescatux succesfully many times - boot from it, and repair grub. usually works.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub File Not found Grub Rescue Error on External Sata to USB Drive imayneed Linux - Newbie 11 08-22-2012 02:56 AM
[SOLVED] Cannot get rid of grub rescue Ncarta Linux - Newbie 6 09-24-2011 10:43 AM
how to get rid of grub, from grub command line preferably slow_footed_Buffalo Linux - Software 10 03-14-2011 03:45 AM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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