The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
question about vfstab wrapster Shell Programming and Scripting 4 04-27-2008 06:44 AM
mount in vfstab jess_t03 SUN Solaris 1 02-25-2008 02:12 AM
VFSTAB edit xeroxguy UNIX for Dummies Questions & Answers 1 09-27-2005 06:07 PM
/etc/vfstab hcclnoodles UNIX for Dummies Questions & Answers 3 04-17-2003 03:19 AM
Changing boot device on a Sun box 98_1LE UNIX for Dummies Questions & Answers 3 09-14-2001 08:38 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2006
Registered User
 

Join Date: Jan 2005
Posts: 35
Help changing /etc/vfstab - can't boot

I have Solaris 10 Express that I installed on a PC with two drives. It was on drive 1 (with the boot drive being drive 0). Linux was in a different parition and my boot options where managed by grub.

The Solaris parition's /etc/vfstab referenced the root, user, etc.. disks as c0d1sX. But since I remove the original boot drive, the new disk has become d0. So naturally when I attempt to boot Solaris it craps out.

I can boot single user, but / gets mounted read-only and therefore I cannot change /etc/vfstab.

The CDROM drive doesn't work, so I'm left with few options.

Is it possible to get the root filesystem mounted rw so I can edit the /etc/vfstab?

If so, how?

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-08-2006
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,503
boot from CD in single use mode, then manually mount c0d0sX to /mnt, and edit /mnt/etc/vfstab
Reply With Quote
  #3 (permalink)  
Old 12-09-2006
Registered User
 

Join Date: Jan 2005
Posts: 35
Quote:
Originally Posted by reborg
boot from CD in single use mode, then manually mount c0d0sX to /mnt, and edit /mnt/etc/vfstab
Quote:
Originally Posted by lyonsd
The CDROM drive doesn't work
Any other alternatives?
Reply With Quote
  #4 (permalink)  
Old 12-09-2006
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,503
see if you can remount root:

Code:
mount -o rw,remount /dev/dsk/c0d0sX /
then edit vfstab directly.
Reply With Quote
  #5 (permalink)  
Old 12-10-2006
Registered User
 

Join Date: Dec 2005
Posts: 65
If you have another system you can plug the harddisk to it and mount it with -o rw and edit your vfstab.
Reply With Quote
  #6 (permalink)  
Old 12-11-2006
Registered User
 

Join Date: Jan 2005
Posts: 35
I'll try the "remount" option first. Thanks.

I do have a system that'll boot Linux and FreeBSD. But under Linux I can't mount the Solaris partitions writable.

And I haven't figured out how to mount them at all under FreeBSD. It doesn't seem to like the type "ufs".
Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0