Up until F16 (and it *might* have done it once during the early alpha testing stages), windows has been detected and included in grub during install. But the last few installs haven't included it and not included on my current install.
No parititioning changes have taken place, no hardrives have been changed/moved, nothing has been changed. So if windows is on (or what it normally is called) /dev/sda then how I do add my Windows 7 to grub2?
On Fri, Aug 26, 2011 at 11:49 AM, Mike Chambers mike@miketc.net wrote:
Up until F16 (and it *might* have done it once during the early alpha testing stages), windows has been detected and included in grub during install. But the last few installs haven't included it and not included on my current install.
No parititioning changes have taken place, no hardrives have been changed/moved, nothing has been changed. So if windows is on (or what it normally is called) /dev/sda then how I do add my Windows 7 to grub2?
os-prober isn't installed by default and it's the grub2-related app that probes other disks and partitions for other OSs.
Once you install it, before over-writing "/boot/grub2/grub.cfg", either run "grub-mkconfig" and check the stdout output or (for example) "grub2-mkconfig -o /root/grubtest.cfg". If you're happy with the result, run "grub2-mkconfig -o /boot/grub2/grub.cfg" to update your grub boot menu.
On Fri, 2011-08-26 at 10:49 -0500, Mike Chambers wrote:
Up until F16 (and it *might* have done it once during the early alpha testing stages), windows has been detected and included in grub during install. But the last few installs haven't included it and not included on my current install.
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
David
On Fri, 2011-08-26 at 11:31 -0500, David Lehman wrote:
On Fri, 2011-08-26 at 10:49 -0500, Mike Chambers wrote:
Up until F16 (and it *might* have done it once during the early alpha testing stages), windows has been detected and included in grub during install. But the last few installs haven't included it and not included on my current install.
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
Since there is a compose now of the F16 tree, I did a network install against it and it did add the windows entry to grub this time.
On Fri, 2011-08-26 at 11:31 -0500, David Lehman wrote:
On Fri, 2011-08-26 at 10:49 -0500, Mike Chambers wrote:
Up until F16 (and it *might* have done it once during the early alpha testing stages), windows has been detected and included in grub during install. But the last few installs haven't included it and not included on my current install.
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
Is there a bug # for this? It sounds CommonBugs-worthy. thanks!
On Mon, 2011-08-29 at 17:27 -0700, Adam Williamson wrote:
On Fri, 2011-08-26 at 11:31 -0500, David Lehman wrote:
On Fri, 2011-08-26 at 10:49 -0500, Mike Chambers wrote:
Up until F16 (and it *might* have done it once during the early alpha testing stages), windows has been detected and included in grub during install. But the last few installs haven't included it and not included on my current install.
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
Is there a bug # for this? It sounds CommonBugs-worthy. thanks!
Don't know if makes a difference, but did a fresh install against the F16 tree without using the updates-testing repo, and I did get the os-prober package installed by default and windows was added to grub this time.
Don't know about live dvd but there ya go.
On 08/26/2011 10:01 PM, David Lehman wrote:
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
Does this transparently detect other Linux distributions? If so, that needs testing and definitely worth highlighting in the documentation
Rahul
On Tue, 2011-08-30 at 07:39 +0530, Rahul Sundaram wrote:
On 08/26/2011 10:01 PM, David Lehman wrote:
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
Does this transparently detect other Linux distributions? If so, that needs testing and definitely worth highlighting in the documentation
It should find other linux distributions. I expect there to be issues with the kernel command line arguments which will probably require some upstream grub2 work to get sorted out.
David
Rahul
On Tue, Aug 30, 2011 at 10:07 AM, David Lehman dlehman@redhat.com wrote:
On Tue, 2011-08-30 at 07:39 +0530, Rahul Sundaram wrote:
On 08/26/2011 10:01 PM, David Lehman wrote:
We added code to automatically generate entries using os-prober, but apparently os-prober is not available if you install from DVD without enabling network repos. It's probably also unavailable if doing a live install. We'll be working on rectifying this.
Does this transparently detect other Linux distributions? If so, that needs testing and definitely worth highlighting in the documentation
It should find other linux distributions. I expect there to be issues with the kernel command line arguments which will probably require some upstream grub2 work to get sorted out.
I think that os-prober picks up grub.conf/menu.lst or grub.cfg entries, if they exist, on the partitions that it probes.
I once landed through Google on a grub-devel post where one of the grub developers said that os-prober wasn't a grub program but a debian-boot one.