Hi Pablo,

> Why is needed this step (the "touch" one) ?
> 
> 
>     # make bootadm re-create archive
>     bootadm update-archive
>     /boot/solaris/bin/update_grub

This is just an easy way to make sure bootadm will write new archive files.

You could also use

rm /platform/i86pc/amd64/boot_archive \
    /platform/i86pc/boot_archive

I am not absolutely sure if or why it is necessary to recreate the archive, but 
this has solved boot problems for me.

I suspect that when the ZFS on disk format is changed, the updated grub zfs 
code 
expects all files to be written in that format. There are other issues related 
to the fact that the GRUB zfs implementation is lightweight, for instance it 
cannot read a boot archive which is created with compression=gzip enabled on 
the 
filesystem (or at least it could not a couple of months ago, have not 
re-checked 
recently).

Nils
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to