![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Installation & Upgrades For questions about upgrading and installation of your new Ubuntu OS. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Location: UK
Beans: 211
Ubuntu Jaunty Jackalope (testing)
|
Update-grub says my /usr is broken?
Im confused and google is turning out nothing for me? After updating to a newer kernel, 2.6.27-11 from 2.6.27-7, I noticed it wasn't showing up in grub. I tried running update-grub and the exact error message I get is:
Code:
$ sudo update-grub Your /usr is broken, please fix it before call this wrapper!
__________________
>> Registered Ubuntu user #24462 |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2007
Beans: 5
|
Re: Update-grub says my /usr is broken?
Yeah, just figured it out. You need to do the following:
chmod 744 /usr/sbin/update-grub The problem is that when you call "update-grub" it runs the script /sbin/update-grub (not in /usr), this file checks a couple of things, one has to do with your kernel conf file stuff (not real sure what it is about) and the other makes sure that /usr/sbin/update-grub exists and is executable. Right now, /usr/sbin/update-grub is not executable. So, run the chmod and then "sudo update-grub" and it will work. Last edited by breusshe; June 6th, 2009 at 06:42 PM.. Reason: Extra words that didn't need to be there, made entry confusing. |
|
|
|
|
|
#3 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Location: UK
Beans: 211
Ubuntu Jaunty Jackalope (testing)
|
Re: Update-grub says my /usr is broken?
Thank you, worked a treat
Is it just me or has the thanks button gone walkies? .. And I cant mark this as solved?
__________________
>> Registered Ubuntu user #24462 Last edited by bubba_169; January 30th, 2009 at 03:41 PM.. |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2006
Location: The Netherlands
Beans: 11
|
Re: Update-grub says my /usr is broken?
Thanks, this worked (Linux Mint 6)
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() |
Re: Update-grub says my /usr is broken?
In my case the file /usr/sbin/update-grub is missing..
What should i do? |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2007
Beans: 5
|
Re: Update-grub says my /usr is broken?
Reinstall grub-gfxboot package. It is the one that has update-grub in it.
|
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() |
Re: Update-grub says my /usr is broken?
There is no package with name grub-gfxboot, but there's a gfxboot package which I already installed. Still, no /usr/sbin/update-grub but there's a /sbin/update-grub.
$sudo update-grub Your /usr is broken, please fix it before call this wrapper!
__________________
Intel Pentium M Centrino 1.73Ghz, 1.25gb RAM, 9.10 Karmic, KDE 4.3 Presario V4122TU |
|
|
|
|
|
#8 |
|
Gee! These Aren't Roasted!
![]() |
Re: Update-grub says my /usr is broken?
Well the correct package was grub-pc, which installed /usr/sbin/update-grub.
The package is installed by default, but it got removed for me when I had installed a package 'grub-choose-default'.
__________________
Intel Pentium M Centrino 1.73Ghz, 1.25gb RAM, 9.10 Karmic, KDE 4.3 Presario V4122TU |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2007
Beans: 5
|
Re: Update-grub says my /usr is broken?
Oh, sorry for pointing you to the wrong package. Glad you got it going again.
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 8
Ubuntu Karmic Koala (testing)
|
Re: Update-grub says my /usr is broken?
The funny thing is, installing 'grub-pc' to get back /usr/sbin/update-grub removed the package 'grub', which contained /sbin/update-grub, which gave the above error message in the first place
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|