home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 9882 < prev    next >
Encoding:
Text File  |  1992-09-07  |  10.3 KB  |  277 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!primerd.prime.com!tiger1.prime.com!cummings
  3. From: cummings@tiger1.prime.com (Kevin J. Cummings)
  4. Subject: Re: linux install experience, newbie question, and not so newbie question
  5. Message-ID: <1992Sep4.164943@tiger1.prime.com>
  6. Keywords: FAQ, install, gcc
  7. Sender: usenet@primerd.prime.com (Usenet)
  8. Organization: Prime Computer, Inc.
  9. References:  <1992Sep4.194304.10830@indetech.com>
  10. Date: Fri, 4 Sep 1992 20:49:43 GMT
  11. Lines: 264
  12.  
  13. In article <1992Sep4.194304.10830@indetech.com>, yan@indetech.com () writes:
  14. > Sorry the first post didn't get out, saved to the wrong place.
  15. > [long post]
  16. > I am a newbie installing linux. Below are my experience, questions, etc.
  17. > The experience may help another newbie; Also if you got an answer to my
  18. > question please let me know.
  19. > Hardware:
  20. > 386-40 + hd +4mb:
  21. > 40m dos
  22. > 20m extended dos
  23. > 24m not used
  24. > 40m linux
  25. > VGA+Trident --> Question: do I have no hope for X?
  26.  
  27. If you read this group diligently, you;d know that a Trident 8900 driver
  28. is in ALPHA test.  If you have a Trident 8800 board, I beleive you are SOL.
  29.  
  30. > Software:
  31. > .97 boot
  32. > .97p1 root
  33.  
  34. Grrr   That's 97.1 root.
  35.  
  36. > Disk 3 to 10 of SLS package. tar'd to 3 inch floppies.
  37. > GCC 2.2.2d stuff.
  38. > Question: can some one tell me in brief why I want .97 rather than .96,
  39. > and in what level things are incompatible?
  40.  
  41. GCC 2.2.2d won't run under 0.97 or before.  You need to run it under 0.97-pl1
  42. or better kernel.  For the other changes, look for the RELEASE NOTES for
  43. the 0.97 releases (I'm not promising they are available, but they should be).
  44.  
  45. > This installation is used primarily for someone to learn C programming
  46. > on unix systems.
  47. > Install experience and problems:
  48. > 1. Dos partition the disk. (fdisk). one primary 40m, one extended 20m
  49. > which has D: drive on it. (I have 130m total)
  50. > 2. Boot 0.97 then 0.97p1 root floppy
  51. > 3. Install on hard disk, /dev/hda4, 40m. no swap no user
  52. > Question here: if I make the /dev/hda4 active, then DOS won't boot on C:
  53. > saying that illegal partition table entry or some such. Apparently only
  54. > one active partition is allowed in DOS. This is not covered in the FAQ.
  55.  
  56. Your "active" partition is the one in which the system reads the boot sector
  57. from (after reading in the partition table of course).  It is primarily for
  58. MS-DOS or OS/2 style systems.  LINUX tends to use other (more than one) method
  59. of booting off the hard disk.  Of course only one partition can be active at a
  60. time.  The boot software assume that you want to boot the active partition.
  61. If you overwrite the boot sector of your hard drive with the LINUX boot image
  62. (which doesn't fit in the space allowed for the boot sector anyways) you would
  63. most likely llose you ability to boot DOS.  I use the BOOTLIN/BOOT142 combination
  64. of boot managers.  Others use LILO or SHOELACE.  Some patch the boot floppy to
  65. use the hard drive as root partition but boot the kernel from the boot floppy.
  66. To each their own.
  67.  
  68. > 4. go back to DOS, fix the bood disk, boot to hard drive.
  69. > 5. tar SLS package
  70. > 6. Question: found that all my /dev/*fd* entries are changed!!.
  71. > /dev/fd{0 1} use to have major minor of 2 0 or some such, now they are 0
  72. > 0. Am I doing things wrong or is this the change between two versions?
  73.  
  74. devices don't change major numbers like that between versions.  Something else must
  75. be wrong.
  76.  
  77. > 6. go back to 0.97p1 root floppy and do install again, this correct the
  78. > /dev/fd* stuff. (just get the root dir files)
  79. > 8. Now I have a 0.97 boot imag, with some 0.97p1 binaries + files, plus
  80. > whatever the rest come from SLS which is .96
  81. > Question -- am I in trouble? I really liked to have newer stuff, but I
  82. > should probably have used all 0.96 stuff, given that the system is used
  83. > for learning C programming on UNIX.
  84.  
  85. Your 0.97.1 root disk will work just fine with the 0.97 boot image.
  86.  
  87. You should instead be wondering about getting the 0.97-pl1 or better kernel so
  88. GCC will work after you have installed it.  Actually, GCC will run under 0.96
  89. (patchlevel something or other or better), but the code it produces will only
  90. work right under 0.97-pl1 or better kernels.  I guess it's best to be clear
  91. about this if you want to test out the code GCC generated!
  92.  
  93. > Question 2 -- I only found that ps didn't work, where can I find a
  94. > better ps binary?
  95.  
  96. Somewhere on your favorite archive site!  Each archive site is set up slightly
  97. differently, though many just mirrors others.
  98.  
  99. > Question 3 -- how can I make vi not insert blanks? get the .96 termcap
  100. > file?
  101.  
  102. Can't help here, I'm and EMACS man myself.
  103.  
  104. > Extended Install
  105. > 9. get 0.97 source and install
  106. > 10. patch <.97p1.patch or some. Got whole bunch of "hunt" failures, some
  107. > message complaining about that "this looks like new style diff to me" or
  108. > some such. Remember that I probably have .96's patch command, am I ok at
  109. > this point?
  110.  
  111. Probably better to do as  patch -c < patchfile.   The -c suppresses the "looks
  112. like a new style diff" message by forcing patch to assume these are context
  113. diffs.  0.96's patch should work just fine in this regard.
  114.  
  115. > 11. patch <.97p2.patch, same as above, but it even ask me why I am
  116. > reversing the patch done above! I just asked it to go ahead.
  117.  
  118. Huh?  
  119.  
  120. > 12. Question -- what have I got? 0.97 p2 source? really messed up 0.97
  121. > source?
  122.  
  123. I don't know.  What files did you get, and WHERE/WHEN did you get them???
  124.  
  125. > 13. I forgot if I installed the .97p1inc that came from gcc2.2.2d or
  126. > not, anyway I have it.
  127.  
  128. Install it when you install GCC.
  129.  
  130. > 14. Tested that gcc from SLS works
  131.  
  132. Well, you've got a starting point.
  133.   
  134. > Problems with SLS
  135. > 15. as stated by other posters:  /tmp has wrong permissions, so is
  136. > /dev/*fd* which is not writeable by other users, causing mtools to fail.
  137.  
  138. What ARE the permissions on /dev/*fd*????  I beleive the powers that be
  139. decided that user root and group disk should be the only ones with write
  140. access to the disk devices.  You get around this by making the mtools
  141. programs sgid to group disk.  I beleive a similar thing was done to the tty
  142. devices makeing them owned by user root and group tty.  Communications
  143. programs (like kermit and ka9q) which need to open tty devices should be
  144. sgid tty.
  145.  
  146. > emacs is missing a link from /usr/local/emacs to /usr/emacs ( path may
  147. > be wrong I don't remember).
  148. > Install GCC2.2.2d
  149. > Question -- what is the difference, overall, between the gcc that's in
  150. > SLS (2.2.2) and the 2.2.2d version? yes I can read the release note but
  151. > I simply don't understand what is a jump table, let alone some change to
  152. > it.
  153.  
  154. I thought there were more changes than just the jump table support.
  155.  
  156. > 16. Did as readme said, the gcc set of files are from a dos disk, and the
  157. > name is really messed up, I have to restore them one by one as best as I
  158. > could
  159. > 17. install.2.x
  160. > went through remarkably without major problems, as much as I can tell.
  161. > 18. tested gcc works, this is the 2.2.2d gcc. Also, as this point I
  162. > found out that my disk has much more files than before the gcc install.
  163.  
  164. Yeup.
  165.  
  166. > 19. emacs complain that libx11.blah isn't found
  167.  
  168. You have a newer version of emacs.  There were a few suggested fixes for this.
  169. One was to get the library and install it (you'll do this if you ever install
  170. X from the SLS distribution).  Another was to invoke emacs with the -nw option,
  171. a third was to unset your DISPLAY environment variable.  I don't know if the
  172. third method will work or not.
  173.  
  174. > 20. ln -s /lib/lib.so.2blah /lib/libX11.blah
  175. > 21 emacs runs fine (remember I have to do a link from /usr/local/emacs
  176. > to somewhere)
  177. > Now I am in trouble, people with more experience please help me, 
  178. > 22. after a while, gcc would never work, gcc -v would produce an error:
  179. > can't load /lib/lib.so.2blah, 
  180. > Version mismatch (or something like this)
  181. > Is this somehow related to the stupid step 20? It worked for a while
  182. > (gcc), then won't anymore
  183.  
  184. Shouldn't be.  Step 20 only created a symbolic link from the X11 library to your
  185. lib.so library.  That should have had no effect on GCC being able to run.  You
  186. might very well be suffering from the bleeding memory bug that Linus produced
  187. a patch for.  (All the more reason to be sure your running 0.97-pl1.)
  188.  
  189. > 23. reinstall of gcc from SLS would not help, gave me the same error
  190.  
  191. What about a cold start of the machine.  Halt it using shutdown now.
  192. reboot it.  Does GCC work again.  If not, you've done something to your disk.
  193. (improper machine halt without syncing first?)
  194.  
  195. > 24. blow away everything, repeat the install again, but forget GCC2.2.2d
  196. > 25. this time I am smart, I copied some /lib/libc.2.2.2 to
  197. > /lib/libX11.blah, rather than doing a link.
  198. > 26. I never dared to install GCC2.2.2d again
  199. > Anyway it took me a while, but linux is a great system overall. 
  200. > But I think that in the FAQ, we should have an entry to help out the
  201. > newbies (non testers who probably want to get a stable system to use,
  202. > rather then installing things all day):
  203.  
  204. I guess I can't say this enough.  Even though many great people try and produce
  205. simple to install version of LINUX, LINUX is primarily an OS for the UNIX
  206. experienced, by the Unix experienced, so that they can enjoy themselves.
  207.  
  208. > 0.96 can be had by a SLS package, and is easier to install
  209.  
  210. That was SLS's intent.
  211.  
  212. > 0.97px is better than 0.96 because xxxx, also xxxx is not compatible
  213. > between the two version.
  214. > you can upgrade from 0.96 to 0.97, by swapping the files xxxx/and
  215. > following the procedure yyyy...
  216. > GCC 2.2.2d is different from SLS/gcc2.2.2(?) because ...., to install at
  217. > your own risk because then your debugger needs to be changed too(?)
  218. > This is a long post, if you read through here, thanks, and if possible,
  219. > let me know if you have answer to any questions.
  220.  
  221. I hope it's been educational.  I know I still have a lot to learn about this
  222. stuff myself.
  223.  
  224. =================================================================
  225. Kevin J. Cummings                       PrimeService
  226. 20 Briarwood Road                       A Computervision Company
  227. Framingham, Mass.                       500 Old Connecticut Path
  228.                     Framingham, Mass.
  229. Work:  cummings@primerd.Prime.COM
  230. Home:  cummings@kjc386.framingham.ma.us
  231.  
  232. Std. Disclaimer: "Mr. McKittrick, after careful consideration,
  233.           I've come to the conclusion that your new
  234.           defense system SUCKS..."   --  War Games
  235. =================================================================
  236.