'kernel' not found - ZFS on GPT boot
Patrick Dorion
dorionpatrick at gmail.com
Thu Sep 29 18:51:55 UTC 2011
Gentlemen,
and women perhaps,
I would greatly appreciate any input that could shed light on my
issue. Essentially, a seemingly well-configured ZFS system residing
on a GPT partition is not detected by zfsloader.
The formatted message is posted in the forums at http://forums.freebsd.org/showthread.php?p=148989
for your convenience, and the original message reproduced below,
while the output might be difficult to distinguish.
=
=
=
=
=
=
=
=
========================================================================
I'm trying to boot from a ZFS pool on GPT partition.
BTX loader 1.00 BTX version is 1.02
BIOS drive C: is disk0
FreeBSD/x86 ZFS enabled bootstrap loader, Revision 1.1
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK lsdev
disk devices:
disk0 BIOS drive C:
disk0s1: FFS bad disklabel
zfs devices:
OK lsmod
OK[/CODE]
FreeBSD-8.2-RELEASE-amd64-livefs.iso
SHA256=f72ff7e9043f200651ca6dff3a4b71ec9447319c6efc419a2f6922a921bdfc68
Fixit# gpart show -l
=> ad4 GPT
1 /dev/ad4p1 (freebsd-boot)
3 /dev/ad4p3 (freebsd-zfs)
Fixit# gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptzfsloader -i
1 /dev/ad4p1
Fixit# zpool status
pool: zpool
state: ONLINE
config:
zpool ONLINE
ad4p3 ONLINE
Fixit# zpool get bootfs zpool
zpool bootfs zpool local
Fixit# zfs get mountpoint zpool
zpool mountpoint legacy local
Fixit# cd /zpool/boot
Fixit# ls -l
drw------- 2 root 0 2 Feb 17 2011 zfs/
Fixit# cp -f defaults/loader.conf .
Fixit# cat loader.conf
vfs.root.mountfrom="zfs:zpool"
zfs_load="YES"
Filesystem was taken from /dist/ on the livefs. All of it is read-
only except /boot/zfs.
Thoughts?
=
=
=
=
=
=
=
=
========================================================================
Once again, I thank you for the time and the attention that you bring
to my issue and any light that you may be able to shed on this; I am
fairly certain that it is an oversight, unfortunately I don't
understand enough about the process at this point to be able to
formulate a hypothesis.
Patrick Dorion
More information about the freebsd-fs
mailing list