home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / sls / old / a1.5 / bin / install.info < prev    next >
Encoding:
Text File  |  1993-07-05  |  2.8 KB  |  75 lines

  1. cat << THEEND
  2. The SLS installation is controlled by the program "doinstall",
  3. which is invoked automatically by logging in as "install".
  4. The hardest
  5.  
  6. However, the main
  7. task remaining is partitioning
  8.  
  9. Before you can install Linux on your hard drive, you must partition your
  10. drive, and put a file system on it.  Roughly, this entails:
  11.  
  12.  - Write protect all disks, if installing from floppy (except boot disk).
  13.  - Boot Linux from disk (well, you already did that)
  14.  - Create an linux/extended partition with "fdisk" on your hard drive and reboot.
  15.  - Make a file system on the partition with "mke2fs -c /dev/PART NUMBLOCKS" 
  16.  - Use "doinstall /dev/PART": PART is your partition (eg "doinstall /dev/hda2"
  17.    or "doinstall /dev/hda2 /dev/hda3 /usr /dev/hdb1 /usr/home" if you wish to
  18.    have multiple partitions, with say /usr on a different partition.
  19.  
  20. The final step may ask you to put a formatted floppy in the drive so the
  21. BOOT DISK can be prepared for you.  Have one ready ahead of time.  When the
  22. installation is complete, and you reboot from this floppy, you will be using
  23. Linux from your hard drive.   Later, you may wish to play with /usr/src/lilo
  24. to boot from your harddrive.  Note that if you have less than 4 Meg of RAM,
  25. you may need to make and activate a 4 Meg swap partition, prior to installation.
  26. For example, using /dev/hda3 for swap: "mkswap /dev/hda3 4096; swapon /dev/hda3"
  27. To print this file: "cat install.info > /dev/lp1" or "cat install.info > /dev/lp2".
  28. Also "doinstall" will execute the script "PART/doinst.sh" (advanced users).
  29. Your first task after the base install is done, should be to make backup
  30. copies of all of your disks.  After the install, you can log on as "root".  
  31. Note: LEFT-ALT-F2 uses 2nd virtual console etc, up arrow recalls commands.
  32. Hit RETURN for more...
  33. THEEND
  34. read resp
  35. cat << THEEND
  36.         EXAMPLE PARTITIONING PROCEDURE
  37. ... Put disk a1 in drive A: and reboot computer, then put disk a2 in the
  38. ... floppy drive you will be doing the install from (usually A: as well).
  39.  
  40. /# fdisk
  41. Command (m for help): n
  42. Command action
  43.    e   extended
  44.    p   primary partition (1-4)
  45. p
  46. Partition number (1-4): 2
  47. First cylinder (500-977): 500
  48. Last cylinder or +size or +sizeM or +sizeK (500-977): 977
  49. Command (m for help): t
  50. Partition number (1-4): 1
  51. Hex code (type L to list codes): 83
  52.  
  53. Command (m for help): v
  54. Hit RETURN for more...
  55. THEEND
  56. read resp
  57. cat << THEEND
  58. Command (m for help): p
  59.  
  60. Disk /dev/hda: 5 heads, 17 sectors, 977 cylinders
  61. Units = cylinders of 85 * 512 bytes
  62.  
  63.    Device Boot  Begin   Start     End  Blocks   Id  System
  64. /dev/hda1           1       1      99   20000    4  DOS
  65. /dev/hda2         100     100     600   90000   83  Linux extfs
  66.  
  67. Command (m for help): w
  68. reboot now before doing anything else
  69. /#
  70. ...<after the reboot>
  71. /# mke2fs -c /dev/hda2 90000
  72. /# doinstall /dev/hda2
  73. ... Follow prompts, and insert disks as requested, then login as root.
  74. THEEND
  75.