> Daveu, I was not asked to mount zpool at all.

I just tested what I recommended that you do with a fresh install of Solaris
Express snv_98.  Boot the DVD, select Solaris Express, 6 for single user shell.
The system *asked* if I wanted to mount rpool, not zpool, read/write on /a.
I entered "y", changed directory to /a/etc, TERM=sun-color; export TERM,
vi shadow and removed root's password.  Yes, the file is read-only.  Makes no
difference; root can edit the file.

I just remembered from the install - did you install on UFS or ZFS?

If it was UFS the procedure is different.  After booting single-user from DVD
you get a shell prompt (#).

Make sure that /a exists, it should.

# mount -F ufs -o rw /dev/dsk/c0d0s0 /a

If you get an error here then ls /dev/dsk to see which drive has your OS
installed.  Actually, on this amd64 system, the root slice is /dev/dsk/c1d0s0.
The entries starting with c0t0d0 are the DVD drive.  IDE and SATA drives
never have the target number and the default install puts the root slice on
s0.

duhring at maxwell:~$ ls /dev/dsk
c0t0d0p0  c0t0d0s1   c0t0d0s15  c0t0d0s7  c1d0p3   c1d0s12  c1d0s4
c0t0d0p1  c0t0d0s10  c0t0d0s2   c0t0d0s8  c1d0p4   c1d0s13  c1d0s5
c0t0d0p2  c0t0d0s11  c0t0d0s3   c0t0d0s9  c1d0s0   c1d0s14  c1d0s6
c0t0d0p3  c0t0d0s12  c0t0d0s4   c1d0p0    c1d0s1   c1d0s15  c1d0s7
c0t0d0p4  c0t0d0s13  c0t0d0s5   c1d0p1    c1d0s10  c1d0s2   c1d0s8
c0t0d0s0  c0t0d0s14  c0t0d0s6   c1d0p2    c1d0s11  c1d0s3   c1d0s9


# TERM=sun-color; export TERM
# cd /a/etc
# vi shadow

Delete the encrypted password between the first and second colons and write
the file.  Reboot.
--
This message posted from opensolaris.org

Reply via email to