From: Camaleón on
On Mon, 12 Jul 2010 20:03:47 +0200, Sven Joachim wrote:

> On 2010-07-12 19:41 +0200, Camaleón wrote:
>
>>> Foreign operating systems are (supposed to be) detected by os-prober,
>>> so if Fedora 13 does not show up, this is a bug in os-prober.
>>
>> Mmm, I don't even have that installed on my system (lenny) :-?
>
> Which grub version do you have?

GRUB Legacy.

>> Is it a required package for GRUB (legacy or 2) to detect the available
>> systems?
>
> I'm not sure if grub legacy even has an option to detect other systems,

Debian installer auto-detected my other linux OS (openSUSE 10.3) and
added to "/boot/grub/menu.lst", I had to do nothing :-?

> but grub2 uses it in /etc/grub.d/30_os-prober.

Which seems to be a script/routine that first checks for the availability
of "os-prober". So it makes sense to me that if anyone wanted to use
the"update-grub" and its auto-OS-detecting feature, this package should
be needed/installed.

> In Squeeze, grub-common therefore recommends os-prober (but not in
> Lenny due to bug #476184¹).

More than "recommended" it should be "required", provided that "update-
grub" will lack some features if not present :-?

> ¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476184

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.07.12.18.21.51(a)gmail.com
From: Sven Joachim on
On 2010-07-12 20:21 +0200, Camale�n wrote:

> On Mon, 12 Jul 2010 20:03:47 +0200, Sven Joachim wrote:
>
>> On 2010-07-12 19:41 +0200, Camale�n wrote:
>>
>>>> Foreign operating systems are (supposed to be) detected by os-prober,
>>>> so if Fedora 13 does not show up, this is a bug in os-prober.
>>>
>>> Mmm, I don't even have that installed on my system (lenny) :-?
>>
>> Which grub version do you have?
>
> GRUB Legacy.
>
>>> Is it a required package for GRUB (legacy or 2) to detect the available
>>> systems?
>>
>> I'm not sure if grub legacy even has an option to detect other systems,
>
> Debian installer auto-detected my other linux OS (openSUSE 10.3) and
> added to "/boot/grub/menu.lst", I had to do nothing :-?

Yes, but any system that you install _after_ Debian will not
automagically show up in the menu. You'll probably have to add it by
hand then.

>> but grub2 uses it in /etc/grub.d/30_os-prober.
>
> Which seems to be a script/routine that first checks for the availability
> of "os-prober". So it makes sense to me that if anyone wanted to use
> the"update-grub" and its auto-OS-detecting feature, this package should
> be needed/installed.

Exactly.

>> In Squeeze, grub-common therefore recommends os-prober (but not in
>> Lenny due to bug #476184�).
>
> More than "recommended" it should be "required", provided that "update-
> grub" will lack some features if not present :-?

No, there are people like yours truly who use Debian as their sole
operating system. Others might use some other bootloader in the MBR and
chainload grub, they probably don't need os-prober either.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/87hbk4pm77.fsf(a)turtle.gmx.de
From: H.S. on
On 12/07/10 01:45 PM, H.S. wrote:
> On 12/07/10 01:41 PM, Camaleón wrote:
>> On Mon, 12 Jul 2010 19:22:29 +0200, Sven Joachim wrote:
>>
>>> On 2010-07-12 19:09 +0200, Camaleón wrote:
>>>
>>>> Also, take a look into the bugs that have already filled for grub-pc:
>>>>
>>>> http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=grub-pc
>>>
>>> s/grub-pc/os-prober/
>>>
>>> Foreign operating systems are (supposed to be) detected by os-prober, so
>>> if Fedora 13 does not show up, this is a bug in os-prober.
>>
>> Mmm, I don't even have that installed on my system (lenny) :-?
>>
>> Is it a required package for GRUB (legacy or 2) to detect the available
>> systems?
>>
>> Greetings,
>>
>
> I don't have that installed either! And yet all my OSes, barring F13,
> are being probed alright. So this makes me wonder, does grub-pc even use
> it while probing for OSes?

I just checked again and os-prober is intalled on my system. I am not
sure why I missed this earlier.

Curiously though, update-grub is now detecting Fedora 13! It was not
doing so last night. And my bash history shows that I did not install
os-prober between then and now.

I check my aptitude log and it shows that os-prober was on HOLD three
days ago (I supposed when I did the initial installation). After that
installation, the trunk kernel and grub in Testing were giving problems
so I pulled those from Unstable. Perhaps this messed up os-prober somehow.

Today I was messing around with scim. Last night I did a full-upgrade.
And now I notice that F13 is being detected by update-grub.

I wish I would tell what I changed. So even though the problem is
solved, but I am at a loss to explain what did it.



--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i1fp4n$deh$1(a)dough.gmane.org
From: Goh Lip on
On 07/12/2010 12:17 PM, H.S. wrote:
>
> On a newly installed Debian Testing system, I installed Fedora 13 in a
> partition but chose not to install the boot loaded since I wanted to use
> Debian's boot loader for all OSes.
>
> Now when I do update-grub in Debian, it detects all OSes installed in
> the hard drives connected to the system, but does not detect Fedora 13.
> I had to manually add the stanza lines for F13 to get its option in the
> grub boot list.
>
> I am using LVM. F13 is installed with / mounted on /dev/mapper/vg1-lv8
> and its boot on /dev/sdc5. Update-grub appears to miss detecting the
> kernels in /dev/sdc5 altogether. Any idea why is that?
>
> Thanks.

Boot up Debian, at terminal,
sudo grub-install /dev/sda

Regards - Goh Lip


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i1gj7q$p64$1(a)dough.gmane.org
From: H.S. on
On 12/07/10 03:07 PM, H.S. wrote:
>
> Curiously though, update-grub is now detecting Fedora 13! It was not

Well, I wrote that too soon.

Here is what update-grub puts in /boot/grub
/grub.cfg regarding the Fedora 13 installation:
#######################################################
menuentry "Fedora release 13 (Goddard) (on /dev/mapper/vg1-lv8)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set
b40b5b7f-6999-4a12-9d3b-62e0fc892a40
linux /vmlinuz-2.6.33.6-147.fc13.x86_64 root=/dev/dm-1
}
#######################################################

It is missing the initrd line. Without that line the kernel does not
boot and panics and halts.

I have to put the correct stanza myself in /etc/grub.d/40_custom to get
the correct grub entry which works:
#######################################################
menuentry "Fedora release 13 (on /dev/mapper/vg1-lv8)" {
insmod part_msdos
insmod ext4
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set
b40b5b7f-6999-4a12-9d3b-62e0fc892a40
linux /vmlinuz-2.6.33.6-147.fc13.x86_64 root=/dev/mapper/vg1-lv8
ro quiet
initrd /initramfs-2.6.33.6-147.fc13.x86_64.img
boot
}
#######################################################


So there still appears to be some problem somewhere.


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i1gqhs$9hj$1(a)dough.gmane.org