Date: Sat, 2 Aug 2003 01:22:03 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/efi/libefi efiboot.h efifs.c src/sys/boot/efi/loader main.c Message-ID: <200308020822.h728M3Dr076827@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308020822.h728M3Dr076827>
