Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!purdue!mailrus!cornell!uw-beaver!rice!sun-spots-request From: jim@eda.com (Jim Budler) Newsgroups: comp.sys.sun Subject: Re: installation of 4.0.1 on 386i Message-ID: <443@eda.com> Date: 19 Jan 89 07:59:42 GMT References: <3445@mit-amt> Sender: usenet@rice.edu Organization: EDA Systems,Inc. Santa Clara, CA Lines: 52 Approved: Sun-Spots@rice.edu Original-Date: 14 Jan 89 08:55:17 GMT X-Sun-Spots-Digest: Volume 7, Issue 112, message 5 of 14 X-Issue-Reference: v7n93 mit-amt!geek%media-lab.media.mit.edu@eddie.mit.edu (Chris Schmandt) writes: >... > The installation instructions for 4.0.1 call for a complete file system > dump, rebuild the disk, and then restore the rest of the file system. > I was wondering if anyone has dealt with this and whether there may in > fact be some subset of files (vmunix, what else??) that I'd need to > install and leave the rest intact... I suspect this is too late, but: 1. Boot the upgrade tape 2. Select "Restore individual partitions" 3. Restore / and /usr; Don't restore /files. 4. exit to single user shell 5. mount your old /files somehere. * go look at it * several places ( cluster, spool, var?) will be directories named sun386.sunos4.0.0 (approx., obvious) * delete them ( rm -rf ...) * umount the disk 6. Somewhere on the ramdisk you are working from is the script that does the work. Maybe /usr/etc. The script is in all uppercase, some name like UPGRADE, or INSTALL. [ I'm sorry, I've DONE this, it works, but to find the actual name I'd have to shut down my node, boot the installation tape, and check. I can't do that.] 7. edit the script. Look for the case where it does the /files system. Delete the line where it does a 'newfs' on the /file disk. 8. Make sure the application tape is in the tape drive. Execute the script you modified in (7). Say n to / and /usr, Say y to the /files prompt. Variations on this are possible, but I haven't tried them. 1. Unloadc all 'clusters' before starting the procedure. They are deleted in step 5, above. If you 'unloadc' them first you can probably skip step 5, a small tree of links will be left behind. [ I did it the way I described, I'm sure this variation would work, but I haven't done it] Hope this helps. jim -- Jim Budler address = uucp: ...!{decwrl,uunet}!eda!jim domain: jim@eda.com