Skip navigation
VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
5,218 Views 6 Replies Last post: Jun 5, 2009 2:26 PM by ebonick RSS
radman Enthusiast 90 posts since
Aug 9, 2006
Currently Being Moderated

Aug 18, 2007 4:16 PM

Converted Solaris image panics "cannot mount root path"

I'm migrating some machines from VMware Server to ESX.  I converted a Solaris 10 machine that had an IDE disk, using Converter.

 

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.

 

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.

 

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?

 

It's panicing when vfs_mountroot calls rootconf.

 

Any tips much appreciated!

tom.elder Novice 23 posts since
Aug 11, 2005
Currently Being Moderated
2. Jan 23, 2008 5:46 AM in response to: radman
Re: Converted Solaris image panics "cannot mount root path"

 

step 10) should read /a/etc/vfstab

 

 

 

 

 

but thanks for figuring the rest out; very helpful

 

 

 

 

 

Tom

 

 

publish_or_pe… Lurker 3 posts since
Apr 7, 2008
Currently Being Moderated
3. Apr 7, 2008 4:38 AM in response to: radman
Re: Converted Solaris image panics "cannot mount root path"

That was an extremely helpful starting point.  Though most of it was relevant, the instructions

didn't work for me migrating my Solaris 10 Update 4 (w/Trusted Extension) IDE-based VM from

Fusion 1.1.1 to ESX 3.5.  It took quite bit of research experimentation to figure make it work. 

 

The following are a combination of your recommendations, along with the changes & clarifications

I added to get it to work for my VM migration from Fusion to ESX.

 

 

 

 

 

acruizu Enthusiast 43 posts since
May 13, 2008
Currently Being Moderated
4. Sep 3, 2008 9:45 AM in response to: publish_or_pe…
Re: Converted Solaris image panics "cannot mount root path"

Thank you very much. Your post was very helpfull.

MPowerLabs Lurker 1 posts since
Nov 10, 2008
Currently Being Moderated
5. Nov 10, 2008 1:57 PM in response to: publish_or_pe…
Re: Converted Solaris image panics "cannot mount root path"

 

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:

 

  1. boot to failsafe

  2. add swap space --- swap -a /dev/dsk/cxtxdxsx

  3. cp /etc/path_to_inst /a/etc/path_to_inst

  4. edit /a/boot/solaris/bootenv.rc with the proper boot device

  5. rm  /a/etc/devices/*

  6. rm /a/dev/rdsk/c*

  7. rm /a/dev/dsk/c*

  8. rm /a/dev/cfg/c*

  9. devfsadm -v -r /a

  10. reboot /w -arvs

If the reboot fails, go back and check bootenv.rc.  I had a problem with the file reverting back to the original boot device.

ebonick Novice 22 posts since
Aug 15, 2006
Currently Being Moderated
6. Jun 5, 2009 2:26 PM in response to: radman
Re: Converted Solaris image panics "cannot mount root path"

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?

Bookmarked By (0)

Share This Page

Communities