windows entry for grub2

David Benfell benfell at parts-unknown.org
Tue Aug 4 10:41:15 UTC 2015


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  
10.2-PRERELEASE #0 r285868: Fri Jul 24 22:02:24 PDT 2015      
root at home-desktop.parts-unknown.org:/usr/obj/usr/src/sys/GENERIC  amd64

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

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

=>        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  (40M)
      1107968      262144     3  ms-reserved  (128M)
      1370112     1536000     4  !de94bba4-06d1-4d40-a16a-bfd50179d6ac  (750M)
      2906112   971732992     5  ms-basic-data  (463G)
    974639104      921600     6  !de94bba4-06d1-4d40-a16a-bfd50179d6ac  (450M)
    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)

=>     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  
grub-install will write to it, is /dev/ada0p1. What is the incantation  
for telling grub2 to do Windows?

Thanks!
-- 
David Benfell <benfell at parts-unknown.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: PGP Digital Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150804/9aee5840/attachment.bin>


More information about the freebsd-questions mailing list