home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
- From: balister@pdsrvr.salem.ge.com (Philip Balister)
- Newsgroups: comp.os.linux
- Subject: Installing from 0.96c root disk(success)
- Message-ID: <1992Jul25.233826.2624@athena.mit.edu>
- Date: 25 Jul 92 23:38:26 GMT
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: balister@pdsrvr.salem.ge.com
- Organization: The Internet
- Lines: 62
-
- Hi,
-
- I've been installing my second linux machine from the 0.96c boot/root disks.
- I have the machine building the kernel and running X. Along the way I ran
- into a few minor problems:
-
- 1) After installing the base system from trhe 0.96c root disk I installed
- the base and extra X packages. Success!
-
- 2) Then I installed Gccv2.2.2. The following utilities are not on the root
- disk or the binutils package: ln, find, make, awk, grep. These are used in
- the install scripts. (cp --link works but I didn't want to hack the scripts)
- Should these be included in the binutils tar, the 0.96c root disk looks
- pretty full?
-
- 3) The kernel stuff goes OK, excpet when compiling build.c. It looks for
- linux/include/fs.h, not around any more. After some research I patched it
- to use <sys/sysmacros.h> (The cdiffs follow)
-
- Thanks to all working on this system, It is GREAT!
-
- Philip Balister
- balister@salem.salem.ge.com
-
- *** ./build.c Sat Jul 25 19:13:47 1992
- --- ./build.c.old Tue May 26 12:40:55 1992
- ***************
- *** 25,31 ****
- #include <stdlib.h> /* contains exit */
- #include <sys/types.h> /* unistd.h needs this */
- #include <sys/stat.h>
- ! #include <sys/sysmacros.h>
- #include <unistd.h> /* contains read/write */
- #include <fcntl.h>
-
- --- 25,31 ----
- #include <stdlib.h> /* contains exit */
- #include <sys/types.h> /* unistd.h needs this */
- #include <sys/stat.h>
- ! #include <linux/fs.h>
- #include <unistd.h> /* contains read/write */
- #include <fcntl.h>
-
- ***************
- *** 69,76 ****
- perror(argv[4]);
- die("Couldn't stat root device.");
- }
- ! major_root = major(sb.st_rdev);
- ! minor_root = minor(sb.st_rdev);
- } else {
- major_root = 0;
- minor_root = 0;
- --- 69,76 ----
- perror(argv[4]);
- die("Couldn't stat root device.");
- }
- ! major_root = MAJOR(sb.st_rdev);
- ! minor_root = MINOR(sb.st_rdev);
- } else {
- major_root = 0;
- minor_root = 0;
-