Hi Rene,

* Rene Ugarte (Rene.Ugarte at Sun.COM) wrote:
> I'm running dual-boot Windows and Nevada build 73 on a Toshiba M5 x86
> laptop with 1 x 100 gb internal hard disk. I followed the video
> instructions in the opensolaris > documentation page to shrink my 100
> gb ntfs partition to 50 gb ntfs + 50 gb linux_swap and then ran the
> installer from DVD. It looks like the build 73 installer made 3 file
> systems for me so as to make it live_upgrade friendly:
> 
> /dev/dsk/c0d0s0 = / (13GB; 6.2GB used)
> /dev/dsk/c0d0s4 = /second_root (13GB; mostly empty; only has lost+found)
> /dev/dsk/c0d0s7 = /export/home (15GB; 3.6GB used; contains build 76 iso)
> 
> Assuming that /second_root was intended for the secondary boot
> environment, I ran lucreate which throws an error:
> 
> # lucreate -c sxde-build-73 -m /:/dev/dsk/c0d0s4:ufs -n sxde-build-76
> Discovering physical storage devices
> Discovering logical storage devices
> Cross referencing storage devices with boot environment configurations
> Determining types of file systems supported
> Validating file system requests
> ERROR: the file system on device </dev/dsk/c0d0s4> is currently mounted at 
> </second_root>
> ERROR: device </dev/dsk/c0d0s4> is not available for use with mount point </>
> ERROR: cannot create new boot environment using file systems as configured
> ERROR: please review all file system configuration options
> ERROR: cannot create new boot environment using options provided
> 
> Where c0d0s4 = /second_root. Despite the errors, somehow it created
> sxde-build-73 as shown by lustatus:
> 
> Boot Environment           Is       Active Active    Can    Copy
> Name                       Complete Now    On Reboot Delete Status
> -------------------------- -------- ------ --------- ------ ----------
> sxde-build-73              yes      yes    yes       no     -
> 
> The lucreate command complained about the /second_root mount so I
> unmounted it and reran lucreate just to see:
> 
> Discovering physical storage devices
> Discovering logical storage devices
> Cross referencing storage devices with boot environment configurations
> Determining types of file systems supported
> Validating file system requests
> Preparing logical storage devices
> Preparing physical storage devices
> Configuring physical storage devices
> Configuring logical storage devices
> Analyzing system configuration.
> Comparing source boot environment <sxde-build-73> file systems with the
> file system(s) you specified for the new boot environment. Determining
> which file systems should be in the new boot environment.
> ERROR: The following required file systems are not mounted by the currently 
> running OS </second_root>
> ERROR: All required PBE file systems are not mounted.
> 
> So now it's complaining that /second_root needs to be mounted. Either
> I'm doing something wrong with the lucreate command or /second_root is
> not actually set up to do what I think it's supposed to:
 
It is setup as an alternate boot environment (well at least as space for
one).  However, it needs to be unmounted and not listed in the
/etc/vfstab file.  That's the reason your seeing the second error, live
upgrade sees the filesystem isn't mounted but is listed in the
/etc/vfstab and so thinks it should be.

If you remove the entry for second_root from the /etc/vfstab (and it's
unmounted) you should be able to move right along.

Cheers,

Glenn

Reply via email to