Bug#580736: grub is not able to configure Fedora in a dual boot setup

2018-08-16 Thread Nicholas Rhodes
I managed to workaround the issue with the following change to
/usr/lib/linux-boot-prober/mounted/40grub2:


diff --git a/40grub2 b/41grub2-linux16
index 885614e..8b3e179 100755
--- a/40grub2
+++ b/41grub2-linux16
@@ -64,7 +64,7 @@ parse_grub_menu () {
ignore_item=1
fi
;;
-   linux)
+   linux|linux16)
# Hack alert: sed off any (hdn,n) but
# assume the kernel is on the same
# partition.
@@ -77,7 +77,7 @@ parse_grub_menu () {
kernel="/boot$kernel"
fi
;;
-   initrd)
+   initrd|initrd16)
initrd="$(echo "$2" | sed 's/(.*)//')"
# Initrd same.
if [ "$partition" != "$bootpart" ]; then


Bug#580736: grub is not able to configure Fedora in a dual boot setup

2010-06-09 Thread Michele Porelli
I've an identical issue with an Ubuntu partition, downgrading os-prober to
1.35 but this problem persist.

I think that os-prober is not the problem because running update-grub2 in
the stdout I can see the correct entries but the grub.cfg is wrongly
generated.


Bug#580736: grub is not able to configure Fedora in a dual boot setup

2010-05-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Praveen A wrote:
 Package: grub-pc
 Version: 1.98-1
 Severity: important

 Even though os prober detects Fedora presence, it configures Fedora
 with Debian's label (but with Fedora's root fs mentioned in the
 label), Fedora's kernel and Debian's root partition, making it
 unusable.
   
Can you post the output of sudo linux-boot-prober
/dev/mapper/vg_savannah-lv_root. If the its output is incorrect please
reassign this bug to os-prober package.
 The relevant section of grub-mkconfig command output is given below.

 ### BEGIN /etc/grub.d/30_os-prober ###
 Found Fedora release 13 (Rawhide) on /dev/mapper/vg_savannah-lv_root
 menuentry Debian GNU/Linux, with Linux 2.6.33-1.fc13.x86_64 (on
 /dev/mapper/vg_savannah-lv_root) {
 insmod ext2
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 
 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
 linux /vmlinuz-2.6.33-1.fc13.x86_64
 root=/dev/mapper/vg_savannah-lv_debian ro quiet
 }
 menuentry Debian GNU/Linux, with Linux
 2.6.33-0.44.rc8.git0.fc13.x86_64 (on /dev/mapper/vg_savannah-lv_root)
 {
 insmod ext2
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 
 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
 linux /vmlinuz-2.6.33-0.44.rc8.git0.fc13.x86_64
 root=/dev/mapper/vg_savannah-lv_debian ro quiet
 }
 menuentry Debian GNU/Linux, with Linux
 2.6.33-0.40.rc7.git0.fc13.x86_64 (on /dev/mapper/vg_savannah-lv_root)
 {
 insmod ext2
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 
 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
 linux /vmlinuz-2.6.33-0.40.rc7.git0.fc13.x86_64
 root=/dev/mapper/vg_savannah-lv_debian ro quiet
 }
 menuentry Debian GNU/Linux, with Linux 2.6.30-2-amd64 (on
 /dev/mapper/vg_savannah-lv_root) {
 insmod ext2
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 
 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
 linux /vmlinuz-2.6.30-2-amd64
 root=/dev/mapper/vg_savannah-lv_debian ro quiet
 initrd /initrd.img-2.6.30-2-amd64
 }
 ### END /etc/grub.d/30_os-prober ###


   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#580736: grub is not able to configure Fedora in a dual boot setup

2010-05-08 Thread Praveen A
Package: grub-pc
Version: 1.98-1
Severity: important

Even though os prober detects Fedora presence, it configures Fedora
with Debian's label (but with Fedora's root fs mentioned in the
label), Fedora's kernel and Debian's root partition, making it
unusable.

The relevant section of grub-mkconfig command output is given below.

### BEGIN /etc/grub.d/30_os-prober ###
Found Fedora release 13 (Rawhide) on /dev/mapper/vg_savannah-lv_root
menuentry Debian GNU/Linux, with Linux 2.6.33-1.fc13.x86_64 (on
/dev/mapper/vg_savannah-lv_root) {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
linux /vmlinuz-2.6.33-1.fc13.x86_64
root=/dev/mapper/vg_savannah-lv_debian ro quiet
}
menuentry Debian GNU/Linux, with Linux
2.6.33-0.44.rc8.git0.fc13.x86_64 (on /dev/mapper/vg_savannah-lv_root)
{
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
linux /vmlinuz-2.6.33-0.44.rc8.git0.fc13.x86_64
root=/dev/mapper/vg_savannah-lv_debian ro quiet
}
menuentry Debian GNU/Linux, with Linux
2.6.33-0.40.rc7.git0.fc13.x86_64 (on /dev/mapper/vg_savannah-lv_root)
{
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
linux /vmlinuz-2.6.33-0.40.rc7.git0.fc13.x86_64
root=/dev/mapper/vg_savannah-lv_debian ro quiet
}
menuentry Debian GNU/Linux, with Linux 2.6.30-2-amd64 (on
/dev/mapper/vg_savannah-lv_root) {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 06d1a87c-6f0c-4b32-a596-d7cdcfbe07df
linux /vmlinuz-2.6.30-2-amd64
root=/dev/mapper/vg_savannah-lv_debian ro quiet
initrd /initrd.img-2.6.30-2-amd64
}
### END /etc/grub.d/30_os-prober ###


-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
GPLv2 I know my rights; I want my phone call!
DRM What use is a phone call, if you are unable to speak?
(as seen on /.)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org