home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / sysv386 / 16388 < prev    next >
Encoding:
Text File  |  1992-11-11  |  3.3 KB  |  78 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!boulder!csn!news.den.mmc.com!spacemanspiff.den.mmc.com!hobbes
  3. From: hobbes@den.mmc.com ()
  4. Subject: When rebuilt system (ISC 3.0) boots, requests floppy fd0...???
  5. Message-ID: <1992Nov11.151729.5641@den.mmc.com>
  6. Originator: hobbes@spacemanspiff.den.mmc.com
  7. Sender: news@den.mmc.com (News)
  8. Nntp-Posting-Host: spacemanspiff.den.mmc.com
  9. Organization: Denver, Colorado
  10. Date: Wed, 11 Nov 1992 15:17:29 GMT
  11. Lines: 65
  12.  
  13.  
  14. Hello, all.  I managed to pull a bunch of old files off of an old
  15. backup tape, overwriting a bunch of system files in the process.  
  16. Inspection of the damage revealed that it was probably a couple
  17. hundred files involved, and as I was rebuilding the system for a 
  18. new X server, I thought it would be faster to try out my crash
  19. recovery floppies and reload a recent system from tape.
  20.  
  21. So i booted off a boot floppy, inserted the INSTALL disk (made my own -
  22. not the original one for brand new systems), mounted / and /usr
  23. to /mnt and  /mnt/usr, respectively, erased the disk (rm -rf /mnt/usr,
  24. rm -rf /mnt), and then cpio'd the most recent system in from tape.
  25.  
  26. Well, that backup didn't get the /dev directory :-(, so i used the
  27. /dev on the INSTALL diskette as a guide and mknod'd a minimum number
  28. of devices by hand in /mnt/dev (i.e. the /dev on the hard disk).  Anyways,
  29. I rebooted the system, but when the screen cleared after the "Booting the
  30. Interactive UNIX Operating System" message, and it started going through
  31. all of its boot messages, it gave me this one:
  32.  
  33. fd0:  not present - please insert
  34.  
  35. and if i did nothing, it kept insisting:
  36.  
  37. fd0:  not present - please insert
  38. fd0:  not present - please insert
  39. fd0:  not present - please insert
  40. fd0:  not present - please insert
  41. etc...
  42.  
  43. until i put in an INSTALL diskette.  Now, I had seen this problem one
  44. time before when I tried to repartition/rebuild my system (removed
  45. messy dos to gain 40MB) by hand.  After hours of frustration, I finally
  46. got it to boot correctly, but I didn't then, and still don't know now
  47. what caused the above behavior (insistence on inserting a floppy in drive 0
  48. upon system boot).
  49.  
  50. Does anyone know what causes the aforementioned behavior?  My hunch is that
  51. when i ran mknod by hand to construct the non-existent  devices, i created
  52. /dev/root or some similar device needed during boot, and that the major
  53. and minor device numbers told the boot sequence that it needed a floppy...
  54. The reason I suggest this as the reason is, that once i booted the system
  55. (after inserting the floppy), i took another backup tape and successfully
  56. restored /dev.  Now the machine boots fine!
  57.  
  58. Also,  does anyone know what the following command does?
  59.  
  60. init switchroot
  61.  
  62. This command is present in the script that is run when one boots off of
  63. the original ISC INSTALL diskette.  I thought it had something to do
  64. with switching /mnt to / and / to /mnt (i.e. switch the system to the
  65. hard disk)... but I don't think i had any success running this from the
  66. command line when I used my own crash recovery INSTALL diskette...
  67. Does 'init switchroot' only work from inside a shell script?
  68.  
  69. Any light anyone can shed on this would greatly be appreciated...
  70.  
  71. Steve Camp
  72. hobbes@spacemanspiff.den.mmc.com
  73. -- 
  74.  
  75. Steve Camp
  76. (303)971-4379
  77. hobbes@spacemanspiff.den.mmc.com
  78.