home *** CD-ROM | disk | FTP | other *** search
/ Login Magazine 68 / LoginMagazineNo68.bin / ZipSlack / README.1st < prev    next >
Text File  |  1999-11-04  |  8KB  |  174 lines

  1.  
  2. Welcome to the ZipSlack(tm) UMSDOS Linux installation.
  3.  
  4. This is a great way to install an up-to-date Slackware Linux system on a DOS
  5. partition.  It'll use about 94 megabytes of drive space, which means you can
  6. install this on a Zip disk.  (more space will be used if your drive uses large
  7. clusters, i.e. a one or more gigabyte pre-FAT32 DOS partition)  It'll probably
  8. work with LS120 and all the other Zip-imitators as well (but I haven't tried it
  9. myself, as I'm pretty loyal to Iomega :^) and, it can also be installed to any
  10. DOS partition (including FAT32) as a quick and easy way to get a nicely loaded
  11. base Linux system up and running without having to repartition a hard drive.
  12.  
  13. This system includes:
  14.  
  15.        2.2.13 generic Linux kernel, with support for many SCSI controllers.
  16.        Includes parallel port Zip support.
  17.  
  18.        The egcs-1.1.2 C/C++ compilers and development libraries.
  19.  
  20.        An easy to configure PPP setup script (pppsetup) and a nice collection
  21.        of network applications like mail, lynx, tin, and more.
  22.  
  23.        Slackware 'setup', 'installpkg', 'rpm2targz', and other tools to let you
  24.        customize the system and add additional software that the ZipSlack
  25.        installation doesn't add by default for space considerations (like X).
  26.  
  27.        Extra applications and utilities: 
  28.  
  29.           -- bash shell.
  30.           -- development tools like bison, flex, m4, and perl.
  31.           -- A large set of kernel modules.
  32.  
  33.        Here's the list of packages ZipSlack installs:
  34.  
  35.        aaa_base ash bash bc bin bin86 binutils bison byacc bzip2 cxxlibs
  36.        descrypt devs diff dip e2fsprog egcs elflibs elvis etc fileutls find
  37.        flex floppy fsmods ftchmail gdbm glibc glibcso gmake gpm grep groff
  38.        gzip hdsetup infozip isapnp joe kbd ldso less lilo linuxinc lpr lynx
  39.        m4 mailx man manpages metamail minicom modules modutils mt_st netmods
  40.        p2c pciutils pcmcia perl ppp procmail procps rsync scsimods sendmail
  41.        sh_utils shadow sox strace sudo sysklogd sysvinit tar tcpip1 tcpip2
  42.        tin txtutils umsprogs util wget workbone zoneinfo
  43.  
  44.  
  45. INSTALLATION:
  46.  
  47. To install Slackware using ZipSlack, all you need to do is unzip the file
  48. ZIPSLACK.ZIP on the DOS partition where you want Linux installed.  To do this,
  49. you'll need an unzip utility.  If you don't already have an unzipper such as
  50. PKZIP for DOS or Windows, http://www.pkware.com is a great place to get one.
  51.  
  52. Here's how you'd install on a Zip disk on drive D:\ -- first, fire up Win95 and
  53. start PKZIP for Windows.  
  54.  
  55. Then, from the "File" menu, select the "Open..." option.  In the dialog box,
  56. browse for and select the file ZIPSLACK.ZIP.
  57.  
  58. If you're planning to put this on a Zip disk, make sure it's in your machine,
  59. formatted, and ready to go. 
  60.  
  61. Next, you need to extract the files to a DOS partition.  From the "Extract" 
  62. menu, select the "Extract Files..." choice.  In the "Extract" box, make sure
  63. the "all files" choice is selected.  In the "Extract to:" box, make sure the
  64. "Disk" choice is selected.  In the text box next to "Disk", you'll need to
  65. fill in the path to where you want to extract the files.  (They'll be extracted
  66. into a \linux subdirectory)  For example, if your Zip drive is D:\ and that's
  67. where you want to install, then you'll want to put D:\ in the box.  Otherwise,
  68. fill in any DOS drive with enough free space to install.  When you've got
  69. everything filled in correctly, hit the "Extract" button to extract the files.
  70.  
  71. Be sure to unzip zipslack.zip at the top of whatever partition you choose 
  72. (the \ directory in DOS/Windows).  It will create a \LINUX directory there.
  73. If you try to unzip it in a subdirectory or folder, it will not boot correctly.
  74.  
  75.  
  76. BOOTING THE LINUX SYSTEM
  77.  
  78. There are probably countless ways to boot this system once you've unzipped it.
  79. Here, I'll cover two.
  80.  
  81. Loadlin
  82. -------
  83.  
  84. Loadlin is a DOS program designed to load the Linux kernel and boot it.  In the
  85. \linux directory, you'll find these files:
  86.  
  87. LOADLIN.EXE:  The loadlin loader executable.
  88. LINUX.BAT:    A simple DOS batch file to boot Linux using LOADLIN.EXE.
  89. vmlinuz:      A Linux kernel with support for SCSI and IDE devices.
  90.  
  91. You can use the provided vmlinuz kernel (a generic kernel with support for many
  92. devices that will work for most machines), or you can use another Linux kernel
  93. of your choosing by copying it to \linux\vmlinuz over the existing file.  
  94. Slackware includes a large collection of precompiled kernels in its \kernels
  95. directory, any of which will work.
  96.  
  97. To boot the system, you'll need to edit the LINUX.BAT file, and make sure the
  98. root=/dev/XXXX statement on the loadlin line (the one that's not commented out
  99. with 'rem') is set up to use the partition where you unzipped ZIPSLACK.ZIP, 
  100. such as /dev/sda4.  If you're not sure which partition to use, just go ahead
  101. and guess.  If you get it wrong, you'll still be able to use scrollback
  102. (right shift key and PageUp) when the kernel halts to go back and look at your
  103. partitions, noting the names Linux gives them.  With this information, you
  104. should be able to edit the LINUX.BAT correctly.
  105.  
  106. Once LINUX.BAT is edited, you can try to boot the system by entering LINUX on
  107. a prompt while in the \linux directory.  IMPORTANT:  You'll need to be in 
  108. DOS mode for the boot to work.  A DOS prompt running under Windows95 will not
  109. work!  What you need to do if you use Windows95 is shut the machine down,
  110. selecting the "Restart in MS-DOS mode" selection.  Then, you'll be able to use
  111. Loadlin.  I've also had great success booting with a "Startup disk" made from
  112. Win95 (Add/Remove Programs in Control Panel, and then "Startup disk" tab) and
  113. then switching into the \linux directory on the target drive and running 
  114. LINUX.BAT.
  115.  
  116. If it doesn't work, the problem could be DOS memory management -- I had to run
  117. both HIMEM.SYS and EMM386.EXE to get LOADLIN to load a large kernel, but it
  118. also worked fine with no memory management.  I ran into problems when I tried
  119. to run _just_ HIMEM.SYS.
  120.  
  121. You can also run LOADLIN directly.  Here is a sample boot command to boot Linux
  122. on /dev/sda4 in read-write mode using the kernel file vmlinuz:
  123.  
  124. loadlin vmlinuz root=/dev/sda4 rw
  125.  
  126. Using a boot floppy
  127. -------------------
  128.  
  129. The other way you can boot the system is by using a boot floppy.  There's
  130. one provided (bootdisk.img) that uses the generic kernel, or you can use any
  131. of the bootdisks included with Slackware.  
  132.  
  133. To write the image to a floppy disk, use the RAWRITE.EXE program:
  134.  
  135. rawrite bootdisk.img a:
  136.  
  137. To boot a Linux system in read-write mode on /dev/sda4, boot the bootdisk.  On
  138. the 'boot:' prompt, you'd enter this command:
  139.  
  140.   mount root=/dev/sda4 rw
  141.  
  142.  
  143. CONFIGURING THE SYSTEM
  144.  
  145. Once you've booted the system, log in as 'root'.  One of the first things you
  146. should do is add a root password with the 'passwd' command.  Then, (if you want
  147. some things like 'df' to work) you'll need to edit /etc/fstab to fix the entry
  148. for your root partition.  Seasoned UNIX veterans will probably use 'vi' for
  149. this, otherwise 'pico' is another option.
  150.  
  151. If you're on an ethernet connected to the Internet, you can run 'netconfig' to
  152. configure your network access.  You may also need to edit /etc/rc.d/rc.modules
  153. to load a kernel module that supports your ethernet card.
  154.  
  155. If you use PPP to connect to the Internet, you can configure your PPP
  156. connection using 'pppsetup'.
  157.  
  158.  
  159. ==============
  160.  
  161. I hope this system makes it easier to get Linux up and running.  At around 40
  162. megabytes (or so) most people can download this package in just a few hours.
  163. If you like the ZipSlack installation, let me know so that I'll know that people
  164. are interested in seeing continued support for it.  And, if you find any 
  165. problems with it, let me know about them.
  166.  
  167. Have fun!
  168.  
  169. ---
  170. Patrick Volkerding
  171. volkerdi@mhd1.moorhead.msus.edu
  172. volkerdi@ftp.cdrom.com
  173.  
  174.