home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 5858 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  2.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!news.bbn.com!news.bbn.com!jpeters
  2. From: jpeters@bbn.com (Jim Peters)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Moving Sun 3/50 NFS root & swap to local disk
  5. Message-ID: <JPETERS.92Aug26142622@saavik.bbn.com>
  6. Date: 26 Aug 92 21:26:22 GMT
  7. Reply-To: jpeters@bbn.com
  8. Organization: BBN Communications (SD&S)
  9. Lines: 58
  10. NNTP-Posting-Host: saavik.bbn.com
  11.  
  12. My goal is to have my 3/50 boot from the local disk and have both root and
  13. swap local.  (/usr is done via NFS).  The current configuration is set up
  14. to use an NFS root and a small NFS swap partition and then adds the local
  15. swap as it mounts things.    
  16.  
  17. The NFS kernel has the config line:
  18.     config  vmunix  root on type nfs
  19.  
  20. I have tried:
  21.     config vmunix root on sd0a swap on type spec sd0b
  22. and 
  23.     config  vmunix  swap generic
  24.  
  25. The problem that I am trying to get by is having the kernel load fail with
  26. the message Truncated file, just as it reaches the size of the old NFS
  27. kernel.
  28.  
  29. In short here are the changes I have made:
  30.  
  31.     # mount /dev/sd0a /mnt
  32.     # tar xpf <tar file made  on server of client's root>
  33.     # cd dev ; MAKEDEV std &
  34.     # sync; sync;
  35.     # cp <newkernel> /mnt/vmunix
  36.     # <Edit /etc/fstab to mount /dev/sd0a as root>
  37.     # cp <server's /boot> /mnt/boot    - server is a 3/280.
  38.  
  39.     I only did this because there is no /boot in my NFS root and
  40.     installboot will not proceed without it, it gives No such file or
  41.     directory.  (As an aside, I'd like to understand how a local boot is
  42.     different from a NFS one.)  Is there some way to create a /boot file?
  43.     
  44.     # cd /usr/mdec
  45.     # installboot /mnt/boot bootsd /dev/rsd0a
  46.     # sync; sync;
  47.     # umount /mnt
  48.     # /etc/halt
  49.     > b -s
  50.     Booting sd0(0,0,0).....
  51.     <id's all the devices>
  52.     ...
  53.     vmunix
  54. ->>    586016Truncated file
  55.     root on sd0a
  56.     root image: 
  57.  
  58. Note: /etc/bootparams does not exist.  The NIS bootparams file has been
  59. changed to say root=/dev/sd0a swap=/dev/sd0b
  60.  
  61. I did this after trying to boot with the local disk with the old kernel and
  62. noticing that it still picked up the NFS root and swap.
  63.  
  64. I am sure that I have missed some configuration steps or just have a bad
  65. kernel config to begin with.   Any ideas?  
  66.  
  67. Thanks.
  68.  
  69.                     -- Jim Peters (jpeters@bbn.com)
  70.