home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.3b1
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsc!looney!cmv
- From: cmv@looney.att.com (Craig M. Votava)
- Subject: Re: Potential kernel mods...
- Organization: AT&T Bell Laboratories
- Distribution: usa
- Date: Sun, 23 Aug 1992 04:44:46 GMT
- Message-ID: <1992Aug23.044446.10281@cbnewsc.cb.att.com>
- References: <1992Aug17.162950.883@uts.cc.wayne.edu> <1992Aug18.021335.391@ceilidh.beartrack.com> <1992Aug18.170421.8951@squid.tram.com> <1992Aug19.180032.26153@news2.cis.umn.edu>
- Sender: news@cbnewsc.cb.att.com (NetNews Administrator)
- Nntp-Posting-Host: looney.ih.att.com
- Lines: 40
-
- In article <1992Aug19.180032.26153@news2.cis.umn.edu>, scott@pascal.geom.umn.edu (Scott S. Bertilson) writes:
- |>
- |> Well, last night I compared my hard drive UNIX3.51 with my floppy
- |> boot "unix" and they are absolutely identical. This implies that
- |> the boot has some mechanism whereby it can pass the boot device
- |> along to the kernel for it to patch into "{root,pipe,swap}dev".
- |> This is not an uncommon practice and is quite a reasonable
- |> thing to expect from the super hackers at Convergent who
- |> built this version of UNIX.
- |> --
-
- Actually, I did some work with this stuff about 2.5 years ago (wow!) and here's
- what I remember:
-
- As you all know, the EPROM boot code reads the loader off of the hard disk,
- from a fixed place. The verbose loader can ask you if you want to boot off of
- the floppy or hard disk. Even though it makes sense that this information
- should be used by the unix program that the loader starts up (it is actually
- stored in memory for unix, but unix simply ignores it) that assumption is
- incorrect.
-
- Scotts comment is correct, the floppy and hard versions of unix are the
- same. When unix wakes up, the first thing it does is to look at the file
- name of the device it was read off of. If it's the floppy, then the kernel
- prints out the "Put in the floppy filesystem disk" message (and so on)
- otherwize it assumes a hard disk, and boots normally.
-
- I actually did modify things so that the loader would ask you what drive
- to boot unix off of (floppy HD1 or HD2) and then unix would use the info
- from the loader to boot the machine. I got this to work, but never did
- anything with it.
-
- Cheers...
-
- -Craig
-
-
- ()_() Craig Votava
- (_) AT&T Bell Labs
- cmv@looney.att.com
-