[ug-bosug] Mounting a Solaris partition

Madhu K R Madhu.Kr at sun.com
Mon Jun 5 20:53:55 PDT 2006


If you have a solaris DVD or CD then you can boot thru CD to single user 
mode.
Then mount the original solaris root partition as 'rw'
do a chroot to the new solaris new root partition.
Run 'passwd' to change the root partition.

Madhu

Binu Jose Philip wrote:
> Srichand Pendyala <srichand.pendyala at gmail.com> writes:
>
>   
>> Hi,
>>
>>
>> On 6/5/06, Sriram Narayanan <sriramnrn at gmail.com> wrote:
>>
>>           Hi all:
>>      
>>      My friend Sandeep (whom I've CC'd on this mail, and who'll be joining
>>      BoSUG soon) has a problem. At his office, they have an x86 box
>>      containing Sun One, and the person who'd configured the root password
>>      has left. He needs to reset that password (and I can vouch for him,
>>      he's a sysadmin I've known for years :) ).
>>      
>>
>>
>> I am not entirely sure, but doesn't Solaris also have a single user more, ie init 1?
>> Is there a switch that can be passed as a kernel parameter in the bootloader for that?
>> If so, isn't it easier to just change the password from there?
>>     
>
> boot with '-s' will take you to single user mode, but you'l still
> need the root password to get a shell.
>
> fstyp(1m) can tell (most of the time) type of the file system
> on a slice.
>
> cheers
> Binu
>
>   
>> Regards,
>> Srichand.
>> --
>> Srichand Pendyala
>> http://srichand.net.in/
>> _______________________________________________
>> ug-bosug mailing list
>> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
>> List-Owner: mailto:ug-bosug-owner at opensolaris.org
>> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>>     
>
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>   
_______________________________________________
ug-bosug mailing list
List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
List-Owner: mailto:ug-bosug-owner at opensolaris.org
List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54



More information about the ug-discuss mailing list