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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!indetech!yan
  3. From: yan@indetech.com ()
  4. Subject: Re: linux install experience, newbie questions
  5. Message-ID: <1992Sep8.172348.12081@indetech.com>
  6. Sender: yan@indetech.com (XuDong Yan)
  7. Organization: Independence Technologies, Inc. Fremont, CA
  8. Date: Tue, 8 Sep 1992 17:23:48 GMT
  9. Lines: 232
  10.  
  11. Posted as requested by the following email:
  12.  
  13. From uunet!cdf.toronto.edu!g1krakow Sat Sep  5 02:13:46 1992
  14. In article <1992Sep4.194304.10830@indetech.com> you write:
  15. >
  16. >Sorry the first post didn't get out, saved to the wrong place.
  17. >
  18. >[long post]
  19. >
  20. >I am a newbie installing linux. Below are my experience, questions, etc.
  21. >
  22. >The experience may help another newbie; Also if you got an answer to my
  23. >question please let me know.
  24. >
  25. >Hardware:
  26. >
  27. >386-40 + hd +4mb:
  28. >
  29. >40m dos
  30. >20m extended dos
  31. >24m not used
  32. >40m linux
  33. >
  34. >VGA+Trident --> Question: do I have no hope for X?
  35. >
  36. >Software:
  37. >
  38. >.97 boot
  39. >.97p1 root
  40. >
  41. >Disk 3 to 10 of SLS package. tar'd to 3 inch floppies.
  42. >
  43. >GCC 2.2.2d stuff.
  44. >
  45. >Question: can some one tell me in brief why I want .97 rather than .96,
  46. >and in what level things are incompatible?
  47. >
  48. >This installation is used primarily for someone to learn C programming
  49. >on unix systems.
  50. >
  51. You don't. I have been running .96 patch 2 for quite a while and wuold
  52. be still running it were it not for X server for ATI which requires 
  53. GCC 2.2.2d which, in turn requires .97pl1.
  54. I believe SLS comes as cross-section at .96 Get all SLS disks
  55. and proceed with install. Said to be easy. (ie you dont need .97root and boot
  56. disks. SLS package comes with it.)
  57. >Install experience and problems:
  58. >
  59. >1. Dos partition the disk. (fdisk). one primary 40m, one extended 20m
  60. >which has D: drive on it. (I have 130m total)
  61. >
  62. >2. Boot 0.97 then 0.97p1 root floppy
  63. >3. Install on hard disk, /dev/hda4, 40m. no swap no user
  64. >
  65. >Question here: if I make the /dev/hda4 active, then DOS won't boot on C:
  66. >saying that illegal partition table entry or some such. Apparently only
  67. >one active partition is allowed in DOS. This is not covered in the FAQ.
  68. Why should you make it an active partition. Unless you want to boot from
  69. hardrive - in which case you need special programs (included in SLS??)-leave
  70. your DOS part active. I have been using Linux for 5 months now
  71. and stiil boot from floppy. I simply do not see need for booting from
  72. HD. 10 sec difference, and UNIX is not DOS. It doesn't hang up (ussually)
  73. and is meant to be up for months.
  74. >
  75. >4. go back to DOS, fix the bood disk, boot to hard drive.
  76. >
  77. >5. tar SLS package
  78. >
  79. >6. Question: found that all my /dev/*fd* entries are changed!!.
  80. >/dev/fd{0 1} use to have major minor of 2 0 or some such, now they are 0
  81. >0. Am I doing things wrong or is this the change between two versions?
  82. >
  83. >6. go back to 0.97p1 root floppy and do install again, this correct the
  84. >/dev/fd* stuff. (just get the root dir files)
  85. >
  86. >8. Now I have a 0.97 boot imag, with some 0.97p1 binaries + files, plus
  87. >whatever the rest come from SLS which is .96
  88. >
  89. >Question -- am I in trouble? I really liked to have newer stuff, but I
  90. >should probably have used all 0.96 stuff, given that the system is used
  91. >for learning C programming on UNIX.
  92. YES! You should use it all as SLS package comes. I think there is no need
  93. for .97 unless
  94.     1) You are a OS hacker .
  95.     2) You need new stuff from .97 (dynamic cache, TCP/IP, or other as 
  96.         I did)
  97.     3) If you really need it get FULL SLS installed first. Then get kernel
  98.         sources and compile it yourself. It is easy - thanx to Linus 
  99.             and H.J. Lu.
  100.  
  101. >
  102. >Question 2 -- I only found that ps didn't work, where can I find a
  103. >better ps binary?
  104. Ha! 'ps' is one of those programs you need to recompile it with every new
  105. kernel you install. For really different kernels (with memory accsess
  106. changed) you need to change the ps source. You have ps from .96 and .97 kernel.
  107. You need new ps package (includes w,free,tload,top) for .97 and need to recomp
  108. ile it. So my advise: stick with full SLS.
  109. >
  110. >Question 3 -- how can I make vi not insert blanks? get the .96 termcap
  111. >file?
  112. >
  113. >Extended Install
  114. >
  115. >9. get 0.97 source and install
  116. >10. patch <.97p1.patch or some. Got whole bunch of "hunt" failures, some
  117. >message complaining about that "this looks like new style diff to me" or
  118. >some such. Remember that I probably have .96's patch command, am I ok at
  119. >this point?
  120. yeah. If patch went with no errors (ie finished) you probably OK.
  121. Patch hasn't change much.
  122. You still can check it manually. diffs files are easy to understand.
  123. >
  124. >11. patch <.97p2.patch, same as above, but it even ask me why I am
  125. >reversing the patch done above! I just asked it to go ahead.
  126. >
  127. >12. Question -- what have I got? 0.97 p2 source? really messed up 0.97
  128. >source?
  129. >
  130. >13. I forgot if I installed the .97p1inc that came from gcc2.2.2d or
  131. >not, anyway I have it.
  132. >
  133. >14. Tested that gcc from SLS works
  134. >
  135. >
  136. >
  137. >Problems with SLS
  138. >
  139. >15. as stated by other posters:  /tmp has wrong permissions, so is
  140. >/dev/*fd* which is not writeable by other users, causing mtools to fail.
  141. >emacs is missing a link from /usr/local/emacs to /usr/emacs ( path may
  142. >be wrong I don't remember).
  143. >
  144. >Install GCC2.2.2d
  145. >
  146. >Question -- what is the difference, overall, between the gcc that's in
  147. >SLS (2.2.2) and the 2.2.2d version? yes I can read the release note but
  148. >I simply don't understand what is a jump table, let alone some change to
  149. >it.
  150. Jump table is (for my common no-C wizard understandingh) a neat think
  151. which let you use programs compiled with shared libraries (loadable at
  152. execution time to save disk space)  even if you change those libraries.
  153. That is big difference between 2.2.2 and 2.2.2d. But it is said
  154. that for gcc 3.0 you will still need to recompile the programs with shared.
  155. So go figure ...
  156. >
  157. >16. Did as readme said, the gcc set of files are from a dos disk, and the
  158. >name is really messed up, I have to restore them one by one as best as I
  159. >could
  160. >
  161. >17. install.2.x
  162. >
  163. >went through remarkably without major problems, as much as I can tell.
  164. >
  165. >18. tested gcc works, this is the 2.2.2d gcc. Also, as this point I
  166. >found out that my disk has much more files than before the gcc install.
  167. >
  168. >19. emacs complain that libx11.blah isn't found
  169. >
  170. >20. ln -s /lib/lib.so.2blah /lib/libX11.blah
  171. >
  172. >21 emacs runs fine (remember I have to do a link from /usr/local/emacs
  173. >to somewhere)
  174. Yeah, I don't have emacs but I know it needs X11 stuff. And since it was
  175. compiled with 2.2.2 it needs it in that specific place. This is not jump
  176. table stuff. With jump table you have one library and all ver can use it.
  177. >
  178. >
  179. >Now I am in trouble, people with more experience please help me, 
  180. >
  181. >22. after a while, gcc would never work, gcc -v would produce an error:
  182. >
  183. >can't load /lib/lib.so.2blah, 
  184. >Version mismatch (or something like this)
  185. >
  186. >Is this somehow related to the stupid step 20? It worked for a while
  187. >(gcc), then won't anymore
  188. >
  189. Wow, I dont know (link shouldn't hurt, seems it did ???)
  190. >
  191. >23. reinstall of gcc from SLS would not help, gave me the same error
  192. >
  193. >24. blow away everything, repeat the install again, but forget GCC2.2.2d
  194. >
  195. >25. this time I am smart, I copied some /lib/libc.2.2.2 to
  196. >/lib/libX11.blah, rather than doing a link.
  197. >
  198. >26. I never dared to install GCC2.2.2d again
  199. >
  200. >
  201. >Anyway it took me a while, but linux is a great system overall. 
  202. >
  203. >But I think that in the FAQ, we should have an entry to help out the
  204. >newbies (non testers who probably want to get a stable system to use,
  205. >rather then installing things all day):
  206. >
  207. >0.96 can be had by a SLS package, and is easier to install
  208. >
  209. >0.97px is better than 0.96 because xxxx, also xxxx is not compatible
  210. >between the two version.
  211. >
  212. >you can upgrade from 0.96 to 0.97, by swapping the files xxxx/and
  213. >following the procedure yyyy...
  214. >
  215. >GCC 2.2.2d is different from SLS/gcc2.2.2(?) because ...., to install at
  216. >your own risk because then your debugger needs to be changed too(?)
  217. >
  218.  Yes but who is going to do it? Try yourself. Once you get it all working,
  219. post FAQ and your answers to the net, to verify it is OK, then apply then to
  220. FAQ. Remember:do not complain! Linux is a product of good will of people
  221. most of whom are real proffesionals! If you want their help, be polite
  222. and prepare to contribute something yourself.
  223. Ok sorry, you have been polite, but just in case. There has been many
  224. complaining in that group, and it is just not fair to all those hackers
  225. thanks to whom we have Linux and they deserve more, much more that complaining.
  226. >
  227. >This is a long post, if you read through here, thanks, and if possible,
  228. >let me know if you have answer to any questions.
  229. >
  230. >Xudong
  231.  
  232.  
  233. Hope that helps. Also, could you please post it as I lost my net write access
  234. and think this should be of help to others
  235.  
  236.                 Rafal
  237. -- 
  238. /|| Numbers exist only in our minds. There is no physical entity that
  239.  ||_is_ number 1. If there were, 1 would be in a place of honor in 
  240.  || some great museum of science, and past it would file a steady
  241. ==== stream of mathematicians gazing at 1 in wonder and awe.
  242.  
  243.