home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6707 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  2.3 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
  2. From: balister@pdsrvr.salem.ge.com (Philip Balister)
  3. Newsgroups: comp.os.linux
  4. Subject: Installing from 0.96c root disk(success)
  5. Message-ID: <1992Jul25.233826.2624@athena.mit.edu>
  6. Date: 25 Jul 92 23:38:26 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Reply-To: balister@pdsrvr.salem.ge.com
  9. Organization: The Internet
  10. Lines: 62
  11.  
  12. Hi,
  13.  
  14. I've been installing my second linux machine from the 0.96c boot/root disks.
  15. I have the machine building the kernel and running X. Along the way I ran
  16. into a few minor problems:
  17.  
  18. 1) After installing the base system from trhe 0.96c root disk I installed
  19. the base and extra X packages. Success!
  20.  
  21. 2) Then I installed Gccv2.2.2. The following utilities are not on the root
  22. disk or the binutils package: ln, find, make, awk, grep. These are used in
  23. the install scripts. (cp --link works but I didn't want to hack the scripts)
  24. Should these be included in the binutils tar, the 0.96c root disk looks
  25. pretty full?
  26.  
  27. 3) The kernel stuff goes OK, excpet when compiling build.c. It looks for
  28. linux/include/fs.h, not around any more. After some research I patched it
  29. to use <sys/sysmacros.h> (The cdiffs follow)
  30.  
  31. Thanks to all working on this system, It is GREAT!
  32.  
  33. Philip Balister
  34. balister@salem.salem.ge.com
  35.  
  36. *** ./build.c    Sat Jul 25 19:13:47 1992
  37. --- ./build.c.old    Tue May 26 12:40:55 1992
  38. ***************
  39. *** 25,31 ****
  40.   #include <stdlib.h>    /* contains exit */
  41.   #include <sys/types.h>    /* unistd.h needs this */
  42.   #include <sys/stat.h>
  43. ! #include <sys/sysmacros.h> 
  44.   #include <unistd.h>    /* contains read/write */
  45.   #include <fcntl.h>
  46.   
  47. --- 25,31 ----
  48.   #include <stdlib.h>    /* contains exit */
  49.   #include <sys/types.h>    /* unistd.h needs this */
  50.   #include <sys/stat.h>
  51. ! #include <linux/fs.h>
  52.   #include <unistd.h>    /* contains read/write */
  53.   #include <fcntl.h>
  54.   
  55. ***************
  56. *** 69,76 ****
  57.                   perror(argv[4]);
  58.                   die("Couldn't stat root device.");
  59.               }
  60. !             major_root = major(sb.st_rdev);
  61. !             minor_root = minor(sb.st_rdev);
  62.           } else {
  63.               major_root = 0;
  64.               minor_root = 0;
  65. --- 69,76 ----
  66.                   perror(argv[4]);
  67.                   die("Couldn't stat root device.");
  68.               }
  69. !             major_root = MAJOR(sb.st_rdev);
  70. !             minor_root = MINOR(sb.st_rdev);
  71.           } else {
  72.               major_root = 0;
  73.               minor_root = 0;
  74.