[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #32603] update-grub does not recognize all OSs from live-session
From: |
Yann |
Subject: |
[bug #32603] update-grub does not recognize all OSs from live-session |
Date: |
Sat, 26 Feb 2011 04:31:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:2.0b11) Gecko/20100101 Firefox/4.0b11 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #32603] update-grub does not recognize all OSs from live-session,
Yann <=