LinuxQuestions.org
Review your favorite Linux distribution.
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 03-12-2012, 01:05 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 486

Rep: Reputation: 30
How to probe grub2 to add new installed os?


Hi,
When i install the wheezy grub2 just add all other os to the grub.cfg while installation, now i installed some new and remove some old os, is there any command for grub2 to update the installed os again?
 
Old 03-12-2012, 01:45 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,070

Rep: Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944
Quote:
is there any command for grub2 to update the installed os again?
sudo update-grub or login as root (su at the terminal prompt), enter your root password and run: update-grub.

There is also a program called os-prober which may not be installed by default. If the update command doesn't get everything, run os-prober as root, if it returns a message not installed, as root: apt-get install os-prober.
 
  


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
GRUB2 installed from Linux Mint Debian xfce onto ThinkPad x120e not working aetherian Linux - Newbie 3 02-24-2012 08:14 PM
[SOLVED] How do I add gentoo to grub2 ? JESSEJJ89 Linux - General 6 12-29-2011 03:14 AM
How to add entry to GRUB2 with 2 hard disks rhklinux Linux - Newbie 3 06-08-2010 07:26 AM
Did you know Grub2 can be installed to fat32 usb and boot from it? I didnt... linus72 Linux - General 1 03-20-2010 09:36 AM
Configuration problem of grub2 installed in Ext.HDD!! firewiz87 Linux - Software 5 08-24-2009 10:37 AM

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

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