From owner-freebsd-questions@freebsd.org Thu Oct 19 05:21:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 977C3E29369 for ; Thu, 19 Oct 2017 05:21:27 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51C927EC0D for ; Thu, 19 Oct 2017 05:21:26 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v9J4wkjr069779; Thu, 19 Oct 2017 00:58:46 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 19 Oct 2017 00:58:46 -0400 (EDT) From: DTD To: freebsd-questions@FreeBSD.ORG Subject: stuck duel booting win-10 and FreeBSD 10.3 Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Thu, 19 Oct 2017 00:58:46 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2017 05:21:27 -0000 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@safeport.com Voice: 301-217-9220 Fax: 301-217-9277