Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2015 03:41:08 -0700
From:      David Benfell <benfell@parts-unknown.org>
To:        questions@freebsd.org
Subject:   windows entry for grub2
Message-ID:  <20150804034108.Horde._OTrFyjhdRQUM4x9GSp-yLG@mail.parts-unknown.org>

next in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed.

--=_ix7KEumrh4tUYidWX-QnbE4
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

This is a dual-boot system with Windows 10 and:

10.2-PRERELEASE
FreeBSD home-desktop.parts-unknown.org 10.2-PRERELEASE FreeBSD=20=20
10.2-PRERELEASE=20#0 r285868: Fri Jul 24 22:02:24 PDT 2015=20=20=20=20=20=
=20
root@home-desktop.parts-unknown.org:/usr/obj/usr/src/sys/GENERIC=20 amd64

Unfortunately, in the process of figuring out how to get grub=20=20
installed,=20I blew away my EFI partition. I've recreated it, but I lost=20=
=20
the=20Windows EFI file and apparently on FreeBSD, grub won't autodetect=20=
=20
Windows.=20Here is gpart show:

home-desktop# gpart show
=3D>     1  833023  cd0  MBR  (1.6G)
        1    3987       - free -  (7.8M)
     3988   34560    2  !239  (68M)
    38548  794476       - free -  (1.5G)

=3D>        34  3907029101  ada0  GPT  (1.8T)
           34        2014        - free -  (1.0M)
         2048     1024000     1  bios-boot  (500M)
      1026048       81920     2  !796badd3-6bbf-4d9f-b631-466eb71a4965  (40=
M)
      1107968      262144     3  ms-reserved  (128M)
      1370112     1536000     4  !de94bba4-06d1-4d40-a16a-bfd50179d6ac  (75=
0M)
      2906112   971732992     5  ms-basic-data  (463G)
    974639104      921600     6  !de94bba4-06d1-4d40-a16a-bfd50179d6ac  (45=
0M)
    975560704        1600     7  efi  (800K)
    975562304    31455672     8  freebsd-ufs  (15G)
   1007017976    18874368     9  freebsd-swap  (9.0G)
   1025892344    50331648    10  freebsd-ufs  (24G)
   1076223992   234881024    11  freebsd-ufs  (112G)
   1311105016  2582419464    12  freebsd-ufs  (1.2T)
   3893524480    13502640    13  !de94bba4-06d1-4d40-a16a-bfd50179d6ac  (6.=
4G)
   3907027120        2015        - free -  (1.0M)

=3D>     1  833023  iso9660/Sabayon%20GNOME  MBR  (1.6G)
        1    3987                           - free -  (7.8M)
     3988   34560                        2  !239  (68M)
    38548  794476                           - free -  (1.5G)

Windows lives on ada0p5. The EFI partition, presently marked so=20=20
grub-install=20will write to it, is /dev/ada0p1. What is the incantation=20=
=20
for=20telling grub2 to do Windows?

Thanks!
--=20
David=20Benfell <benfell@parts-unknown.org>

--=_ix7KEumrh4tUYidWX-QnbE4
Content-Type: application/pgp-signature
Content-Description: PGP Digital Signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJVwJbEAAoJEBV64x4SNmArM9kP/RK71OQ4GyUf7nPgMgr1hLZB
Z8skPx5YXuf99ByFvkno2tt9goQM+Y11U8DjUmX17Wl91yggusExIrMZZlphJOSw
uKwaxLVbV7CpuI2a8QS+RcRihfm3oX4GtdSnr3/3OZmpSTGWrPFYy0ucyqJXkT2B
Y6/32TJjDPyoixyUWvxzlY51Ou+jdXBIIcXHwki6Jzjpuukx28UEMZYOD95DxYVF
4SY5qNUqn0CcFX9YT6eVO1CVnrzchnlrM7YEy8wdlr1lGe+S4sN4g3OQBwwsnHN3
Co/Gkbv5cETMChwyIB9aPTqx7gYu73lKAbR7Ke2sTYsMNUguD4Qod6a3Mzn2XwHB
TDdPjM5fqr6I68kymqnaZvdln14sM2grm9G/1lHSZvUI3B4cSiVYsUzLA0a0lTGa
awJlWTxJp1DoO69G2Fm1j8NvNZEUGu1Cx7A/mP6d3zpwhtEzsexYTpgZ74bAYbAZ
vhkigKtDy28CIXPb2KFOcCfMy1wgDG3AcP4xB6lrid2Rghu+PoUOevM3w7vYQCSM
5ekapFzs8SC8RNSCG9RU2Bsljw76uAYECEbyw9BgIvjecCSfILcQYjKzsjY21Vzx
JWcp5qIZG/Xaxs1266IhCUKuz5MwN9LsrOlMvdi4iUnAq2xUp1OSu9FTveQbi+uT
SoA5mItI/KxGa+sTDosq
=peHZ
-----END PGP SIGNATURE-----

--=_ix7KEumrh4tUYidWX-QnbE4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150804034108.Horde._OTrFyjhdRQUM4x9GSp-yLG>