LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-01-2010, 12:55 PM   #1
thepenquin
LQ Newbie
 
Registered: May 2010
Location: Southeastern Michigan
Distribution: Ubuntu 9.10, 10.04
Posts: 1

Rep: Reputation: 0
Unhappy Trying to repair Grub2 for Ubuntu 10.04 in multi-boot scenario


Hi, thanks for your site! I have experimented for a long time with Linux (Ubuntu) for quite a while in virtualizations and demo mode. A few days ago I installed Ubuntu 10.04 directly to a seperate HD in my machine. I run Windows 7, Windows Vista (and hopefully) Ubuntu. Ubuntu appears in the boot menu with the other OS's, it however goes to a screen in the Ubuntu boot loader that lists the same os's as windows initaially does but tells me when chosen that the disk does not exist. I'm trying to use Linux as I am a long time windows user and am getting tired of many issues, my own opinion! After searching, I've learned that repairing Grub2 is the problem. How-to (clarification) would be greatly appreciated. Thanks again for the great pages.
 
Old 05-01-2010, 12:58 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Where did you install GrUB 2 ?
Did you use GRUB 2 to boot all you're OS including windows ?
 
Old 05-01-2010, 01:00 PM   #3
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello and welcome to LinuxQuestions,

Can you boot into Linux or in none of the installed OS? Have a look at this site for a good GRUB2 tutorial.

Kind regards,

Eric
 
Old 01-10-2011, 09:56 AM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,324
Blog Entries: 3

Rep: Reputation: 86
Quote:
Originally Posted by thepenquin View Post
...After searching, I've learned that repairing Grub2 is the problem. How-to (clarification) would be greatly appreciated. Thanks again for the great pages.
I know that this thread is stale, but I found it so others might and they deserve more information than is found here.

Each disk drive that can boot has a Master Boot Record (MBR). Each OS has their own code that gets written into this MBR. At power-on boot time, a small program in the hardware BIOS finds bootable disks, reads the slightly larger code from the MBR. The MBR code then finds the full OS on the disk drive. In addition to the MBR, boot details might also get written into the first few bytes each partition.

"GRUB Legacy" and now GRUB2 are one of the boot-time programs used by linux.
The end-user runs a linux program (update-grub or similar) that collects details from a linux install and writes the needed parts onto the MBR. These details include the path on disk where various OS parts are found. If there are multiple available OS configurations, there would likely be a menu to enable end-user choice of which OS to boot. Lastly, there is a small program needed to make all of this slightly smarter but still very small program.

GRUB problems typically take a couple of very specific forms:
  • power on boot does not find useful things in the MBR
  • GRUB starts and runs but does not work correctly
  • GRUB starts and runs and works correctly but cannot find the parts it needs on the various OS partitions.

In the first case, you generally get messages from the hardware BIOS about a boot failure.

In the second case, you get GRUB errors about various internal details.

In the final case, GRUB complains about the various missing parts.

Each of these failures has its own corrective action. Typical trouble happen when something writes data over all or part of GRUB data. This is common when applying updates to one of the alternate-boot OS's.

The following might be a good start to recovery.
https://help.ubuntu.com/community/Re...tallingWindows

Bonne Chance,
~~~ 0;-Dan
 
  


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
LXer: So HERE'S how you get into grub2 if there's no boot menu in Ubuntu Lucid 10.04 LXer Syndicated Linux News 0 03-23-2010 02:20 PM
how to multi boot my pc with xp, ubuntu & fedora lifnajos Linux - Newbie 16 12-07-2009 09:03 AM
I need a Linux OS other than Ubuntu which has a repair disk or repair software jhmac77 Linux - Newbie 1 03-17-2008 07:04 AM
Ubuntu to boot multi-user, but not x sohmc Ubuntu 3 05-17-2007 03:10 PM
Installing Ubuntu 6.06_64 on multi-boot HD satimis Ubuntu 0 07-25-2006 07:35 AM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration