I recently aquired a Sun V210 running Solaris 10. I got past the firmware password, and now I'm trying to get past the root password. I booted directly into single user mode from the ok prompt "boot cdrom -s"
Once in.. every time I try to mount the harddrive "mount /dev/dsk/c0t0d0s0 /a" is says that the device is mounted. i try to unmount, it says it's busy. It never shows up in mnttab or vfstab. I tried a fsck and here are the results:
Code:
# fsck -y /dev/dsk/c0t0d0s0
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPERBLOCK AT BLOCK 16: MAGIC NUMBER WRONG
LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS? no
LOOK FOR ALTERNATE SUPERBLOCKS WITH NEWFS? no
SEARCH FOR ALTERNATE SUPERBLOCK FAILED.
USE GENERIC SUPERBLOCK FROM MKFS? no
USE GENERIC SUPERBLOCK FROM NEWFS? no
SEARCH FOR ALTERNATE SUPERBLOCKS FAILED. YOU MUST USE THE -o b OPTION
TO FSCK TO SPECIFY THE LOCATION OF A VALID ALTERNATE SUPERBLOCK TO
SUPPLY NEEDED INFORMATION; SEE fsck(1M).
# fsck -o b=16 /dev/dsk/c0t0d0s0
Alternate super block location: 16.
** /dev/rdsk/c0t0d0s0 (NO WRITE)
BAD SUPERBLOCK AT BLOCK 16: MAGIC NUMBER WRONG
Any jabs on how to get this drive mounted?
Thank you and I look forward to being an active member on this forum.
Last edited by Scott; 02-12-2010 at 03:21 AM..
Reason: Please use code tags
Hi all,
why "vi" acts differently is single user mode?
Does anyone help ?
I am using "x" to delete and it keeps messing up.
Please help
Thanks (2 Replies)
Hi all,
Well back at work and back to crashing systems again :-)
Does anyone know where I can find some decent information on single user mode? I need to be able to fix a few things. Don't know if it's possible in single user mode but I need to fix the "etc/vfstab" mainly I re-wrote it to... (2 Replies)
Hi!
I am trying to mount a file system (advfs) in single-user mode. The goal is to make a vdump of the partition
The command I am using is:
mount -t advfs domain#gaston /usr/local/gaston
But appears the following error:
No such domain, file....
Any help?
Thanks in advance
Gaston (2 Replies)
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Hi all
I am new on sun OS. I have have little experience on linux.
The Story start from this point:
I want to put some script on start-up the terminal, but I cant do that. my shell was sh and I tried so much to find way to do that. at last someone said to me change your shell to bash. I ask how... (4 Replies)
Dear All
I am trying to install my os as :
ok>boot cdrom - install
but receiving the following :
"IDprom checksum error
getexecname() failed
/sbin/rcS /etc/vfstab cannot create
INIT:failed write utmpx enrty
INIT:single user mode
INIT:execle of /etc/sulogin failed
Enter run level"
Can you... (6 Replies)
Discussion started by: hadimotamedi
6 Replies
LEARN ABOUT SUNOS
sulogin
sulogin(1M) System Administration Commands sulogin(1M)NAME
sulogin - access single-user mode
SYNOPSIS
sulogin
DESCRIPTION
The sulogin utility is automatically invoked by init when the system is first started. It prompts the user to type the root password to
enter system maintenance mode (single-user mode) or to type EOF (typically <CTRL-D>) for normal startup (multi-user mode). The user should
never directly invoke sulogin.
The sulogin utility can prompt the user to enter the root password on a variable number of serial console devices, in addition to the tra-
ditional console device. See consadm(1M) and msglog(7D) for a description of how to configure a serial device to display the single-user
login prompt.
FILES
/etc/default/sulogin Default value can be set for the following flag:
PASSREQ Determines if login requires a password. Default is PASSREQ=YES.
/etc/default/login Default value can be set for the following flag:
SLEEPTIME If present, sets the number of seconds to wait before login failure is printed to the screen and
another login attempt is allowed. Default is 4 seconds. Minimum is 0 seconds. Maximum is 5 seconds.
Both su(1M) and login(1) are affected by the value of SLEEPTIME.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
SEE ALSO login(1), consadm(1M), init(1M), su(1M), attributes(5), msglog(7D)SunOS 5.10 25 Sep 2002 sulogin(1M)