[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#698914: grub-efi booting Windows 8 in UEFI mode

Hi Steve,
great work indeed, because I can confirm that everything works fine
with new version on my machine (ASUS X201E notetbook) !

Here is a testing procedure :
drasko@Mali:~/grub-test$ wget

root@Mali:/home/drasko/grub-test# apt-get remove os-prober
root@Mali:/home/drasko/grub-test# dpkg -i os-prober_1.58_amd64.deb

root@Mali:/home/drasko/grub-test# wget
root@Mali:/home/drasko/grub-test# dpkg -i grub-common_1.99-27.1_amd64.deb
(Reading database ... 132913 files and directories currently installed.)
Preparing to replace grub-common 1.99-27 (using
grub-common_1.99-27.1_amd64.deb) ...
Unpacking replacement grub-common ...
Setting up grub-common (1.99-27.1) ...
Installing new version of config file /etc/grub.d/30_os-prober ...
Processing triggers for man-db ...

root@Mali:/home/drasko/grub-test# grub-mkimage -V
grub-mkimage (GRUB) 1.99-27.1

root@Mali:/home/drasko/grub-test# update-grub -v
grub-mkconfig (GRUB) 1.99-27.1

root@Mali:/home/drasko/grub-test# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi

This creates a following entry in /boot/grub/grub.cfg :

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Boot Manager (UEFI on /dev/sda1)" --class windows
--class os {
	insmod part_gpt
	insmod fat
	set root='(hd0,gpt1)'
	search --no-floppy --fs-uuid --set=root BA44-790F
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
### END /etc/grub.d/30_os-prober ###

It looked OK, and I rebooted PC. I could boot into the Windows 8
without any problems. Then I booted back into Debian to write you this
message ;).

BTW, I tried also combination of new os-prober and old grub, and
during grub-update a message is produced :
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  Windows Boot Manager is not yet supported by grub-mkconfig.

and no Windows menuentries are produced in /boot/grub/grub.cfg, as
expected. So, this version matching detection and warning also works

On Thu, Apr 25, 2013 at 3:43 AM, Steve McIntyre <steve@einval.com> wrote:
> If these work OK, I'm hoping we might
> get the changes in before the Wheezy release. Without them, we're
> going to get a lot of people reporting problems when installing
> alongside Windows 8...

For me this is very good indicator that this solutions works, and that
you will have less headache after the release ;).
Thank you for your effort in making Debian machinery run smoothly. I'm
glad if I could help a bit.

Kind regards,

Reply to: