On Tue, 2009-11-17 at 15:48 -0500, Albert Lee wrote:
> Alternatively I think you could just get a live USB or SXCE failsafe
> image.
> http://solaristhings.blogspot.com/2006/07/how-small-can-you-make-open-solaris.html
> explains how to modify the SXCE failsafe image - procedure should be
> similar for live USB.
> You need to modify its /etc/driver_aliases:
> # echo '"pci10de,ab5" ahci' >> <basedir>/etc/driver_aliases
> (no other entry should be needed because the PCI ID is always matched
> before the PCI class).
> Then on the installed system do:
> # update_drv -a -i '"pci10de,ab5"' ahci; touch /reconfigure
> The driver will fail to attach but that's expected.
> If you're using the live USB, then:
> # zpool import -f rpool; beadm mount <BE name> /a; devfsadm -C -r /a;
> bootadm update-archive -R /a -f; beadm umount /a; reboot
> With SXCE failsafe:
> # zpool import -f rpool; zfs mount rpool/ROOT/<BE name> /a; devfsadm -C -r
> /a; bootadm update-archive -R /a -f; zfs umount /a; reboot
> (don't export the pool)

I tried to do this with an OpenSolaris live USB but I can't get the
right driver to be attached.  I'm changing /etc/driver_aliases in
solarismisc.zlib but it seems that one is not used when I boot the
system from live USB.

-- Christian

Reply via email to