Re: Not sure if this is the correct place.... (laptop, dual-boot EFI)

2019-01-25 Thread Kyle Evans
On Fri, Jan 25, 2019 at 6:30 PM Jonathan Chen  wrote:
>
> On Sat, 26 Jan 2019 at 13:00, Karl Denninger  wrote:
> [...]
> > I'd like to repartition it to be able to dual boot it much as I do with
> > my X220 (I wish I could ditch Windows entirely, but that is just not
> > going to happen), but I'm not sure how to accomplish that in the EFI
> > world -- or if it reasonably CAN be done in the EFI world.  Fortunately
> > the BIOS has an option to turn off secure boot (which I surmise from
> > reading the Wiki FreeBSD doesn't yet support) but I still need a means
> > to select from some reasonably-friendly way *what* to boot.
>
> The EFI partition is just a MS-DOS partition, and most EFI aware BIOS
> will (by default) load /EFI/Boot/boot64.efi when starting up. On my
> Dell Inspiron 17, I created /EFI/FreeBSD and copied FreeBSD's
> /boot/loader.efi to /EFI/FreeBSD/boot64.efi. My laptop's BIOS setup
> allowed me to specify a boot-entry to for \EFI\FreeBSD\boot64.efi. On
> a cold start, I have to be quick to hit the F12 key, which then allows
> me to specify whether to boot Windows or FreeBSD. I'm not sure how
> Lenovo's BIOS setup works, but I'm pretty sure that it should have
> something similar.
>

Adding a boot-entry can also be accomplished with efibootmgr. This is
effectively what the installer in -CURRENT does, copying loader to
\EFI\FreeBSD on the ESP and using efibootmgr to insert a "FreeBSD"
entry for that loader and activating it.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Not sure if this is the correct place.... (laptop, dual-boot EFI)

2019-01-25 Thread Eric van Gyzen
> 
> I'd like to repartition it to be able to dual boot it much as I do with
> my X220 (I wish I could ditch Windows entirely, but that is just not
> going to happen), but I'm not sure how to accomplish that in the EFI
> world -- or if it reasonably CAN be done in the EFI world.  Fortunately
> the BIOS has an option to turn off secure boot (which I surmise from
> reading the Wiki FreeBSD doesn't yet support) but I still need a means
> to select from some reasonably-friendly way *what* to boot.

Check out rEFInd:

https://www.rodsbooks.com/refind/

I use it to dual boot Win10 and FreeBSD with EFI.  The installation docs are 
pretty good.

Eric
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Not sure if this is the correct place.... (laptop, dual-boot EFI)

2019-01-25 Thread Jonathan Chen
On Sat, 26 Jan 2019 at 13:00, Karl Denninger  wrote:
[...]
> I'd like to repartition it to be able to dual boot it much as I do with
> my X220 (I wish I could ditch Windows entirely, but that is just not
> going to happen), but I'm not sure how to accomplish that in the EFI
> world -- or if it reasonably CAN be done in the EFI world.  Fortunately
> the BIOS has an option to turn off secure boot (which I surmise from
> reading the Wiki FreeBSD doesn't yet support) but I still need a means
> to select from some reasonably-friendly way *what* to boot.

The EFI partition is just a MS-DOS partition, and most EFI aware BIOS
will (by default) load /EFI/Boot/boot64.efi when starting up. On my
Dell Inspiron 17, I created /EFI/FreeBSD and copied FreeBSD's
/boot/loader.efi to /EFI/FreeBSD/boot64.efi. My laptop's BIOS setup
allowed me to specify a boot-entry to for \EFI\FreeBSD\boot64.efi. On
a cold start, I have to be quick to hit the F12 key, which then allows
me to specify whether to boot Windows or FreeBSD. I'm not sure how
Lenovo's BIOS setup works, but I'm pretty sure that it should have
something similar.

Cheers.
-- 
Jonathan Chen 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Not sure if this is the correct place.... (laptop, dual-boot EFI)

2019-01-25 Thread Karl Denninger
-mobile appears to be pretty much a dead-letter, so I'm posting here...

I have dual-boot working well on my Lenovo X220, and have for quite some
time, between Win10 and FreeBSD 11.  This is set up for MBR however, not
EFI.

I just picked up an X1 Carbon Gen 6, which is an UEFI machine, with
Win10 on it.

I'd like to repartition it to be able to dual boot it much as I do with
my X220 (I wish I could ditch Windows entirely, but that is just not
going to happen), but I'm not sure how to accomplish that in the EFI
world -- or if it reasonably CAN be done in the EFI world.  Fortunately
the BIOS has an option to turn off secure boot (which I surmise from
reading the Wiki FreeBSD doesn't yet support) but I still need a means
to select from some reasonably-friendly way *what* to boot.

With the X220 Bootmanager does this reasonably easily; you get an "F"
key for the desired partition, and if you press nothing after a few
seconds whatever you pressed last is booted.  Works fine.  What options
exist for doing this in a UEFI world, if any, and is there a "cookbook"
for putting this together?  I assume *someone* has set up dual, given
that the X1 Carbon Gen 6 is listed as working in the laptop database.

Thanks in advance!

-- 
Karl Denninger
k...@denninger.net 
/The Market Ticker/
/[S/MIME encrypted email preferred]/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Bug reports.

2019-01-25 Thread Julian H. Stacey
> This is Shayne I seen your links and would like to be on your mailing list
> Im a user of freebsd-stable

Hi, Join here https://lists.freebsd.org/mailman/listinfo/freebsd-stable

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 1st referendum Stole 700,000 votes from British in EU, 3.7 million globally,
 1.9 M too young to vote, 1.3 M died, mostly leavers.  Fraud, fines & lies.
 Honest Ref. Now !  Revoke Art. 50 for now to buy time to plan to avoid chaos.
http://exitbrexit.uk/#email_your_mp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD update & custom kernel

2019-01-25 Thread Esa Karkkainen via freebsd-stable
On Fri, Jan 25, 2019 at 05:03:32PM +1030, O'Connor, Daniel wrote:
> Hi everyone,

Hi Daniel,

> Is it feasible for freebsd-update to update the source before the
> first reboot so a custom kernel can be built?

It's a hack, but sorta kinda yes.

Use freebsd-update to update only the source, and follow the
instructions here:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 
Which suggests to use svc to update sources instead of freebsd-update.

Or you can use two separate freebsd-update config files, modified
one modified to exclude i.e remove "src" from "Components" line, and new
copied from the default which excudes everything exept the souces i.e.
"Components src".

Update only the source, build world and kernel(s), install the locally
built kernel and the the normal freebsd-update.

Regards,

Esa

-- 
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
-- Douglas Adams 1952 - 2001
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"