Stephan Ferraro
2010-Sep-14 10:55 UTC
[zfs-discuss] How to set zfs:zfs_recover=1 and aok=1 in GRUB at startup?
I can''t edit now my /etc/system file because system is not booting. Is there a way to force this parameters to Solaris kernel on booting with Grub? -- This message posted from opensolaris.org
Stephan Ferraro
2010-Sep-14 11:13 UTC
[zfs-discuss] How to set zfs:zfs_recover=1 and aok=1 in GRUB at startup?
If I launch opensolaris with "-kd" I''m able to do this: aok/W 1 but if I type: zfs_recover/W 1 then I get an unkown symbol name error. Any idea how I could force this variables? -- This message posted from opensolaris.org
Stephan Ferraro
2010-Sep-14 11:47 UTC
[zfs-discuss] How to set zfs:zfs_recover=1 and aok=1 in GRUB at startup?
when I execute ::load zfs I get kernel panic because of this $*@#(*($@# space_map_add problem. -- This message posted from opensolaris.org
Stephan Ferraro
2010-Sep-14 15:21 UTC
[zfs-discuss] How to set zfs:zfs_recover=1 and aok=1 in GRUB at startup?
Here is the solution (thanks to Gavin Maltby from mdb forum): Boot with -kd option to enter in kmdb and type the following commands: aok/W 1 ::bp zfs`zfs_panic_recover :c wait that it stops at breakpoint then type this: zfs_recover/W1 :z :c -- This message posted from opensolaris.org