LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-05-2009, 05:15 AM   #1
Mimux
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
How to find all bootable OS'es to be installed on a MBR with GRUB


Hello,

I would like to know how do Linux OS installers find all the bootable OS's on the partitions of every disk present when the current OS is being installed.

An example is Ubiquity. At the end of the installation of Ubuntu, it scans all the attached disks (removable and not removable) and builds a menu.lst for GRUB containing all the found OS's with their correct title or description (i.e "windows", "Ubuntu", "Other OS")

Before looking at the Ubiquity code, I would like to know if there's a way/tool/script to scan all the disks that way WITH THE ONLY EXCEPTION of removable disks (like USB).

I remember you that GRUB itself cannot do the whole thing, since it only can find kernels on the CURRENT /boot directory, while Ubiquity (which still uses GRUB as bootloader) can also finds non-Linux OS's in ALL the disks.

Thanks
 
  


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
Grub in MBR no Linux installed can't access hard drive bookmonger Linux - Software 13 02-14-2006 08:06 AM
boot fails when grub installed on MBR cheema Debian 4 01-05-2006 11:39 AM
Installed GRUB on MBR or First Sector of boot zillah Fedora 6 06-16-2005 12:46 PM
GRUB installed on hde MBR booting XP on hda2 r_jensen11 Slackware 3 06-03-2004 04:34 PM
Multiple OS'es Win XP, Suse, and Mandrake9.2 can,t boot to the Linux OS'es Chancelor Mandriva 3 12-28-2003 05:05 AM

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

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