On Thu, Jun 24, 2021 at 02:51:06PM +0100, mick crane wrote: > I was dual booting but got another PC so I can have windows and debain at > the same time. Just for tidiness of booting I'd have liked to comment out > the submenu entry in /boot/grub/grub.cfg for windows just in case I wanted > to put it back but not allowed. > Physically removing the windows disk and "grub-mkconfig" and/or > "update-grub" sorts itself out but is there any way to do this manually as > used to be the case ?
You want the GRUB menu to skip over Windows? The easiest way would probably be to remove the os-prober package, so update-grub never sees Windows and never includes it in the generated menu.