detecting other os [hardy]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub-pc
Migrating to grub2 was painless. However, it is not trivial to add a menu entry for other operating systems. Mostly because of the astonishing lack of documentation. How can it be that grub2 has been in development since 2002 and in all that time hardly any documentation was written? The only usable clue to configuring grub2 seems to be the list of installed files of the grub-pc package! In any case...
How about detecting windows from a script in /etc/grub.d/ ? See the attachment, an unpolished example script. It works for me.. the script looks for NTFS partitions marked as bootable, and adds a menu entry for them. I'm sure we could elaborate on the example, for example search for other bootable partition types.
grub-pc:
Installed: 1.96+20080203-
Candidate: 1.96+20080203-
Version table:
*** 1.96+20080203-
500 http://
100 /var/lib/
This bug was fixed in the package grub2 - 1.96+20080512- 1ubuntu2
--------------- 1ubuntu2) intrepid; urgency=low
grub2 (1.96+20080512-
[ Onkar Shinde ] grub_standards to remove GNU/Linux from the root_uuid. diff to default to using UUIDs
* debian/patches:
- Add 03_ubuntu_
default string. (LP: #192955) Don't show splash screen or quiet mode
in single user mode.
- Add 04_convert_
on new GRUB2 installations. (LP: #192956)
* debian/control:
- Move os-prober to 'Depends' since Ubuntu version does not suffer from
the mount problem in Debian version. 'os-prober' is needed for probing
other operating systems. (LP: #214642)
* Other bugs fixed - LP: #219580
[ Mario Limonciello ]
* Add items from missed merge bug (LP: #234288)
-- Onkar Shinde <email address hidden> Fri, 23 May 2008 14:28:36 +0530