> Once you switch over to zfs root, adding new hardware
> should just behave 
> as what you expect on ufs root.
> Copy /devices and /dev is just a one-time thing (as
> part of 
> 'installation') to setup the initial zfs root.
Ok, but what about the first boot? Why can't /devices and /dev be generated 
automatically by devfsadm? I am trying to understand what happens on this first 
boot, as I have the sensation that something special takes place then and might 
be the subtle reason why my manual procedure doesn't work while Tim's script 
does.

> 'installgrub' will always put grub on the same disk
> location (first 3 
> cylinders), not on a ZFS pool.
> You only need to installgrub when you want a new grub
> bits on the disk.
> Since you are using s0 as the default menu.lst
> location, you should 
> always installgrub for s0:
> 
> # installgrub new-stage1 new-stage2 /dev/rdsk/c0d0s0
So, there is some data hidden somewhere that tells grub to go read menu.lst in 
s0. How can I learn more about this?

> At this point, my suggestion would be:
> 
> 1. boot up s4 (SXCEb65)
> 2. destroy ZFS rootpool rootfs on s5
> 3. use TimS's script to setup the ZFS rootpool/rootfs
> on s5 from SXCEb65 
> (s4)
It works, except for 2 warnings on every boot saying that /etc/dfs/sharetab was 
not found and that /dev/random is not setup.

> If this works, switch to use your s0 for menu
> control:
> 1. boot up ZFS root
> 2. # installgrub /boot/grub/stage1 /boot/grub/stage2
> /dev/rdsk/c0d0s0
> 3. on s0 menu.lst, add the ZFS entry
> 
> If this works, then you can start play around.
It works. But I am not happy because I couldn't understand what the difference 
is between me typing the commands and the script running them. Could there be 
some side effect on the bootadm update-archive depending on when I run it?
On the other hand, for all practical purposes, it is working, so thanks.
-- Doug
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to