home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20073 < prev    next >
Encoding:
Text File  |  1992-12-12  |  6.0 KB  |  115 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!anl433!Iain.Lea
  3. From: Iain.Lea@anl433.uucp
  4. Subject: A little linux xmas success story
  5. Message-ID: <1992Dec12.170202.496@anl433.uucp>
  6. Organization: ANL A433, Siemens AG., Germany.
  7. X-Newsreader: TIN [version 1.1 BETA PL9]
  8. Date: Sat, 12 Dec 1992 17:02:02 GMT
  9. Lines: 104
  10.  
  11. The season of goodwill is almost upon us so I thought I would share a 
  12. little something to warm your hearts (sure as hell beats the recent
  13. linux vs. 386bsd BS).
  14.  
  15. I had booked my 3 week xmas break a couple of months ago to avoid any
  16. problems with co-workers and project schedules. All was going well 
  17. until my boss told me that he was thinking of cancelling the first
  18. week of my holiday as certain people needed extra help (and I was the
  19. help that he wanted to give :-(). We discussed the problem and decided
  20. that most of the work could be done off-line (from the target system)
  21. and he arranged a 386SX/2MB/60MB notebook for me over the xmas period.
  22.  
  23. Initial reaction was neat. This was closely followed by (Oh noo!!)
  24. realization that dos&windows was installed which was not going to
  25. help me much as the project was being developed on ISC Unix.
  26.  
  27. I quickly realized that I was going to have to install ISC Unix from 
  28. floppies and pronto as today (friday) was my last workday. So off I
  29. went to the datasafe to get the original disks only to find they had
  30. been checked out by a fellow in another department (sigh). I tracked
  31. him down only to be told "Not a chance mate (said in German) I need
  32. all the disks for the install" to which I answered "Oh does the the
  33. floppy drive hold all the disks at once?". The biggest problem with
  34. Germans is they just don't pick up on sarcastic undertones even when 
  35. said to them in German.
  36.  
  37. Anyway getting back to the thread of this small (?) story. I had about
  38. six hours left to install something more useful than dos or the sinking
  39. feeling that I would have to work another week. A co-worker suggested I
  40. try installing Xenix as it would probably install on such a small box.
  41.  
  42. Checked out the Xenix disks and started installing them. Installed the
  43. base and dev. kit without too many problems. Loaded up my apps. source
  44. and typed make. SPLAT!! said the C compiler. The error messages were
  45. sure as hell enlightening NOT!. I started sifting through a compiler
  46. run to find out the problems (had compiled fine on ISC & SunOS with cc 
  47. and gcc) and even dug into the manuals!. After 3 hours it was a no-go.
  48. Back to square one with one pissed off progammer slowly turning the 
  49. air blue.
  50.  
  51. Just when I thought "Its friday & time is tight (as usual)" an old
  52. friend dropped by our department for an informal visit. He looked 
  53. at the problem, thought all of 5 seconds, opened his case and got 
  54. a box of disks out and said "this is linux - take it & call me in
  55. the morning". With that he left and I thought "what the hell, I'll
  56. give it go". The version he had left me was 0.98Pl1-37 & the SLS.
  57.  
  58. I put the boot a1 in the disk and reset to be quickly greeted by
  59. linux booting from floopy. Everything went fine and I read the
  60. /user/README file a couple of times after inserting the a2 disk.
  61. I used fdisk to make a 60MB linux/minix (type 81) partition. Reset 
  62. the computer and waited... and waited... and waited (snorr-snorr)...
  63.  
  64. I eventually decided to boot with a dos floppy and use the dos
  65. fdisk to look at the partition info. I immediately noticed that 
  66. the linux partition was not active (haha! I thought). I quickly
  67. set it active and reset the notebook. Still would not boot (Hmm...)
  68. After a lot of thought and a warm fuzzy feeling at the front of my 
  69. head I realized a few things:
  70.  
  71. o An active partition is there (as reported by dos & linux before reset)
  72. o The partition uses all the disk leaving zero space for the swap area (gulp)
  73. o Linux will not boot from a normal a2 utilities disk (it was late!)
  74.  
  75. I rebooted with the a1 boot disk, created 55MB primary partition (type 81),
  76. a 5M swap partition (type 82), rebooted & put the a1 boot disk back in.
  77. When I tried to mkfs /dev/hda1 it churned away for a few seconds and then
  78. core dumped. I had heard that linux would install with only 2MB of Ram but
  79. I now had doubts. Anyway I nobbled another 2MB from a friends notebook 
  80. (probably now an ex-friend - sorry Uwe) and installed it.
  81.  
  82. With the 4MB installed I mkfs'ed /dev/hda1, mkswap'ed /dev/hda2 and entered 
  83. 'doinstall /dev/hda1'. From there on it was pretty much 'rock & roll' and I
  84. installed everything except X11 within a short time. The install program was 
  85. pretty smooth after my initial problems.
  86.  
  87. I loaded my apps. source and typed make. I got a stream of errors from gcc
  88. about "linux/types.h not found" or something like that. On further snooping
  89. I found /linux/include/linux (strange place?) and added -I/linux/include to
  90. the CFLAGS define in my Makefile. After that everything went smoothly until
  91. I tried to compile a yacc file. Bison blew up & was pretty secretive about 
  92. why. I eventually ftp'ed a fresh copy from our internal archive and compiled
  93. it. With that everything compiled OK and I now have a working system.  
  94.  
  95. My initial impressions, conclusions or whatever you want to call them follow:
  96.  
  97. o /user/README did not *explicitly* state that I had to put the a1 boot
  98.   disk back in when I reset the computer after making a linux partition.
  99. o It does not *explicitly* state that one has to make a swap area. Both
  100.   this and the above point could do with better documentation.
  101. o Linux may well *run* in 2MB of ram but I needed 4MB to *install* it.
  102. o Bison 1.18 that came with the SLS was broken/corrupted.
  103. o Top dumps after running for a few minutes with 'lseek 402...' error.
  104.  
  105. I am now one happy camper & my co-workers can't believe that I have Unix
  106. installed on such a small notebook. I expect a small queue of people to
  107. be visiting me in January asking me for help in installing Linux.
  108.  
  109. Iain
  110.  
  111. --
  112. NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
  113. SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
  114. PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
  115.