home *** CD-ROM | disk | FTP | other *** search
/ Login Magazine 68 / LoginMagazineNo68.bin / README / LOWMEM.TXT < prev    next >
Text File  |  1999-11-07  |  6KB  |  118 lines

  1. Yet another additional forward, added 10/22/1999:
  2.  
  3. One of the things we've found about using glibc is that the system has a
  4. higher memory requirement, especially during the installation process where a
  5. ramdisk must be loaded.  We've now found that 16MB is the minimum for an easy
  6. install.  If you have less that that, you can probably still install ZipSlack
  7. or BigSlack (the .zip based versions of Slackware for installation on a FAT32
  8. partition) along with the fourmeg.zip add-on for low-memory systems.  It's
  9. also possible that by borrowing some extra RAM long enough to do a conventional
  10. installation (including a good sized chunk of swap space) that the installed
  11. system will still boot and run once the extra RAM is removed.
  12.  
  13. Sorry about the inconvenience, but as time marches on, it has a way of leaving
  14. old hardware behind...
  15.  
  16. Pat
  17.  
  18. ----------------------------------------------------------------------------
  19.  
  20. Additional forward (warning/disclaimer) added Sat Apr 11 00:19:57 CDT 1998:
  21.  
  22. Well, I've been told that many (most?) machines with 4 megabytes of RAM
  23. choke trying to boot the smallest Slackware bootdisk (bare.i).  If that's
  24. the case, it's probably time for installation to machines with less than
  25. 8 megabytes to become officially unsupported.  It *might* still be possible,
  26. though, and I'm not against people continuing to try.  That's why I'll
  27. continue to include this file of hints, as well as the old, obsolete 1.44
  28. megabyte rootdisk images (now in rootdsks/obsolete/).  Just don't ask me
  29. how to install on your 4 megabyte machine, because I'll tell you:  "OK, well
  30. first you need to get some more SIMMs..."
  31.  
  32. NOTE:  A "lowmem.i" bootdisk has been added that saves even more memory than
  33. bare.i at the expense of some features.  So, people with low memory machines
  34. have one more option to try.
  35.  
  36. ----------------------------------------------------------------------------
  37.  
  38. Installation can be tricky on a machine with 4 megabytes of RAM or
  39. less. Here are a few tricks that can be helpful if you run into
  40. problems. (Symptoms might include: system hangs while booting the bootdisk;
  41. root password required on the rootdisk; inability to run "fdisk" or
  42. "mkswap"; and many more, I'm sure...)
  43.  
  44. First, you'll need to use a 3.5" floppy for the rootdisk, and you *must*
  45. uncompress the rootdisk before writing it out.  This is since it will be 
  46. used directly from the floppy drive instead of loaded into a ramdisk.
  47.  
  48. 1. If you have a second 3.5" floppy drive, great -- you'll want to use that
  49. for the rootdisk. If not, you'll have to make due with the rootdisk in your
  50. boot drive. With the rootdisk in the boot drive you won't be able to
  51. install from floppy disks or make a bootdisk at the end of the installation
  52. process, since the disk will be "mounted" in the boot drive and cannot be
  53. removed (no matter what the screen tells you) until the machine is
  54. rebooted. Make a rootdisk using RAWRITE.EXE for the floppy drive you
  55. selected.
  56.  
  57. 2. Unzip lodlin16.zip (look in /kernels) in a directory on your DOS
  58. partition.
  59.  
  60. 3. Select an appropriate kernel from a subdirectory under /kernels. The
  61. /bootdsks.144/WHICH.ONE document might be helpful in selecting the proper
  62. one for your hardware. Copy it into the directory where you put loadlin.
  63.  
  64. 4. Put the rootdisk (NOT write protected) into the floppy drive, and use
  65. this command to boot it:
  66.  
  67.    loadlin scsi.s root=/dev/fd0 rw ramdisk=0
  68.            ^^^^^^      ^^^^^^^^
  69.            ||||||      This should be the drive you put the disk in.
  70.            This is the name of the kernel you selected.
  71.  
  72.  
  73. Then, install Linux. If you're using the boot floppy drive for the
  74. rootdisk, you will not be able to install from floppy disks. DON'T take the
  75. rootdisk out of the floppy drive for any reason during the installation!
  76. Also, since scratch files may be written to the rootdisk, you'll want to
  77. start with a fresh copy if you need to start over for some reason.
  78.  
  79. NOTE:  Installation can take a lot of swap space (especially with only 4 MB of
  80. RAM), so be sure to set some up and activate it before starting "setup".  In
  81. particular, the mke2fs utility used to format Linux partitions uses quite a
  82. bit of memory.  If you've got the drive space available, 20 to 32MB of swap will
  83. help insure a smooth installation.
  84.  
  85. Once installed, you'll need to have a way to start your new system. If you
  86. were lucky enough to have a second floppy drive to use for your rootdisk,
  87. then you'll be able to make a bootdisk at the end of the installation
  88. process. This is highly recommended. If your boot drive is occupied by the
  89. rootdisk, then you've got two options: Loadlin (a method of booting from
  90. DOS) or LILO. And, if you're using the UMSDOS filesystem then Loadlin is
  91. your only choice.
  92.  
  93. To boot the system with loadlin, you'll use a command similar to the one
  94. you used to start the rootdisk, but you'll replace /dev/fd0 or /dev/fd1 with 
  95. the name of the device you're using for your root Linux partition, like this:
  96.  
  97.    loadlin scsi root=/dev/hda2 rw ramdisk=0
  98.  
  99. If you're not using UMSDOS, you might want to boot the system in read-only
  100. mode so that the drives can be checked before being remounted in read-write
  101. mode.  To do that, use "ro" instead of "rw":
  102.  
  103.    loadlin scsi root=/dev/hda2 ro ramdisk=0
  104.  
  105. Once your machine is up and running, you'll probably need to add additional
  106. driver support if you have extra hardware (such as an ethernet card) that's 
  107. not supported by the kernel you've used to install.  You can do this one of
  108. two ways:
  109.  
  110.     1)   Recompile your kernel to include any additional support needed.
  111. or
  112.     2)   Load any extra kernel drivers you need from kernel modules.  To do
  113.          this, edit your /etc/rc.d/rc.modules file.  You can think of this
  114.          file as sort of the Linux equivalent of DOS's CONFIG.SYS file -- it
  115.          contains examples for all of the most commonly used modules.  
  116.  
  117. Pat
  118.