From owner-cvs-all@FreeBSD.ORG Sat Aug 2 01:22:03 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC06C37B401; Sat, 2 Aug 2003 01:22:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 929C843FB1; Sat, 2 Aug 2003 01:22:03 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h728M30U076828; Sat, 2 Aug 2003 01:22:03 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h728M3Dr076827; Sat, 2 Aug 2003 01:22:03 -0700 (PDT) Message-Id: <200308020822.h728M3Dr076827@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 2 Aug 2003 01:22:03 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/efi/libefi efiboot.h efifs.c src/sys/boot/efi/loader main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 08:22:04 -0000 marcel 2003/08/02 01:22:03 PDT FreeBSD src repository Modified files: sys/boot/efi/libefi efiboot.h efifs.c sys/boot/efi/loader main.c Log: Don't hardcode unit 0 for the current device if we're loaded from an EFI file system. When booting from a CD and there's already an EFI system partition on the disk, setting the current device to unit 0 will select the harddisk. This invariably breaks installing FreeBSD when other operating systems have been installed before. We obviously want to do the same when we're booting over the network. Maybe later. Based on a patch (from memory) from: arun Revision Changes Path 1.8 +3 -0 src/sys/boot/efi/libefi/efiboot.h 1.8 +12 -1 src/sys/boot/efi/libefi/efifs.c 1.20 +8 -17 src/sys/boot/efi/loader/main.c