Article View: comp.sys.sun
Article #6546How do you make a bootable floppy?
From: sld
Date: Wed, 16 Jan 1991 05:02
Date: Wed, 16 Jan 1991 05:02
51 lines
2538 bytes
2538 bytes
Is it possible (without enormous pain) to make a bootable floppy for a
SPARCstation or a 386i? We have about 20 386i's and in the course of a
week we have knocked out three of them so that root login is not allowed
(some NIS problem). Since we're tired of reloading the system from tape
we thought it would be nice to break in with a bootable floppy.
The software support person at Sun wanted nothing to do with this
neferious procedure and refused to provide any help citing some sort of
copyright violation (the act of copying /boot to a floppy). Since we're
tired of reloading the system and feel that we have every right to break
in to our own property we're going to the net for assistance.
Here is the procedure we have tried:
1. fdformat (fdformat knows to use /dev/rfd0c)
2. newfs /dev/rfd0c (or mkfs for 4.0.2 since newfs is broken)
3. mount /dev/fd0c /mount-point (/mount-point is of your choosing)
4. cp /boot /mount-point
5. /usr/mdec/installboot /mount-point/boot /usr/mdec/bootfd /dev/rfd0c
6. cp /vmunix /mount-point (or use a cut down kernel)
7. cp /etc/mount /mount-point
8. cp /etc/fsck /mount-point (if it will fit)
This seems to make an almost booting floppy that reads the kernel file and
starts most of the device drivers. On a SPARCstation the process dies
with the following messages:
fd0: read failed (40 10 0)
fd0: data overrun/underrun
panic: vfs_mountroot cannot mount root
and on the 386i it crashes a few device drivers later with:
can't invoke /usr/bin/init error 2
panic: writing all file system information
xxxx pages left fddump: not implemented
fddump: not implemented
fddump: not implemented
fddump: not implemented
fddump: not implemented
fddump: not implemented
fddump: not implemented
xxxx pages left fddump: not implemented
.
.
.
Thanks in advance, any help will be greatly appreciated.
StSteven L. Davis Internet: sld@beach.cis.ufl.edu
UUCP: ...gatech!uflorida!beach.cis.ufl.edu!sld
Technical Details
Message-ID:
<1289@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: sld@beach.cis.ufl.edu Newsgroups: comp.sys.sun Subject: How do you make a bootable floppy? Keywords: Miscellaneous Message-ID: <1289@brchh104.bnr.ca> Date: 16 Jan 91 05:02:43 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 51 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 10, Issue 23, message 5 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu