home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / Misc / HigherEducationMailbox.mbox / Archives_provide_val_.attach / May_91 / sysadmin.576 < prev    next >
Text File  |  1991-05-21  |  2KB  |  71 lines

  1. {\rtf0\ansi{\fonttbl\f3\fnil Times-Roman;\f0\fmodern Courier;}
  2. \paperw11760
  3. \paperh9580
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\b0\i0\ul0\fs28 fstab boot failed\
  7. \
  8. Q:  My machine always comes up single-user mode, although no special boot parameter was specified.  During the boot process, the following message was displayed:\
  9. \
  10.     ...\
  11.     Checking disks\
  12.     Can't open checklist file : /etc/fstab\
  13.     Reboot failed...help!\
  14.     ...\
  15. \
  16. A:  If no /etc/fstab file is present , a machine is not able to find its root partition.  Multi-user boot will fail.  Single-user boot will succeed, however no changes are possible since the root partition is mounted read-only. \
  17. \
  18. To fix the problem, you need to copy a correct fstab file into the /etc directory. There are two ways to copy a template fstab into place:\
  19. \
  20. 1) Boot the machine from an alternate bootdevice (optical disk, ethernet). Log in as root and run the /NextApps/Terminal program. Execute the following command\
  21.  
  22. \f0\fs22 \
  23.  
  24. \fs24     
  25. \b machine#
  26. \b0  mount /dev/sd0a /mnt\
  27.     
  28. \b machine#
  29. \b0  cp -p /usr/template/client/etc/fstab.bootdevice /mnt/etc/fstab\
  30.     
  31. \b machine#
  32. \b0  halt\
  33.  
  34. \fs22 \
  35.  
  36. \f3\fs28 Note: replace 
  37. \i bootdevice
  38. \i0  in the cp command above with your standard boot device. The choices are fstab.client, fstab.fd, fstab.od, fstab.sd330, fstab.sd660, fstab.sd660.1. If you are booting a netbooted client, remember to edit /etc/fstab and change every occurence of SERVER to the name of the netboot-server that you are booting from. Also change every occurence of CLIENT to the name of your netbooted-client.\
  39. \
  40. 2) Get into the NeXT rom monitor and boot the machine with the following options:\
  41.  
  42. \f0\fs22 \
  43.  
  44. \fs24     
  45. \b NeXT> 
  46. \b0 bsd -s rootrw=1\
  47. \
  48.  
  49. \f3\fs28 At the single-user prompt, execute the following comands:\
  50.  
  51. \f0\fs22 \
  52.  
  53. \fs24     
  54. \b machine#
  55. \b0  cp -p /usr/template/client/etc/fstab.bootdevice /etc/fstab\
  56.     
  57. \b machine#
  58. \b0  halt\
  59.  
  60. \f3\fs30 \
  61.  
  62. \fs28 The note to method (1), above, also applies to method (2).\
  63. \
  64. \
  65. QA576\
  66. \
  67. Valid for 1.0 \
  68. Valid for 2.0\
  69. \
  70.  
  71.