LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-01-2010, 03:44 PM   #1
Scarletdown
Member
 
Registered: Sep 2004
Posts: 39

Rep: Reputation: 19
GRUB2 - Failtrain Ride - Operating System Not Found


I just did a fresh very basic Debian Sid install on my "experimental" system (one hard drive with only a single partition), basic install meaning console only and just the following packages: ssh, mc, samba, elinks, sudo, and ClamAV.

After all the packages were installed, I ran apt-get dist-upgrade. This replaced GRUB 1.5 with GRUB 2. A reboot showed no problems, so I then gave the upgrade-from-grub-legacy command followed by the removal of the old unused /boot/grub/menu.lst just as the upgrade suggested.

A reboot now gives me:

GRUB Read Error
Operating system not found

What needs done to fix this? I have a System Rescue CD that I downloaded a couple days ago while learning about partimage. I am guessing there should be a way to use this to fix this problem, however, I have no idea what the procedures would be. From what I have seen of the new GRUB configurations, it does not look like the technique that was used to restore a 1.5 boot loader won't work with 2.0.

And once I get this fixed, is there anything I can do next time to prevent this from happening? This system I am working with is slated to be the demonstration subject for a series of Linux how to videos I am going to make (geared toward newcomers to Linux). So the procedures need to be reliable and smooth without getting bogged down in the editing of an infinite number of config files, etc. (that stuff is for a future installment).
 
Old 04-02-2010, 02:49 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Use this disc instead: Super Grub Disk. It makes repairing your grub easy and simple.
 
Old 04-02-2010, 11:43 PM   #3
Scarletdown
Member
 
Registered: Sep 2004
Posts: 39

Original Poster
Rep: Reputation: 19
I'll check out that Super GRUB disk after the weekend. In the meantime, for troubleshooting purposes, I went ahead and wiped the drive and reinstalled the base system. Before doing the dist-upgrade, I rebooted with the System Restore CD and backed up everything with partimage.

After the dist-upgrade, GRUB2 was again installed, and the first reboot went fine. The problem definitely happens once the command upgrade-from-grub-legacy is issued, because again, I ended up with an unbootable system. Fortunately, I was able to restore from the aforementioned backup and am ready to try a dist-upgrade again. But before I do that, I just need to get some ideas as to why GRUB2 fails and what can be done preemptively to prevent this from happening.

Since this is for a how to video geared toward people who may be interested in either switching completely to Linux or at least learning to install and use Linux alongside other OSes, I need to make this as painless as possible, as having to delve into too many config files and complex commands could cause spontaneous cerebral detonation. So for now, I think I will advise two possibilities when it comes time to do the upgrade.

1: Show how to pin the GRUB Legacy package so it does not get replaced (yes, they will need to do some manual config stuff after all).
2: If they prefer to upgrade GRUB after all, advise against running the upgrade-from-grub-legacy command.

Sure, I would prefer not having to do either of these workarounds, but this project would be stalled indefinitely until a solution is found.
 
Old 04-08-2010, 03:25 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,045

Rep: Reputation: Disabled
Maybe these can help to understand the new GRUB:

http://www.dedoimedo.com/computers/grub-2.html
http://ubuntuforums.org/printthread.php?t=1195275

HTH.
 
Old 02-21-2011, 03:14 PM   #5
darkduck
Member
 
Registered: Jan 2011
Location: London
Distribution: Ubuntu, Debian
Posts: 493

Rep: Reputation: 26
do you have grub> after error message?
 
Old 02-21-2011, 04:45 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
apt-get install grub-pc
os-prober
update-grub
http://karuppuswamy.com/wordpress/20...rescue-prompt/
 
Old 02-21-2011, 05:29 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,142
Blog Entries: 2

Rep: Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846
In which way do you install Sid? Whenever I install it, I have Grub2 out of the box, and it always works.
 
  


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
'Operating system not found' Any operating system installed wont work. TechniSlave Linux - Newbie 55 02-09-2009 11:02 AM
operating system not found bountyhunter Linux - Newbie 5 03-30-2007 03:34 PM
Operating system not found domon#1 Linux - Hardware 20 07-01-2005 12:40 PM
Operating system not found juanbobo General 3 06-01-2005 01:46 PM
Operating System Not Found PaulSpn1 Linux - Newbie 4 07-22-2004 05:49 AM

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

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