Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2018 08:33:29 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: 11.2 cannot boot with root on ZFS
Message-ID:  <c0f63bdb-fa6a-c29e-5b0c-a706b3562438@fechner.net>
In-Reply-To: <alpine.BSF.2.20.1808061502320.50032@fledge.watson.org>
References:  <e49d702d-951c-47f3-0f8c-f26de2fc7613@fechner.net> <CACNAnaGFRzET_RN7Xd4rETQ5qCwUVhyEpqZXAtj29QdAbGt2mA@mail.gmail.com> <7415d752-21ab-a397-f90b-afe9945b2585@fechner.net> <alpine.BSF.2.20.1808061502320.50032@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 06.08.2018 um 21:10 schrieb doug:
> I have an amd64 ZFS install from the USB file taking all the defaults.
> Here's what my disk looks like:
>
> =>        40  1953525088  ada1  GPT  (932G)
>           40      409600     1  efi  (200M)
>       409640        1024     2  freebsd-boot  (512K)
>       410664         984        - free -  (492K)
>       411648     4194304     3  freebsd-swap  (2.0G)
>      4605952  1948917760     4  freebsd-zfs  (929G)
>   1953523712        1416        - free -  (708K)
>
> mount_msdosfs /dev/ada1p1 /mnt
> cd /mnt/efi/boot/
> ls -l
> total 385
> -rwxr-xr-x  1 root  wheel  393216 Apr 16 10:12 BOOTx64.efi
> -rwxr-xr-x  1 root  wheel      12 Apr 16 10:12 startup.nsh
>
> cat startup.nsh
> BOOTx64.efi 

I played around and I found a solution, that maybe helps someone else too:

I installed now a virtual machine with MFSBSD and upgraded it using
freebsd-update.
Upgrade was successfully done, I copied the boot folder to the PC the
upgrade is failing, modified the loader.conf and reboot is fine now.
It seems that freebsd-update damaged each time the boot folder while
doing the upgrade which causes it to fail on rebooting the new kernel.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c0f63bdb-fa6a-c29e-5b0c-a706b3562438>