home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16983 < prev    next >
Encoding:
Text File  |  1992-11-17  |  17.6 KB  |  387 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!wupost!gumby!destroyer!cs.ubc.ca!news.UVic.CA!sanjuan!pmacdona
  3. From: pmacdona@sanjuan (Peter MacDonald)
  4. Subject: SLS update
  5. Message-ID: <1992Nov17.182124.3273@sol.UVic.CA>
  6. Sender: news@sol.UVic.CA
  7. Nntp-Posting-Host: sanjuan.uvic.ca
  8. Organization: University of Victoria, Victoria, BC, CANADA
  9. Date: Tue, 17 Nov 92 18:21:24 GMT
  10. Lines: 375
  11.  
  12. Here it is:
  13.  
  14. Peter
  15. pmacdona@sanjuan.uvic.ca
  16. -----------------------------------------------------------------------
  17.  
  18.         FAQ AND LATEST UPGRADE NOTICE
  19. -----------------------------------------------------------------
  20. The latest upgrade of SLS is now available.  Primarily this is an 
  21. upgrade to .98p5, but also fixes a number of configuration and 
  22. permission problems as well as replacing a few broken binaries.
  23. TCP/IP is also now compiled in the kernel, by default.
  24. Patch level 5 was chosen because PL 4 needed a pretty large patch
  25. which never became official, to fix a partition swapping bug.
  26. Apparently, PL 5 breaks some binaries.  The only one in SLS that
  27. I have seen a problem with is "sc" the text spreadsheet.  But
  28. since that is an old version that I don't like and want to replace,
  29. I am proceeding.  Also, this will allow others to help locate
  30. any other problem areas.  So, make sure you keep a copy of the
  31. previous kernel.
  32.  
  33. I also had to add a couple of disks.  Disk "a5" gives the base
  34. distribution a little more room.  And disk "x8" is to take
  35. the "IV" images for "doc" and "idraw". 
  36.  
  37.  
  38. Here is the excerpt form the HISTORY file:
  39.  
  40. > 921113: z?fix.taz: Get all the z?fix.taz files: fix more permissions,
  41. >     replace shutdown and put them all in /usr/bin, rm /usr/bin/lilo
  42. >     add real yacc, a man that uses the new fstat, a working xlock,
  43. >     fix the X11 fonts (speedo not compressed, misc and 75dpi are).
  44. >     b2/emacs.taz: New version of emacs for 98p4+ with NR_FILES=255.
  45. >     b2/lilo.taz: the real lilo, version 5.  Look in /usr/src/lilo.
  46. >     b5/man2.taz: section 2 manpages + a new whatis ~300 lines long.
  47. >     x8/*: New IV images idraw and doc. Works, but slow if no 387.
  48. >    a1: New boot disk for 98p5, new sysinstall lets mount /usr, etc.
  49. >    a2: New root disk for 98p5, new /Image with TCP/IP, ps/top/free.
  50. >    b4/lx98p5.taz: Source for kernel.
  51.  
  52.  
  53. Note that this version of SLS has a kernel patch, /usr/src/ramvga.cdif, 
  54. which, among other things, allows the setting of the default bootup 
  55. video-mode, without recompiling, using the "rdev -s" command.  See
  56. the FAQ, or use "rdev -help" for more details.  The source for this 
  57. modified rdev.c is included in /usr/src.
  58.  
  59. There were a number of problems with the SLS 98p1 that are hopefully solved.
  60. One such was the X11 fonts.  The new X server allowed compressed fonts, and
  61. when I initially released it, I just tar/compressed the already compressed
  62. fonts, which caused them to grow by 25-40%.  Yuck.   This meant some of
  63. the 'x' series disks were unnecessarily full.  This was unacceptable for
  64. Softlanding, who distributes SLS and requires reasonable disk usage.
  65. Eventually, I wrote a script which would compress them upon install.
  66. But I ran into troubles.  So now they should be fixed, and you should
  67. note that only the misc and 75dpi fonts should be compressed.  One 
  68. consequence of this is that sysinstall now also handles plain .tar files
  69. as well as .taz files.  But a new side effect is the "/users/*.tar not
  70. found" message.  Just ignore it.
  71.  
  72. Also note that in the interest of preventing ftp storms, the version of
  73. SLS that appears on the internet, is not quite the same as the version
  74. distributed by Softlanding.   Softlanding regularly gets a whole new
  75. version which has the changes integrated.   But the updates to the
  76. Internet version are tailored to minimize the amount that has to
  77. be downloaded to become current.  That is why bugs manage to 
  78. creep in on me.  I am not installing and testing the Internet version,
  79. although, functionally, it should be quite close to the Softlanding one.
  80.  
  81. So, why am I telling you this?  After the next period of stability (few
  82. changes to SLS), I will be uploading the Softlanding version of SLS
  83. to tsx-11.mit.edu.  There will be plenty of warning for all to make 
  84. sure that you have synced your SLS to the current one.  After the upload,
  85. some of the file names will have moved or changed disks, and the z?fix.taz
  86. files will be gone.  But you will not need to download this version.  It
  87. is only intended to sync the two, and make administration (read: my life)
  88. a lot easier.
  89.  
  90.  
  91.         SLS FAQ
  92. ------------------------------------------------------------------------------
  93. Q: Why do I get "shell-init failed"?
  94. A: chmod a+rx /
  95.  
  96. Q: Why do I get "can not find fixed font"
  97. A: Look in /usr/lib/X11/fonts.  Do the fonts.dir and fonts.alias = the fonts 
  98.    there?
  99.  
  100. Q: How do I get my C++ program to compile small (ie. without "-static")
  101. A: Use "-nojump", but be aware that it will break when a new shared lib goes in.
  102.  
  103. Q: Why doesn't makewhatis work?  
  104. A: Because the man pages are compressed.
  105.  
  106. Q: Why do is see "magic match failed" on disk a3?
  107. A: Ignore it it is normal.  Sysinstall has to switch from Minix to Dos disks
  108.    at a3.
  109.  
  110. Q: Why do I see "no bmap support" when installing disks?
  111. A: Ignore it it is normal.  Dos disks generate this message when mounted.
  112.  
  113. Q: Why won't the install recognize my disks.
  114. A: Perhaps you have a bad disk, a hardware problem, the download failed or 
  115.    something else.  Some versions of DOS don't seem to like linux.  Try 
  116.    formatting disks on someone elses DOS.  Really, you are on your own here.   
  117.    What I want done, is have the file mounting patches added to a Linux system,
  118.    and then store the Images to SLS, with mountings to also access their 
  119.    contents (someday).  Meanwhile. bon chance.
  120.  
  121. Q: How do I upgrade SLS
  122. A: If from .96, you don't.  You must re-install from scratch.  Otherwise, 
  123.    read the HISTORY file and download just the needed files manually. 
  124.  
  125. Q: What version of X11 does SLS use?
  126. A: XFree 1.0.  Version 1.1 had some reports of strange behaviour, so no-go.
  127.    But, it does use shared libs.
  128.  
  129. Q: Can I install from the Hard drive?
  130. A: Yes.  Even from a Dos HD, but you can't use "doinstall".  It goes like:
  131.    "sysinstall -instsrc /user -instroot /root -all" 
  132.  
  133. Q: How can I set the video-mode automatically when booting?
  134. A: Use "rdev -v /dev/fd0 1" to simulate typing '1', etc. (-1 sets default vga, 
  135.    -3 set ask).  Try "rdev -help" for more info.
  136.  
  137. Q: I have only 2Meg of ram, and don't want TCP/IP in the kernel?
  138. A: copy the boot disk, and then use "rdev -r /dev/fd0 0; rdev /dev/fd0
  139.    /dev/hda2" to use it as your boot disk.  Use the rdev on the HD.
  140.  
  141. Q: How do I get TCP/IP working?
  142. A: In progress.
  143. ------------------------------------------------------------------------------
  144.  
  145.        SLS (SOFTLANDING LINUX SYSTEM)
  146.  
  147.         INTRODUCTION
  148.  
  149. Welcome to release .98p5 of SLS (SoftLanding Linux System).  Linux is a 
  150. free 386 unix like operating system similar to System V, and developed
  151. by Linus Torvalds, plus a few hundred big hearted programmers on the
  152. Internet.   SLS is NOT just an image dump of some ones Unix system.
  153. Instead it is a distribution whose primary purposes are:
  154.  
  155. 0) provide an initial installation program (for the queasy).
  156. 1) utilities compiled to use minimal disk space.
  157. 2) provide a reasonably complete/integrated U*ix system.
  158. 3) provide a means to install and uninstall packages.
  159. 4) permit partial installations for small disk configs.
  160. 5) add a menu driven, extensible system administration.
  161. 6) take the hassle out of collecting and setting up a system.
  162. 7) give non internet users access to Linux.
  163. 8) provide a distribution that can be easily updated.
  164.  
  165. SLS contains 400-500 utilities designed to provide a relatively
  166. complete computer operating system for the sophisticated user. It
  167. includes programs for compression, text processing, communications,
  168. Xwindowing system, program development (Assembler, C, C++, Fortran, 
  169. Pascal, Lisp, and Perl),  mail, spreadsheets, and word-processing.  Also 
  170. supported  are DOS files, a DOS emulator, SCSI, CDROMs, and TCP/IP. A
  171. 387 coprocessor is emulated by the kernel if you don't have one.  Full
  172. source code for the kernel is also provided with SLS.
  173.  
  174. The development environment includes libraries for unix and Xwindows, a
  175. debugger that does full screen (via emacs) with support for core dumps.
  176. Shared libraries make the most miserly use of RAM and disk space. FAQ and
  177. Manual pages document most of the Linux utilities.  SLS requires at least
  178. 9 Meg of disk for the minimal install.  50 Meg or more is required for the
  179. full system (not including TeX or Interviews).  You will need at least 2
  180. Meg of RAM, 4 meg if you want to compile programs, and 8 Meg to run
  181. Xwindows.  Note that sometimes you can get by with less, but usually with
  182. noticeable performance limitations.
  183. ----------------------------------------------------------------------------
  184.  
  185.         INSTALLATION
  186.  
  187. Before you can install Linux on your hard drive, you must partition your
  188. drive, and put a file system on it.  Roughly, this entails:
  189.  
  190.  - Write protect all disks (do or die).
  191.  - Boot Linux from disk a1, mounting the root disk (disk a2).
  192.  - Create a Linux/Minix partition with "fdisk" on your hard drive and reboot.
  193.  - Make a file system on the partition with "mkfs" (or "mkefs", see below).
  194.  - Use "doinstall /dev/PART": PART is your partition (eg "doinstall /dev/hda2"
  195.    or "doinstall /dev/hda2 /dev/hda3 /usr /dev/hdb1 /usr/spool" if you wish to
  196.    have multiple partitions, with say /usr on a different partition.
  197.  
  198. Also "doinstall" will execute the script "doinst.sh" if it is found on PART.
  199. The final step will ask you to put a formatted floppy in the drive so the
  200. BOOT DISK can be prepared for you.  Have one ready ahead of time.  When the
  201. installation is complete, and you reboot from this floppy, you will be using
  202. Linux from your hard drive.   Later, you may wish to play with /usr/src/lilo
  203. to boot from your harddrive.  Note that if you have less than 4 Meg of RAM,
  204. you will need to make and activate a 4 Meg swap partition, prior to installation.
  205. For example, using /dev/hda3 for swap: "mkswap /dev/hda3 4096; swapon /dev/hda3"
  206. Before you begin, however, you may wish to type "menu" and browse the
  207. Instructions sub menu.  But make sure you exit "menu" before you start the
  208. install process.  You can also print files from there using "P", or you can
  209. use "cat README > /dev/lp1" or "cat README > /dev/lp2".
  210.  
  211. Your first task after the base install is done, should be to make backup
  212. copies of all of your disks  (Look in the "User Commands" menu). In fact,
  213. you should make sure all disks are write protected before you start the
  214. installation.  After the install, you can log on as "root".  Later, you may
  215. install interviews with: "sysinstall -series i" Note, although you can use
  216. the Extended FS type, it is not recommended (read as not tested), and is 
  217. subject to change.
  218. ----------------------------------------------------------------------------
  219.  
  220.         EXAMPLE PARTITIONING PROCEDURE
  221.  
  222. ... Put disk a1 in drive A: and reboot computer, then put disk a2 in the
  223. ... floppy drive you will be doing the install from (usually A: as well).
  224.  
  225. /# fdisk
  226.  
  227. Command (m for help): n
  228. Command action
  229.    e   extended
  230.    p   primary partition (1-4)
  231. p
  232. Partition number (1-4): 2
  233. First cylinder (500-977): 500
  234. Last cylinder or +size or +sizeM or +sizeK (500-977): 977
  235.  
  236. Command (m for help): t
  237. Partition number (1-4): 1
  238. Hex code (type L to list codes): 81
  239.  
  240. Command (m for help): v
  241. Command (m for help): p
  242.  
  243. Disk /dev/hda: 5 heads, 17 sectors, 977 cylinders
  244. Units = cylinders of 85 * 512 bytes
  245.  
  246.    Device Boot  Begin   Start     End  Blocks   Id  System
  247. /dev/hda1           1       1     499   20000    4  DOS
  248. /dev/hda2           1       1       7   30000   81  Linux/MINIX
  249.  
  250. Command (m for help): w
  251. reboot now before doing anything else
  252. /#
  253. ...<after the reboot>
  254. /# mkfs /dev/hda2 30000
  255. /# doinstall /dev/hda2
  256. ... Follow prompts, and insert disks as requested, then login as root.
  257. ----------------------------------------------------------------------------
  258.  
  259.         ADDITIONAL SLS INFORMATION
  260.  
  261. A menu interface allows the user to see what commands would be executed if
  262. an option was selected.  Unix newbies who use SLS don't have to always stay
  263. newbies. SLS is a binary mostly distribution (except for the kernel), and is
  264. broken into multiple parts, or series, each of which is denoted by a letter
  265. followed by the disk number as follows:
  266.  
  267.     a1-aN: The minimal base system
  268.     b1-bN: Base system extras, like man pages, emacs etc.
  269.     c1-cN: The compiler(s), gcc/g++/p2c/f2c
  270.     x1-xN: The X-windows distribution
  271.     i1-iN: Interviews (doc and idraw)
  272.     t1-tN: TeX (document processing)
  273.  
  274. This scheme allows new disks to be added to the distribution without
  275. changing the disk numbering.  Also, the sysinstall program doesn't have to
  276. be changed when new disks are added as the last disk is marked by the
  277. presence of the file "install.end".  And when interviews is added, say as
  278. a new series "i", it can be installed with:
  279.  
  280.     sysinstall -series i
  281.  
  282. Highlights of the base are:  gcc/g++, emacs, kermit, elm/mail/uucp, gdb, sc
  283. (spreadsheet), man pages, groff, elvis, zip/zoo/lh and menu.  Highlights of
  284. X are: X, programmers libs, 75 dpi fonts, games (spider, tetris, xvier,
  285. chess, othello, xeyes, etc) and utilities like xmag, xmenu, xcolormap and
  286. ghostscript.  Approximate usage is as follows:
  287.  
  288. Tiny base system:        9 Meg  (Series 'a')
  289. Main base system:       25 Meg  (Series 'a', 'b' and 'c')
  290. Main base system + X11: 45 Meg  (Series 'a', 'b', 'c' and 'x')
  291. ----------------------------------------------------------------------------
  292.  
  293.         LINUX SPECIFIC INFORMATION
  294.  
  295. Linux supports multiple VC's (virtual consoles).  You can switch from one 
  296. to the other using the "LEFT-ALT-FN" keys.  The right ALT key will not work.
  297. The console in linux more or less emulates a VT100.  So you can usually
  298. just use kermit to do your remote logins (even while doing the install :-).
  299. If you have a color monitor, you can even use color using the "setterm"
  300. utility, or just execute the "/etc/startcons" script to have all VC's set
  301. to default values.  If your screen gets garbled, you can use "reset".
  302. Up arrow recalls previous commands.   Use the "man" command to read the
  303. Linux manual pages, and the "man -k X" to list commands with the keyword
  304. "X" in the command description.  The system editor is "vi" but you might
  305. find "joe" easier to learn.
  306.  
  307. Never just power off your Linux system.  Instead type "sync", wait a sec,
  308. then powerdown or reboot.   If your disk gets in trouble (or every
  309. couple of weeks anyways) you may wish to run "fsck -av PART" where PART
  310. is your partition, to try to fix any problems.
  311.  
  312. Dos files can be accessed in one of two ways.  The first uses the mtools
  313. commands (mdir, mcopy, mtype, ...).  The file "/etc/mtools" may need
  314. some tweeking, especially if you use mformat.  The second method is to
  315. mount the dos disk/partition onto a directory.  eg: 
  316.  
  317.     mount -t msdos /dev/fd0 /user
  318.  
  319. Swapping can be set up of size SIZE, to a partition or to a file using:
  320.  
  321.     mkswap file SIZE
  322.     swapon file
  323.  
  324. Linux can be booted without the floppy using /usr/src/lilo.  Important 
  325. directories include:
  326.  
  327. "/etc"        - System configuration information
  328. "/usr/src"    - Miscellaneous packages.
  329. "/usr/X386/*"    - Xwindows stuff
  330. ----------------------------------------------------------------------------
  331.  
  332.         CONFIGURING X-WINDOWS
  333.  
  334. Getting X-windows to run on your PC can sometimes be a bit of a sobering 
  335. experience, mostly because there are so many types of video cards for the PC.  
  336. Linux X11 supports only VGA type video cards, but there are so many types of 
  337. VGA's that only certain ones are fully supported.  SLS comes with two Xwindows 
  338. servers.  The full color one, X386, supports some or all ET300, ET400, PVGA1,
  339. GVGA, Trident, and ATI plus.  Others may or may not work.
  340.  
  341. The other server, X386mono, should work with virtually any VGA card, but only 
  342. in monochrome mode.  Accordingly, it also uses less memory, and should be
  343. faster than the color one.  But of course it doesn't look as nice.
  344.  
  345. The bulk of the Xwindows configuration information is stored in the directory
  346. "/usr/X386/lib/X11/".  In particular, the file "Xconfig" defines the timings
  347. for the monitor and the video card.  Setting up the monochrome server is pretty
  348. straightforward.  
  349.  
  350.     cd /usr/X386/bin/ 
  351.     mv -i X386 X386color        # don't overwrite old one
  352.     mv X386mono X386
  353.     cd /usr/X386/lib/X11/
  354.     mv -i Xconfig Xconfig.color    # don't overwrite old one
  355.     mv Xconfig.mono Xconfig
  356.  
  357. Now you just have to edit Xconfig to set the mouse device and type "startx".
  358. Setting up the color server is similar, except that usually, you need to
  359. figure out the clock timings to put in Xconfig.  README.modegen explains
  360. how you can use the spreadsheet to figure out your clock timings based upon
  361. your monitor specifications.  More information can be found in the directory
  362. /usr/X386/lib/X11.  But be prepared to fiddle.
  363. ----------------------------------------------------------------------------
  364.  
  365.         AVAILABILITY
  366.  
  367. SLS is available from the address below for a $3.25/disk US ($4.00/disk 
  368. Canadian) copying charge.  Add $1.00/disk for 3 1/2" disks, and $10.00 for
  369. shipping and handling.  Mail payment, either cheque or money order, 
  370. in advance, to Softlanding.  Because people keep asking about prices,
  371. Softlanding has provided this commonly ordered configurations price sheet:
  372.  
  373. NAME #DISKS  SERIES          5 1/4 DISKS               3 1/2 DISKS
  374. ----------------------------------------------------------------------------
  375. TINY  4      a            US $23.00 (CDN $26.00)     US $27.00 (CDN $30.00)
  376. BASE  13     a,b,c        US $52.25 (CDN $62.00)     US $65.25 (CDN $75.00)
  377. MAIN  21     a,b,c,x,i    US $78.25 (CDN $94.00)     US $99.25 (CDN $115.00)
  378. FULL  26     a,b,c,x,i,t  US $95.50 (CDN $114.00)    US $120.50 (CDN $140.00)
  379.  
  380.     Softlanding Software               
  381.     910 Lodge Ave. 
  382.     Victoria, B.C., Canada             
  383.     V8X-3A8            
  384.     (604) 360-0188
  385.  
  386. See Softlanding for a gentle touch down from a DOS bailout.
  387.