home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / sysadmin / 4822 < prev    next >
Encoding:
Text File  |  1992-08-23  |  3.2 KB  |  105 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!wri!news
  3. From: barker@saipan.wri.com (Harold Barker)
  4. Subject: kernel flags
  5. Message-ID: <1992Aug24.010750.10847@wri.com>
  6. Sender: news@wri.com
  7. Nntp-Posting-Host: saipan.wri.com
  8. Organization: Wolfram Research, Inc.
  9. Date: Mon, 24 Aug 1992 01:07:50 GMT
  10. Lines: 93
  11.  
  12.  
  13. Last week some questions were posted about what some kernel flags mean.   
  14. her is a short list form a file called power_on.rtfd by Wayde Schroeder
  15. from SupportBulletin Volume 1, Issue 1    Summer 1991.  I beleave this file  
  16. to be on the archives someplace.  The same info (rewriten) is in the 3.0  
  17. Admin docs.  The following text is taken directly from the above file.  I  
  18. have omited much of the file.
  19.  
  20. boot flags
  21. Boot flags are used to specify boot options. The flags are preceded by a  
  22. hyphen (-). When you specify boot flags, if no kernel name is given, the  
  23. default mach kernel will be used. General usage when working from the ROM  
  24. monitor includes adding the boot flags:
  25.  
  26.     bxx [kernel] -[flags]
  27.  
  28. flags include:
  29.  
  30.     -a    Ask for the name of the root device.
  31.     -b    Boot without running /etc/rc.boot.
  32.     -s    Boot in single-user mode.
  33.     -i    Ask for the name of the init program.
  34.     -p    Don't auto-reboot on a panic.
  35.  
  36. Examples:
  37.  
  38.     bsd -s
  39.     ben -bs
  40.     bfd mymach -as
  41.  
  42.  
  43. and another 
  44.  
  45. kernel variables
  46. The complete list of kernel variables may be unique to each kernel built.  
  47. This section  discusses variables that  will continue to be included in  
  48. future releases and describes how they are used in various situations.  
  49. General usage when working from the ROM monitor includes adding the kernel  
  50. variables:
  51.  
  52. bxx [kernel] -[flags] [kvars]
  53.  
  54. where kvars includes the following kernel variables:
  55.  
  56. mem=nnnn    Use only nnnn KB of memory even though more is actually  
  57. installed (for example, 1024 is 1 MB). Useful when measuring the impact of  
  58. adding more (or less) memory.
  59.  
  60. init=path    Run path instead of /etc/mach_init.
  61.  
  62. rootdev=xxx    Use xxx (for example, sd1, od0, en0, fd0) as root device  
  63. when boot device is different
  64.  
  65. rootdir=path    Use directory path as root point. 
  66.  
  67. rootrw=1    Mount the root read/write initially. At boot, the root is  
  68. normally mounted read-only. If fsck runs clean during rc.boot, it's  
  69. remounted read-write.
  70.  
  71. cache=0     Disable the on-chip caches.
  72.  
  73. pagesize=4096    Use physical pages half as large (default is 8192). This  
  74. usually makes things worse.
  75.  
  76. Examples:
  77.  
  78. bod - rootdev=sd0 ( - needed when kernel name not given)
  79. bsd newmach -p mem=4096
  80.  
  81.  
  82. Here's an example of booting from an external floppy device when the  
  83. internal disk is sd0, and the external floppy disk is sd1. Be sure to  
  84. insert the MkMagic bootable floppy disk in the external floppy disk drive  
  85. before you execute the following command:
  86.  
  87.     NeXT> bsd(1,0,0) - rootdev=sd1a
  88.  
  89. references
  90. Network and System Administration manual, Chapter 11,  System Startup and  
  91. Shutdown.  NeXT Computer, Inc., 1990.
  92.  
  93. end of Wayde's text.
  94.  
  95.  
  96.  
  97. --
  98. Work            voice   217-398-0700  |   Home
  99. barker@wri.com  fax     217-398-0747  |   barker@rhiannon.wri.com
  100. NeXT Mail accepted                    |   NeXT Mail accepted
  101. --------------------------------------|----------------------------------- 
  102. ---
  103. Mail sent to barker@wri.com will be copied to rhiannon, mail sent to
  104. barker@rhiannon.wri.com will not be seen at work ;-)
  105.