On Sunday 26 Mar 2017 17:08:33 Andrew Lowe wrote: > Hi all, > Don't know if it's my machine or a bug somewhere in Grub, but I have a > dual boot setup /dev/sda - Linux, /dev/sdb - Win7, that grub-mkconfig > would find correctly and build the grub.cfg file for. Or it did in the past. > > I hadn't had call to boot into Win7 for a while but kept building Linux > kernels and running grub-mkconfig. Linux always booted correctly but > recently upon trying to boot Win7 it failed. Investigation shows that my > Win7 partition isn't being found. Manually adding it to grub.cfg fixed > the boot problem.
This is not the recommended approach. Use /etc/grub.d/40_custom to add any bespoke entries. However, the GRUB2 OS-prober should pick it up on its own. > I have not changed anything in the way I run grub-mkconfig, I have > os-prober installed and when booted into Linux can see and use any of > the partitions in the Win7 install, ie ntfs3g is installed and working. > Does anyone have any ideas as to what's going wrong? It may be worth re-installing GRUB2 in case something has gone askew, or booting from a LiveCD and running GRUB from there to find out what it sees, in case your GRUB installation is corrupted. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

