URL: <http://savannah.gnu.org/bugs/?32603>
Summary: update-grub does not recognize all OSs from live-session Project: GNU GRUB Submitted by: yannubuntu Submitted on: sam. 26 févr. 2011 04:31:07 GMT Category: Configuration Severity: Major Priority: 5 - Normal Item Group: Software Error Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Release: 1.98 Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: Dear all I am developping a software running on a Debian-based (e.g. Ubuntu 10.10) live-CD, that needs to update GRUB of any installed Linux. Here is how I proceed : mount /dev/${OS_PARTITION} /mnt mount --bind /dev /mnt/dev mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys chroot /mnt/ bash update-grub umount /mnt/dev umount /mnt/proc umount /mnt/sys umount /mnt Result : GRUB is updated but it does not detect all OSs (Linux installed on internal disks are recognized, but not Linux on USB disks, and sometimes nor Windows on internal disk) Expected result : the updated GRUB detect all OSs For information: - "sudo os-prober" (from the live-session) detects all OSs. - when I boot into any Linux then launch "sudo update-grub", all OSs are detected. Is it a GRUB bug , or am I missing something in the way to chroot ? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?32603> _______________________________________________ Message posté via/par Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub