From: H.S. on

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.

--

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/i1e51g$k35$1(a)dough.gmane.org
From: Camaleón on
On Mon, 12 Jul 2010 00:17:53 -0400, H.S. wrote:

(...)

> 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?

I don't know so much how the "new beast" (GRUB2) works, but if "man
update-grub¹" is right, it will detect all the "vmlinuz" files that are
under the "/boot" partition, not sure if this condition fits in your case.

I guess there are still situations where a manual edition of GRUB2 menu
is required (i.e., bootloader chainloading).

¹ http://man.he.net/man8/update-grub

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.16.15.55(a)gmail.com
From: H.S. on
On 12/07/10 12:15 PM, Camaleón wrote:
> On Mon, 12 Jul 2010 00:17:53 -0400, H.S. wrote:
>
> (...)
>
>> 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?
>
> I don't know so much how the "new beast" (GRUB2) works, but if "man
> update-grub¹" is right, it will detect all the "vmlinuz" files that are
> under the "/boot" partition, not sure if this condition fits in your case.

I have F13's kernel on a partition mounted as /boot2 (primary partition,
not in LVM) in my Debian's fstab. However, update-grub works on all
other OSes I have on my hard drives, include Windows XP, Windows 7 and
Fedora 9, and those partitions are not even mounted.


--

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/i1ffkd$9ln$1(a)dough.gmane.org
From: Camaleón on
On Mon, 12 Jul 2010 12:24:44 -0400, H.S. wrote:

> On 12/07/10 12:15 PM, Camaleón wrote:

>> I don't know so much how the "new beast" (GRUB2) works, but if "man
>> update-grub¹" is right, it will detect all the "vmlinuz" files that are
>> under the "/boot" partition, not sure if this condition fits in your
>> case.
>
> I have F13's kernel on a partition mounted as /boot2 (primary partition,
> not in LVM) in my Debian's fstab. However, update-grub works on all
> other OSes I have on my hard drives, include Windows XP, Windows 7 and
> Fedora 9, and those partitions are not even mounted.

I think windows OS falls apart (as there are no "vmlinuz" files to
detect) but fedora9 should be the same case than Fedora13, provided that
is also located in a different disk.

When you run the "update-grub" command, it writes a bad entry for
fedora13 or just writes nothing?

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

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.17.09.12(a)gmail.com
From: H.S. on
On 12/07/10 01:09 PM, Camaleón wrote:
>
> I think windows OS falls apart (as there are no "vmlinuz" files to
> detect) but fedora9 should be the same case than Fedora13, provided that
> is also located in a different disk.
>
> When you run the "update-grub" command, it writes a bad entry for
> fedora13 or just writes nothing?

Nothing at all. It plain ignores F13. My manually entered lines in
/etc/grub.d/40_custom work though.
###########################################################
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
}
###########################################################



> 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

I will.

Thanks.


--

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/i1filc$kcv$1(a)dough.gmane.org