home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- 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
- From: hobbes@den.mmc.com ()
- Subject: When rebuilt system (ISC 3.0) boots, requests floppy fd0...???
- Message-ID: <1992Nov11.151729.5641@den.mmc.com>
- Originator: hobbes@spacemanspiff.den.mmc.com
- Sender: news@den.mmc.com (News)
- Nntp-Posting-Host: spacemanspiff.den.mmc.com
- Organization: Denver, Colorado
- Date: Wed, 11 Nov 1992 15:17:29 GMT
- Lines: 65
-
-
- Hello, all. I managed to pull a bunch of old files off of an old
- backup tape, overwriting a bunch of system files in the process.
- Inspection of the damage revealed that it was probably a couple
- hundred files involved, and as I was rebuilding the system for a
- new X server, I thought it would be faster to try out my crash
- recovery floppies and reload a recent system from tape.
-
- So i booted off a boot floppy, inserted the INSTALL disk (made my own -
- not the original one for brand new systems), mounted / and /usr
- to /mnt and /mnt/usr, respectively, erased the disk (rm -rf /mnt/usr,
- rm -rf /mnt), and then cpio'd the most recent system in from tape.
-
- Well, that backup didn't get the /dev directory :-(, so i used the
- /dev on the INSTALL diskette as a guide and mknod'd a minimum number
- of devices by hand in /mnt/dev (i.e. the /dev on the hard disk). Anyways,
- I rebooted the system, but when the screen cleared after the "Booting the
- Interactive UNIX Operating System" message, and it started going through
- all of its boot messages, it gave me this one:
-
- fd0: not present - please insert
-
- and if i did nothing, it kept insisting:
-
- fd0: not present - please insert
- fd0: not present - please insert
- fd0: not present - please insert
- fd0: not present - please insert
- etc...
-
- until i put in an INSTALL diskette. Now, I had seen this problem one
- time before when I tried to repartition/rebuild my system (removed
- messy dos to gain 40MB) by hand. After hours of frustration, I finally
- got it to boot correctly, but I didn't then, and still don't know now
- what caused the above behavior (insistence on inserting a floppy in drive 0
- upon system boot).
-
- Does anyone know what causes the aforementioned behavior? My hunch is that
- when i ran mknod by hand to construct the non-existent devices, i created
- /dev/root or some similar device needed during boot, and that the major
- and minor device numbers told the boot sequence that it needed a floppy...
- The reason I suggest this as the reason is, that once i booted the system
- (after inserting the floppy), i took another backup tape and successfully
- restored /dev. Now the machine boots fine!
-
- Also, does anyone know what the following command does?
-
- init switchroot
-
- This command is present in the script that is run when one boots off of
- the original ISC INSTALL diskette. I thought it had something to do
- with switching /mnt to / and / to /mnt (i.e. switch the system to the
- hard disk)... but I don't think i had any success running this from the
- command line when I used my own crash recovery INSTALL diskette...
- Does 'init switchroot' only work from inside a shell script?
-
- Any light anyone can shed on this would greatly be appreciated...
-
- Steve Camp
- hobbes@spacemanspiff.den.mmc.com
- --
-
- Steve Camp
- (303)971-4379
- hobbes@spacemanspiff.den.mmc.com
-