From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,6054e09ec6533d4e X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,aa81205d6b91ea7c,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,aa81205d6b91ea7c,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-05-20 03:07:34 PST Xref: sparky comp.unix.admin:3374 comp.sys.dec:3038 comp.unix.ultrix:4513 Path: sparky!uunet!elroy.jpl.nasa.gov!ames!sparkyfs.erg.sri.com!noose.ecn.purdue.edu!mentor.cc.purdue.edu!rain!gpetty From: gpetty@rain.atms.purdue.edu (Grant W. Petty) Newsgroups: comp.unix.admin,comp.sys.dec,comp.unix.ultrix Subject: HELP! How to restore '/' filesystem to non-DEC disk?? (RISC/Ultrix) Message-ID: <49403@mentor.cc.purdue.edu> Date: 20 May 92 14:49:38 GMT References: <1992May20.095716.3179@gdunix.gd.chalmers.se> Sender: news@mentor.cc.purdue.edu Followup-To: comp.unix.admin Organization: Earth & Atmospheric Sciences, Purdue University My root filesystem on my DECstation 5000/200 (Ultrix 4.1) has gotten mildly corrupted (see companion posting on upgrading Ultrix from non-standard distribution)and I want to restore it to its original condition from my last level 0 dump. Unfortunately, I am having some difficulty figuring out how this is done correctly in my case, and I am extremely leary of doing anything that might make the situation worse than it already is -- at the moment at least, I still have a usable (though slightly limping) system. According to the Backup and Restore document from DEC, I need to take the following steps: 1. Boot the TK50 device where the standalone system volume is mounted. 2. Select menu item 3 for system management 3. Run MAKEDEV in the /dev directory to make the system disk special file and the tape device special file. e.g., cd /dev MAKEDEV mnemonic -- where mnemonic = rz, according to Table A-1 4. Change to root directory 5. Make a new root file system, i.e., mkfs dev-name 32768 nsectors ntracks 6. followed by fsck, mount, restore, etc. Right now at least, I'm not getting any further than step 3. When I do 'MAKEDEV rz', I get an error saying something about a bad disk. (Incidentally, the table of devices supported by MAKEDEV seems to indicate that a device no. is not expected after 'rz' -- that is, there's no asterisk. Is this just a typo? As noted at the beginning, I'm extremely reluctant to experiment at this point for fear of making things worse. ) I'm not a Unix expert, but I suspect that MAKEDEV in the standalone shell is expecting the system disk to be rz0, whereas my root filesystem is in fact located on a non-DEC disk -- specifically, partition 'a' of an RZ57-like 3d-party 1.2 GB SCSI disk (/dev/rrz1a). The following may or may not be relevant: In the past, I had been unable to get the Ultrix installation software to permit me to assign a non-DEC SCSI disk as the system partition; ultimately, the 3d party vendor (TotalTec) did the installation for me and everything had worked fined after that. I wish I knew how they did it. If anyone can tell me with utmost certainty how I can proceed in way that will successfully restore my root filesystem without risking trashing it further, I would be very grateful. Incidentally, don't try to send me e-mail, because /bin/mail seems to be MIA. Thanks. -- Grant W. Petty gpetty@rain.atms.purdue.edu Assistant Prof. of Atmospheric Science (317) 494-2544 Dept. of Earth & Atmospheric Sciences Disclaimer: The opinions expressed are my own. Purdue University, West Lafayette IN 47907-1397