home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4793 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  2.4 KB

  1. Path: sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!lurch
  2. From: lurch@ee.latrobe.edu.au (Geoffrey Liersch)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Easy Install for 386bsd with more swap space!
  5. Message-ID: <1992Aug28.040755.2247@lugb.latrobe.edu.au>
  6. Date: 28 Aug 92 04:07:55 GMT
  7. Sender: news@lugb.latrobe.edu.au (USENET News System)
  8. Organization: Department of Electronic Engineering, La Trobe University
  9. Lines: 69
  10.  
  11. Here is an easier way to install 386bsd with a larger swap space and/or
  12. a real partitioning scheme.  
  13.  
  14. NOTE:  Steps marked with a (*) can be skipped if a separate usr partition
  15. is not required!
  16.  
  17. 1.    Boot the fixit.fs floppy.
  18. 2.    Make the floppy writable:
  19.         mount -u /dev/fd0a /
  20. 3.    Make some space on the floppy:
  21.         rm [A-Z]*
  22. 4.    Make a disktab entry with a seperate usr partition if needed:
  23.         vi /etc/disktab
  24. 5.    Disklabel the hard disk:
  25.         disklabel -w -r wd0 "drivename"
  26. 6.    Prepare the root partition:
  27.         newfs /dev/rwd0a
  28. 7.(*)    Prepare the usr partition if necessary:
  29.         newfs /dev/rwd0h        
  30.         mount /dev/wd0a /mnt
  31.         mkdir /mnt/usr 
  32.         mkdir /mnt/sbin
  33.         mkdir /mnt/dev
  34.         cd /usr/distbin
  35.         ls *mount | cpio -pdalmu /mnt/sbin
  36.         cd /dev
  37.         ls * | cpio -pdalmu /mnt/dev
  38. 8.    Shutdown and remove the fixit.fs floppy:
  39.         shutdown
  40. 9.    Boot the dist.fs floppy.
  41. 10.    Mount the root partition:
  42.         mount /dev/wd0a /mnt
  43. 11.(*)    Mount the usr partition if necessary: 
  44.         mount /mnt/dev/wd0h /mnt/usr
  45. 12.    Install the binaries:
  46.         zcat /etc/baselist.Z | cpio -pdalmu /mnt    
  47.         cd /mnt
  48.         zcat /etc/baseutils.cpio.Z | cpio -idalmu
  49. 13.    Shutdown and remove the dist.fs floppy:
  50.         shutdown
  51. 14.    Boot off the hard disk.
  52. 15.    Make the root partition writable:
  53.         mount -u /dev/wd0a /
  54. 16.(*)    Mount the usr partition if necessary:
  55.         mount /dev/wd0h /usr
  56. 17.    Read the install notes in the root directory:
  57.         zmore INSTALL.NOTES
  58. 18.    (i)  If you have not got a seperate usr partition the install the 
  59.          binary and other distributions as per the INSTALL.NOTES.
  60.     (ii) If you have got a seperate usr partition then install the binary
  61.          distribution as follows:
  62.         mkdir /usr/tmp
  63.         cd /usr/tmp
  64.          Get the binary distribution to here as per the INSTALL.NOTES.
  65.         cd /
  66.         cat /usr/tmp/bin01* | uncompress | cpio -idalmu
  67.         sh /tmp/install.bin01
  68. 19.    Create the file /etc/fstab:
  69.         vi /etc/fstab
  70.     and add the following line(s): 
  71.         /dev/wd0a    /    ufs rw 1 1
  72.         /dev/wd0h    /usr    ufs rw 1 2 
  73. 20.    Get to work!
  74.  
  75. I hope that this is helpful to someone.
  76.  
  77. Lurch
  78.  
  79. lurch@ee.latrobe.edu.au
  80.