Grubb list menu

Tom H tomh0665 at gmail.com
Sun Oct 28 00:32:18 UTC 2012


On Sat, Oct 27, 2012 at 6:55 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 10/27/2012 01:53 PM, Tom H wrote:


>> 1) I've just looked at "/etc/grub.d/30_os-prober" and it's changed
>> since I posted [1].
>>
>> With 12.04, you have insert the lines to exclude the Windows Recovery
>> partition(s) between
>>
>> <begin>
>> if [ -z "${LONGNAME}" ] ; then
>>  LONGNAME="${LABEL}"
>> fi
>> </end>
>>
>> and
>>
>> <begin>
>> gettext_printf "Found %s on %s\n" "${LONGNAME}" "${DEVICE}" >&2
>> </end>
>
> ?? Perhaps 12.10? in 12.04 I do not find gettext. My 30_os-prober is here:
>
> http://paste.ubuntu.com/1310982/

Yes, 12.10. Sorry.


>> 2) The ouput of os-prober seems to have changed yet again because
>> according to [2], it now prints
>>
>> <begin>
>> Found Windows Recovery Environment (loader) on /dev/sda1
>> Found Windows 7 (loader) on /dev/sda2
>> Found Windows Recovery Environment (loader) on /dev/sda3
>> </end>
>>
>> 1. https://lists.ubuntu.com/archives/ubuntu-users/2010-February/210704.html
>>
>> 2. http://ubuntuforums.org/showthread.php?t=2055552
>
> $ sudo update-grub
> ...
> Found Windows 7 (loader) on /dev/sda1
> Found Windows 7 (loader) on /dev/sda2
> Found Windows Recovery Environment (loader) on /dev/sda3

Looking around the os-prober files, it looks like the os-prober naming
of entries is done by "/usr/lib/os-probes/mounted/20microsoft" and it
seems simply to grab the names/descriptions given in the Windows BCD
setup. So the difference above comes from the Windows setup...




More information about the ubuntu-users mailing list