Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/opt was delete, by accident

Status
Not open for further replies.

hitw

Programmer
Feb 9, 2006
1
US
/opt was deleted by accident, luckly, someone tared it up. But after /opt was deleted, there are no commands left so I couldnt untar. Then the machine was rebooted, and when it comes up, it boots but the kernel panics, so I can boot by floppy, but when I try to mount slash I get a error that the disk is bad? shouldnt be, so I mount it -r (read only) and it mounts, I can see the tar ball, but I cant untar it because the mounted device is read only? Is there anyway out of this? I have a identical machine, should I make a cpio backup of it and clobbler the hard disk and cpio over it? Or is there some way of mounting the disk to write and untaring it?? This is a very old machine SCO 5.0.5

Thanks
 
When boot by floppy can't you fsck the hdroot filesystem and then mount it without the -r option ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top