LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-12-2012, 12:05 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

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, 12:45 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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



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 07:14 PM
[SOLVED] How do I add gentoo to grub2 ? JESSEJJ89 Linux - General 6 12-29-2011 02:14 AM
How to add entry to GRUB2 with 2 hard disks rhklinux Linux - Newbie 3 06-08-2010 06: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 08:36 AM
Configuration problem of grub2 installed in Ext.HDD!! firewiz87 Linux - Software 5 08-24-2009 09:37 AM

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

All times are GMT -5. The time now is 03:28 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
Open Source Consulting | Domain Registration