LinuxQuestions.org
Help answer threads with 0 replies.
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 04-20-2011, 07:33 AM   #1
Chriscrof
Member
 
Registered: Jul 2008
Location: France and UK
Distribution: 10.10
Posts: 86

Rep: Reputation: 15
Update-grub in grub2 gives an error message


Hi,

Could someone help with this problem please?

I have an old computer that I use for trying out software and other things before putting them on my newer machine so as to avoid irreparable damage.

The machine has 2 hard discs; the first disc contains Windows and I wanted to use the second disc for Linux. I installed Fedora 14 on the second disc and followed this with Ubuntu 10.10.

After I installed Fedora I re-booted and had a choice between booting into Windows or Fedora. After adding Ubuntu I assumed that Grub2 would pick up both Windows and Fedora and add them to the grub menu but instead, the grub menu only contained the options to boot Fedora or Ubuntu.

I tried running 'sudo update-grub' but got the following message:

"cannot access /var/lib/os-prober/mount/boot
Boot: No such file or directory"

When I had a look in /os-prober all that was there was a file called 'labels' and when I opened it it consisted of the one line "Fedora 1"

It looks to me, who doesn't know a lot about grub2, that something is missing from grub and had wondered whether to re-install it or whether doing so would be jumping out of the frying pan into the fire.

Can anyone help, please?
 
Old 04-20-2011, 07:56 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Looks like you installed grub2 into your Windows system. Google found this pretty quickly.
 
1 members found this post helpful.
Old 04-20-2011, 08:16 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Are you still able to boot both fedora & ubuntu?
Is grub within 1st 128G of hdd?
If the answer is yes then boot into ubuntu & mount wins then run
sudo update-grub
 
Old 04-20-2011, 12:23 PM   #4
Chriscrof
Member
 
Registered: Jul 2008
Location: France and UK
Distribution: 10.10
Posts: 86

Original Poster
Rep: Reputation: 15
Hello syg00,

Thanks for your message. You were absolutely right; I followed the link and renamed /boot and it worked. I had also fiddled around with the file 40_custom but probably didn't get the syntax correct

Thank you too EDDY1 I tried your suggestion too because I was able to boot either Fedora or Ubuntu but it didn't work. I still got the error message after typing 'sudo update-grub' in Ubuntu so that was when I tried syg00's suggestion
 
Old 04-20-2011, 04:56 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
 
  


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
[SOLVED] GRUB2: sudo update-grub succeeds but... android-eve Ubuntu 5 12-31-2010 02:06 PM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM
GRUB Read Error After Upgrade to grub2 linuxpyro Linux - Software 4 03-29-2010 09:00 PM
Grub2 (grub-1.96) ERROR: NOT AN ASSIGNMENT ssenuta Linux - General 7 09-02-2009 08:15 AM
Error 18 when trying to boot with GRUB or GRUB2 DaneM Linux - Software 6 09-20-2005 02:45 PM

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

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