<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - Converted Solaris image panics "cannot mount root path"</title>
    <link>http://communities.vmware.com/community/vmtn/general/vm-guest?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 05 Jun 2009 21:26:13 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-06-05T21:26:13Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/1274732?tstart=0#1274732</link>
      <description>I have a similar issue where after a short while the vm will go into a reboot loop but will boot into failsafe fine. I tried all of the above steps, but nothing helped. I do a see  W real quick before the vm reboots. I have never used Solaris before and am in charge of keeping this vm running, but the reboot loop is stunmping me. Anyone have any suggestions?</description>
      <pubDate>Fri, 05 Jun 2009 21:26:13 GMT</pubDate>
      <author>ebonick</author>
      <guid>http://communities.vmware.com/message/1274732?tstart=0#1274732</guid>
      <dc:date>2009-06-05T21:26:13Z</dc:date>
      <clearspace:dateToText>5 months, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/1095654?tstart=0#1095654</link>
      <description>&lt;br /&gt;
The above posts where very helpful.  This is what I ended up doing when I had a similar problem after updating ESX from 3.0 to 3.5:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;boot to failsafe &lt;/li&gt;
&lt;li&gt;add swap space --- swap -a /dev/dsk/cxtxdxsx &lt;/li&gt;
&lt;li&gt;cp /etc/path_to_inst /a/etc/path_to_inst &lt;/li&gt;
&lt;li&gt;edit /a/boot/solaris/bootenv.rc with the proper boot device &lt;/li&gt;
&lt;li&gt;rm  /a/etc/devices/* &lt;/li&gt;
&lt;li&gt;rm /a/dev/rdsk/c* &lt;/li&gt;
&lt;li&gt;rm /a/dev/dsk/c* &lt;/li&gt;
&lt;li&gt;rm /a/dev/cfg/c* &lt;/li&gt;
&lt;li&gt;devfsadm -v -r /a &lt;/li&gt;
&lt;li&gt;reboot /w -arvs&lt;/li&gt;
&lt;/ol&gt;
If the reboot fails, go back and check bootenv.rc.  I had a problem with the file reverting back to the original boot device.</description>
      <pubDate>Mon, 10 Nov 2008 21:57:04 GMT</pubDate>
      <author>MPowerLabs</author>
      <guid>http://communities.vmware.com/message/1095654?tstart=0#1095654</guid>
      <dc:date>2008-11-10T21:57:04Z</dc:date>
      <clearspace:dateToText>1 year, 1 week ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/1041267?tstart=0#1041267</link>
      <description>Thank you very much. Your post was very helpfull.</description>
      <pubDate>Wed, 03 Sep 2008 16:44:28 GMT</pubDate>
      <author>acruizu</author>
      <guid>http://communities.vmware.com/message/1041267?tstart=0#1041267</guid>
      <dc:date>2008-09-03T16:44:28Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/907527?tstart=0#907527</link>
      <description>That was an extremely helpful starting point.  Though most of it was relevant, the instructions&lt;br /&gt;
didn't work for me migrating my Solaris 10 Update 4 (w/Trusted Extension) IDE-based VM from &lt;br /&gt;
Fusion 1.1.1 to ESX 3.5.  It took quite bit of research experimentation to figure make it work.  &lt;br /&gt;
&lt;br /&gt;
The following are a combination of your recommendations, along with the changes &amp;#38; clarifications&lt;br /&gt;
I added to get it to work for my VM migration from Fusion to ESX.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-907527-2322/Picture+15.png" alt="Picture 15.png" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-907527-2322/Picture+15.png');return false;"/&gt;</description>
      <pubDate>Mon, 07 Apr 2008 10:52:29 GMT</pubDate>
      <author>publish_or_perish</author>
      <guid>http://communities.vmware.com/message/907527?tstart=0#907527</guid>
      <dc:date>2008-04-07T10:52:29Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/846140?tstart=0#846140</link>
      <description>&lt;br /&gt;
step 10) should read /a/etc/vfstab&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
but thanks for figuring the rest out; very helpful &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Tom</description>
      <pubDate>Wed, 23 Jan 2008 13:46:17 GMT</pubDate>
      <author>tom.elder</author>
      <guid>http://communities.vmware.com/message/846140?tstart=0#846140</guid>
      <dc:date>2008-01-23T13:46:17Z</dc:date>
      <clearspace:dateToText>1 year, 10 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/728713?tstart=0#728713</link>
      <description>I figured this out.  Much searching locally and across the internet turned up little info but with what I found and some experimentation I found this to work for migrating a Solaris 10 Update 3 IDE-based VM to ESX, so am posting it so others don't have to go through the same pain I did (maybe a KB article would be appropriate?).&lt;br /&gt;
&lt;br /&gt;
1) Run VMware Converter&lt;br /&gt;
2) Boot the Failsafe Kernel under ESX&lt;br /&gt;
3) Allow it to mount the root disk (under /a, the default)&lt;br /&gt;
4) Run "mount" and note the /devices/... path used for the root disk.&lt;br /&gt;
In my case this was /devices/pci@0,0/pci1000,30@10/sd@0,0:a&lt;br /&gt;
I don't know if this will vary, it may always be this path after Converter runs.&lt;br /&gt;
I'll use XXX to represent your pathname after /devices/ below just in case&lt;br /&gt;
(e.g. XXX=/pci@0,0/pci1000,30@10/sd@0,0:a in my case)&lt;br /&gt;
5) TERM=sun-color; export TERM&lt;br /&gt;
This will make using vi easier.&lt;br /&gt;
6) vi /a/boot/solaris/bootenv.rc&lt;br /&gt;
update property "bootpath" (from above):&lt;br /&gt;
setprop bootpath XXX&lt;br /&gt;
in my case it was:&lt;br /&gt;
setprop bootpath /pci@0,0/pci1000,30@10/sd@0,0:a&lt;br /&gt;
7) cp /etc/path_to_inst /a/etc/path_to_inst&lt;br /&gt;
8) rm /a/etc/devices/*&lt;br /&gt;
9) update bootarchive:&lt;br /&gt;
bootadm update-archive -R /a&lt;br /&gt;
10) Edit /etc/vfstab&lt;br /&gt;
Find the line for your root disk.  Replace the /dev/dsk/??? path with /devices/XXX, and replace the /dev/rdsk/??? path with /devices/XXX,raw (e.g. /devices/pci@0,0/pci1000,30@10/sd@0,0:a,raw)&lt;br /&gt;
This is necessary because before device reconfiguration occurs the kernel will try to see if the / filesystem needs checking, by reading /etc/vfstab, but until reconfiguration occurs there is no /dev entry for the / filesystem.  So you need to use the absolute /devices path until reconfiguration can be performed and a /dev alias path is created.&lt;br /&gt;
11) Reboot&lt;br /&gt;
12) At the Grub screen where you choose the kernel you want, select the normal kernel, but press 'e' to edit it.&lt;br /&gt;
13) Move down to the 2nd (kernel) line, and type 'e' to edit it&lt;br /&gt;
Append "-r -s" to force device reconfiguration and boot single-user, then press Return&lt;br /&gt;
to return to the previous screen&lt;br /&gt;
14) Type 'b' to boot this temporarily-modified configuration&lt;br /&gt;
15) When you enter single-user, do an ls -l /dev/dsk to find the c?txdxsx disk that corresponds to the /devices path you are using.  It's probably c2t0d0s0&lt;br /&gt;
16) Touch up /etc/vfstab to use the /dev/* paths which correspond to your disk (don't forget to update the swap entry as well, using the same txdxsx with the correct c? value for your disk).&lt;br /&gt;
17) Type ^D to go to multi-user&lt;br /&gt;
&lt;br /&gt;
Done!  Be careful typing those long /devices path names!</description>
      <pubDate>Mon, 20 Aug 2007 19:12:54 GMT</pubDate>
      <author>radman</author>
      <guid>http://communities.vmware.com/message/728713?tstart=0#728713</guid>
      <dc:date>2007-08-20T19:12:54Z</dc:date>
      <clearspace:dateToText>2 years, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Converted Solaris image panics "cannot mount root path"</title>
      <link>http://communities.vmware.com/message/727329?tstart=0#727329</link>
      <description>I'm migrating some machines from VMware Server to ESX.  I converted a Solaris 10 machine that had an IDE disk, using Converter.&lt;br /&gt;
&lt;br /&gt;
The failsafe kernel boots fine.  But, when I try to boot the real kernel, it immediately panics with "cannot mount root path".  I took a look (under the failsafe kernel) at the vfstab, and it looked funky (the / device name was something like /dev/dsk/c1td1s0), so I changed it to match the name mounted for root under the failsafe kernel: /dev/dsk/c1t0d0s0, and even rebuilt the boot archive, but the same panic recurs.  I also tried booting with -r, but that didn't help either.&lt;br /&gt;
&lt;br /&gt;
There was some kind of message during the conversion saying that the image couldn't be customized I think but I didn't write it down I'm afraid.  It said it completed successfully.&lt;br /&gt;
&lt;br /&gt;
Anybody have any idea what might be going wrong here?  The Hard Disk is "SCSI(0:0) Hard Disk 1" according to Settings.  Could the device naming be different between the failsafe and regular kernels?&lt;br /&gt;
&lt;br /&gt;
It's panicing when vfs_mountroot calls rootconf.&lt;br /&gt;
&lt;br /&gt;
Any tips much appreciated!</description>
      <pubDate>Sat, 18 Aug 2007 23:16:55 GMT</pubDate>
      <author>radman</author>
      <guid>http://communities.vmware.com/message/727329?tstart=0#727329</guid>
      <dc:date>2007-08-18T23:16:55Z</dc:date>
      <clearspace:dateToText>2 years, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
  </channel>
</rss>

