> [This is related to another thread, but to me, in > 'Help' for 'discussing difficulties in getting, > building and installing OpenSolaris' seems a > veritable contender of its own] > > It was a revelation some 10 years ago to me, that it > could be done in Linux: Reinstall the OS from scratch > and not touch /home. I do it all the time in doing a inital_install of both snv_bXX and Solaris 10u5 and now 10u6 for regression testing.
Even though the Solaris > tradition is not necessarily the stand-alone desktop, > we are moving there. Note standardized on fdisk soalris2 partition size and write down the start and ending cyl and or blocks and keep 8 meg free like Windows does, also use a common ufs size for each slice in format unix command, it easy to remember when reloading in a pinch in the middle of the night , I use 8g ~ 8000 for each slice under format. > Can it be done as easily as it ought to be, to make > it an extra sales argument? When installing dvd use disk option called preserve. or i.e. in setup_install_server for Jumpstart rules profile an example file is: install_type initial_install locale en_US.UTF-8 geo N_America cluster SUNWCXall system_type standalone fdisk rootdisk solaris maxfree partitioning explicit filesys rootdisk.s0 8000 / filesys rootdisk.s1 8000 swap filesys rootdisk.s3 8000 filesys rootdisk.s4 8000 filesys rootdisk.s6 100 filesys rootdisk.s7 100 filesys rootdisk.s5 free #patch patch_order nfs://192.168.1.8/zones/install/patches retry 5 noreboot > The whole 'restore' is - > as far as I can make out - somewhat missing in > (Open)Solaris. Again, I don't intend to get hints to > Flash-archives or backup here. Rather a restore of an > underlying OS, same version, on the very same > machine, without touching /export. On ZFS. > for zfs before a reload and you agreed on your slice sizes, run: zpool export zpool_name > Can it be done? When you go through the DVD GUI install or Text based installer "ttinstall" , so when you get to the fdisk Solaris2 partition (again leave 8meg free like what Windows fdisk does for its installer ), do not change the fdisk sizes, next use the preserve disk option within the DVD installer then under format for the disk layout slices, since you selected the preserve option you can load the original partition vtoc , this reload vtoc partition step is very impotent, it is not a default , I do not know why, if you mis then step your data is lost (note you need to leave a small positive rounding error number when you setup your format slices) . Note t for this example keep the same ufs sizes the same so do not change them, I use 8gig for each sX slice for s0 8000 ~ 8g root , s1 8000 swap , s3 8000 altroot BE liveupgrade root ( mount point leave blank to preserve), s4 8000 export/home (mount point leave blank to preserve) , s6 100meg mount point leave blank to preserve for Solaris volume maager , s7 100meg mount point leave blank to preserve for Solaris volume maager, then I go back and use the left over space for slice s5 for my existing zfs partition that I also mount point leave blank to preserve. By leaving blank is key to preserving existing partitions for the preserve button to work in reinstalling.. > > Uwe then when down run a zpool import zpool_name -- This message posted from opensolaris.org