From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 20:42:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51346B9D for ; Wed, 23 Jul 2014 20:42:58 +0000 (UTC) Received: from st11p00mm-asmtp003.mac.com (st11p00mm-asmtp003.mac.com [17.172.81.2]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F5BF28A1 for ; Wed, 23 Jul 2014 20:42:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=windows-1252; format=flowed Received: from andersbo-mac.local (ti0025a400-5325.bb.online.no [85.167.91.221]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0N9600IXZK39BA40@st11p00mm-asmtp003.mac.com> for freebsd-current@freebsd.org; Wed, 23 Jul 2014 19:42:49 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.14,0.0.0000 definitions=2014-07-23_07:2014-07-23,2014-07-23,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1407230235 Message-id: <53D01035.3000302@icloud.com> Date: Wed, 23 Jul 2014 21:42:45 +0200 From: Anders Bolt-Evensen User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 To: David King Subject: Re: Problems starting X on Mac using vesa, radeon or intel drivers when running FreeBSD-CURRENT in EFI References: <53CBEC26.7080404@icloud.com> <2AE1EED7-8E9C-47EC-8AED-CDF446260E94@ketralnis.com> In-reply-to: <2AE1EED7-8E9C-47EC-8AED-CDF446260E94@ketralnis.com> Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 20:42:58 -0000 What I did was: Install subversion either from ports or via pkg install Get the newest source code from FreeBSD by running the command svn checkout svn://svn.freebsd.org/base/head /usr/src (or whatever directory you might choose, I used /usr/src) Then I ran make buildworld from the new /usr/src directory. When make buildworld had completed, I cd-ed to /usr/src/release and ran sh ./generate-release.sh (this basically creates a chroot-ed environment, installs some tools, builds kernel and world and creates an ISO in /scratch/R/FreeBSD-something-disc1.iso). When the shell script generate-release.sh had completed, I ran the command mdconfig -a -t vnode -f /scratch/R/release/FreeBSD-something-disk1.iso -u 1 && mount -t cd9660 /dev/md1 /mnt. Then I created a new directory, /root/freebsd_generic_installer, copied the contents of /mnt/ to the new /root/freebsd_generic_installer directory and unmounted /mnt. The following commands are taken from https://wiki.freebsd.org/UEFI#CD.2FDVD_Boot_under_UEFI: > dd if=/dev/zero of=efiboot.img bs=4k count=100 > mdconfig -a -t vnode -f efiboot.img > newfs_msdos -F 12 -m 0xf8 -L "FREEBSD_EFI" /dev/md0 > mount -t msdosfs /dev/md0 /mnt > mkdir -p /mnt/efi/boot > cp /boot/loader.efi /mnt/efi/boot/bootx64.efi > umount /mnt > mdconfig -d -u 0 Finally I created the new custom ISO by running the following command: makefs -t cd9660 -o bootimage='i386;efiboot.img' -o no-emul-boot -o rockridge -o label=“FREEBSD_UEFI_INSTALL" -o publisher="test" discname.iso /root/freebsd_generic_installer/ For the above example to work, please make sure that /root/freebsd_generic_installer/etc/fstab has the following entry: /dev/iso9660/FREEBSD_UEFI_INSTALL / cd9660 ro 0 0, otherwise, the boot of the install DVD will stop with a mount error. This is how I got the EFI FreeBSD installer to boot. On 21/07/14 22:11, David King wrote: >> Last week, I created a custom ISO from the latest -CURRENT sources which contained an EFI image that is bootable on my MacBook Pro. >> Both installation and booting from this new FreeBSD 11 EFI system goes without any problems. > Somewhat off-topic, but can you detail how you did this? I've been at this unsuccessfully. Did you just do this ?