stuck duel booting win-10 and FreeBSD 10.3

DTD doug at safeport.com
Thu Oct 19 05:21:27 UTC 2017


I am trying to install FreeBSD 10.3 on a Lenovo Ideapad 700. I was following 
some instructions to set up duel-boot with rEFInd Boot Manager and EasyUEFI. For 
whatever reason this did not work. I have FreeBSD installed, but the EFI code 
was not put where it needs to be. I have tried to use the shell to mount the 
disk to copy the code where it needs to go. I can not figure out a mount 
command.

Using windows 10 diskpart, gpart and sysctl I put constructed the following map 
of the disk:

   Partition ###  Type       Size     Offset
   -------------  ---------  -------  -------
   Partition 1    System      260 MB  1024 KB   ada0p1  C: Windows boot
   Partition 2    Reserved     16 MB   261 MB   ada0p2
   Partition 3    Primary     446 GB   277 MB   ada0p3   Windows NTFS
   Partition 8    Unknown    4096 MB   446 GB   ada0p8   freebsd-swap
   Partition 9    Unknown     512 KB   450 GB   ada0p9   freebsd-boot
   Partition 10   Unknown     438 GB   450 GB   ada0p10  FreeBSD freebsd-ufs
   Partition 4    Primary      25 GB   889 GB   ada0p4
   Partition 5    Recovery   1000 MB   914 GB   ada0p5
   Partition 6    Recovery     14 GB   915 GB   ada0p6
   Partition 7    OEM        1000 MB   930 GB   ada0p7

Using the shell option on the install disk I did the following:

root@:~ # pwd
/
root@:~ # mount /dev/ad
ad4@     ad4p2@   ad4p5@   ad4p8@   ada0p1%  ada0p3%  ada0p6%  ada0p9%
ad4p10@  ad4p3@   ad4p6@   ad4p9@   ada0p10% ada0p4%  ada0p7%
ad4p1@   ad4p4@   ad4p7@   ada0%    ada0p2%  ada0p5%  ada0p8%
root@:~ # mount /dev/ada0p10 /mnt
mount: /dev/ada0p10: Invalid argument  <------ error
root@:~ # cd /tmp/
root@:/tmp # mkdir mnt
root@:/tmp # ls -laF
total 38
drwxrwxrwt   9 root  wheel      512 Oct 19 00:24 ./
drwxr-xr-x  18 root  wheel     6144 Jan  1  1970 ../
drwxrwxrwt   2 root  wheel      512 Oct 19 00:17 .ICE-unix/
drwxrwxrwt   2 root  wheel      512 Oct 19 00:17 .X11-unix/
drwxrwxrwt   2 root  wheel      512 Oct 19 00:17 .XIM-unix/
drwxrwxrwt   2 root  wheel      512 Oct 19 00:17 .font-unix/
drwxrwxr-x   2 root  operator   512 Oct 19 00:17 .snap/
drwxr-xr-x   2 root  wheel      512 Oct 19 00:17 bsdinstall_etc/
-rw-r--r--   1 root  wheel        0 Oct 19 00:17 bsdinstall_log
drwxr-xr-x   2 root  wheel      512 Oct 19 00:24 mnt/

Think maybe /tmp was the only file system I could write to:

root@:/tmp # mount /dev/ada0p10 /tmp/mnt
mount: /dev/ada0p10: Invalid argument  <------- same error


The installer can mount and write the disk just file. I have installed this 3 
different ways to try and coax the install into writing boot code somewhere.

So ... what's the magic command to mount the BSD partition? I am also not sure 
if the EFI boot code just gets added to ada0p1. ada0p9 is a boot partition added 
by the current install. Is FBSD 11 more likely to work?

_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277


More information about the freebsd-questions mailing list