That was an interesting link. I wonder if these steps really are necessary. It sure doesn't hurt to make a backup copy of /etc/path_to_inst but creating an empty "reconfigure" file at the root seems to be enough.

To describe the instructions in the "bug-report" in words:
(preparatory steps)
1. Boot using OSOL/OI LiveCD
2. Locate and mount the rpool of the system (zpool import -f rpool)
3. Locate and mount all the other pools as well (zpool import -f <otherpools> - found using zpool list) 4. Locate and mount the boot environment into a suitable subdir under root (beadm list; beadm mount opensolaris-n /subdir) 5. Move the path_to_inst and create a new empty one (mv /subdir/etc/path_to_inst <another path>; touch /subdir/etc/path_to_inst)

(the actual modification procedure)
6. Clean and rebuild the device tree (devfsadm -C -r /subdir)
7. Clean and rebuild the device tree for disks only (devfsadm -c disk -r /subdir) - is this really necessary??? Isn't that done in step 6 already? 8. Copy the actual zfs cache to the rpool (cp /etc/zfs/zpool.cache /subdir/etc/zfs/zpool.cache) 9. Force a reconfiguration upon next boot (touch /subdir/reconfigure) - pretty much as suggested by Tim Bell on this mailing list
10. Recreate the boot-archive (bootadm update-archive -R /subdir)
11: Run cd /; sync; sync; sync; - what's this for, and why run "sync" THREE times? 12. VERY IMPORTANT STEP!!: Unmount the "opensolaris-n" boot environment using the beadm command (beadm unmount opensolaris-n)

(reboot)
13. Reboot using e.g. init 6 and on next boot select in LiveCD grub menu "boot from hard drive" - Wouldn't it be easier to just remove the LiveCD before reboot?

I'm not sure why all these steps would be necessary as they should be taken care of automatically when forcing a "reconfigure" in first place. Thanks for your post!

Robin.



On 2011-09-10 19:50, Apostolos Syropoulos wrote:
Please have a look at


http://comments.gmane.org/gmane.os.solaris.solarisx86/35322

I had the same problem and the process described in

https://defect.opensolaris.org/bz/show_bug.cgi?id=5785

solved my problem.


A.S.

----------------------
Apostolos Syropoulos
Xanthi, Greece


_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss





_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to