Summary: SunOS 4.1.4 Restore

From: Doug S Johnson <>
Date: Fri May 24 2002 - 12:47:11 EDT
Thanks to those who provided advice

You cannot simply mount the drive on a solaris machine and run ufsrestore 
because SunOS does not use ufs filesystems it uses 4.2 and uses the 
commands dump and restore instead of ufsdump and ufsrestore..I had already 
tried and ufsrestore couldn't read the tape and I don't have another SunOS 

I borrowed a Solaris 1.1.2 CD (I'll make a copy) and after that everything 
went smoothly. Below is a condensed version of what happens

ok> boot cdrom

What would you like to do?
  1 - Install SunOS miniroot?
  2 - Exit to single user shell
Enter a 1 or 2: 1

Begins a probe for disks and you select your root disk from a list.

Do you want to format and or label disk "sd0"?
  1 - yes, run format
  2 - no, continue with loading miniroot
  3 - no, exit to single user shell
Enter a 1,2,or 3: 2

Miniroot gets installed to /dev/sd0b (swap)

What would you like to do?
  1 - reboot using the just installed miniroot
  2 - exit into single user shell
Enter a 1 or 2: 1

System boots to miniroot

# mount /dev/sd0a /a

Run restore from here..(I won't bore you with any details from here, 
restore works like ufsrestore).
Commands you might need to use are located in the etc directory of the 

# reboot
Original post below:

        I have a Sparc 20 with SunOS 4.1.4, it's rarely used but just when
it's needed something happened to it. The /dev directory was removed (I
didin't do it, but I need to fix).  Anyway, I know how to fix with
solaris: boot cdrom -s, mount c0t0d0sX /mnt, cd /mnt, ufsrestore from
tape.  However, I don't know how to in SunOS.

        I've read about booting from cdrom and tape, installing miniroot,
but I haven't seen any how to on it.  I believe you have to boot off a
tape or cdrom and somehow install miniroot to /tmp and then boot to the
miniroot, mount the filesystem,

        .  I'm borrowing a  SunOS 4.1.3 cd tomorrow (Can't find 4.1.4),
but don't know the steps to boot to miniroot.  I have backup tapes. How is
this done?

        Thanks, for any help you can provide.

sunmanagers mailing list
Received on Fri May 24 13:08:19 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:44 EST