Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Solaris: Vfstab file is empty and boots to single user mode

Solaris: Vfstab file is empty and boots to single user mode
Thread Tools
Junior Member
Join Date: May 2005
Status: Offline
Reply With Quote
Jun 1, 2005, 09:00 PM
 
Its a UNIX platform, so I thought some knowledge might be shared.

I have a Solaris station that was powered off physically instead of being shutdown. The vfstab file is now comprised of a couple lines that have nothing to do with mounts. So as a result when it boots it errors out saying the lines are invalid. I ran fsck on the actual disc (/dev/rdsk/c0t0d0s0) and it passed. I have a backup of the vfstab file, but when I boot to single user mode the hard drive is locked and I can't copy the backup to the actual.

I tried mount /dev/dsk/c0t0d0s0 from the command line in single user mode and it errors out saying the vfstab file is invalid.

Any ideas how to make the hard drive writeable so I can restore the vfstab file?
     
Junior Member
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 7, 2005, 11:39 AM
 
Boot into single user from cd (boot cdrom -s from the ok> prompt). I usually used the first of two software cd's to boot from. Once in single user you should be able to mount the /dev/dsk/c0t0d0s0 partition on /mnt and modify it from there. As a precaution, unmount /mnt prior to rebooting so that it's gracefully sync'd and unmounted.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:32 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2