LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2010, 12:32 PM   #1
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Rep: Reputation: 19
I deleted GRUB after removing an OS


HI thank you community.

I run a Toshiba laptop, Celeron.
Pre-loaded with Win7,
currently multi-boot, with
Kubuntu 10.04,
Ubuntu 10.04 and
Sabayon KDE.

Grub 1.98 (Grub2)

I still have partitions to spare.

I always write Grub to /dev/sda .

The problem is, I used the Gparted CD to remove Sabayon, by method of simply re-formatting over that drive. I didn't foresee a problem.

Now, when I start that machine, it looks like Grub is about to load, then it gives me the black screen with:

Quote:
error: file not found.
Entering rescue mode...
grub rescue>

The cursor just blinks at me. My machine is in a coma. Please help me, friends. How do I revive the Grub so I can access my other OS's?
 
Old 11-18-2010, 12:40 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Get SuperGrubDisk and boot from it into one of your *buntus. Then start a terminal and do
Code:
sudo grub-install /dev/sda
sudo update-grub
All should be fine after this procedure.

Explanation: I assume that Sabayon was the last OS you installed. It installed its Grub to the disk, so the first part of Grub is searching for his files on the Sabayon-partition. You deleted this files, so Grub can't find them. Solution: Let an other OS install Grub.
 
1 members found this post helpful.
Old 11-18-2010, 12:47 PM   #3
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
May I assume that without doing anything else, that I can just install another OS and my Grub will re-appear?
 
Old 11-18-2010, 12:54 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
yes, it will
 
1 members found this post helpful.
Old 11-18-2010, 12:56 PM   #5
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Quote:
Originally Posted by Bhakta Neal View Post
May I assume that without doing anything else, that I can just install another OS and my Grub will re-appear?
Installing another OS that uses GRUB 2 (i.e. a Linux OS) will work by itself.

Or you can follow the instructions.

Or you can boot a live Linux CD, chroot into one of the installed systems, and repair GRUB 2 from there.
 
1 members found this post helpful.
Old 11-18-2010, 08:32 PM   #6
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Ok then, Super Grub is ready, here I go..
 
Old 11-18-2010, 09:10 PM   #7
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Sweet! All good!

Thank you folks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Squeeze: Grub not working (XP removing grub) wearetheborg Debian 10 02-16-2010 06:33 PM
/boot/grub/grub.conf file has been deleted on rhel5 diwakars Linux - Newbie 5 12-03-2008 12:21 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
xp deleted grub cybrtrckr Linux - Newbie 8 10-01-2004 04:25 PM
Evolution - Removing trash from server when deleted locally njlarkin Linux - Software 0 10-19-2002 01:45 PM


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