home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / unix / grimbox.doc < prev    next >
Encoding:
Text File  |  2003-06-11  |  4.7 KB  |  116 lines

  1. p A Linux Box
  2.                  Using Slackware 96
  3.              By: The GrimReaper (c) 1996
  4.  
  5.  
  6.  
  7. Ok, First of all you need the software. I suggest you download the software
  8. from sunsite.unc.edu/pub/Linux/distributions/slackware/slakware First,
  9. you should download the primary files all the "As" "Aps" and "Ns",
  10. for your first time setting up a Linux Box. Then later on as you get
  11. used to setting them up and running them, then you can install the other
  12. disks which have more things such as the C++ compilers, games, etc.
  13. After you have downloaded the "As" "Aps" and "Ns", you then need the
  14. Boot Disk and the Root Disk. Check in the directory /pub/Linux/
  15. distributions/slackware/bootdsks.144, look around for a boot disk, I suggest
  16. you get "bare.i" for now....and download "rawrite.exe" you need so the
  17. files will be able to fit on your floppy diskettes, but I'll talk about that
  18. a little later. Check in the directory /pub/Linux/distributions/slackware/
  19. rootdsks, for a root disk. I suggest you get "color.gz". Ok, after you
  20. get the boot disk and the root disk, you have to rawrite them into
  21. diskettes. To do this get a formatted diskette into your floppy disk drive.
  22. Then go to the MS-DOS prompt type: rawrite bare.i a:\, and
  23. rawrite color.gz a:\. Make sure the two files(boot and root disks) are
  24. in the directory with the rawrite.exe. After you have done this. Put in
  25. the boot disk diskette "bare.i" one after it has been rawrited onto your
  26. diskette and reboot your computer. It will give you a prompt like
  27. boot:
  28. just press enter for now....
  29. then, after a few things it will say enter root disk to take out the boot disk
  30. and place in the root one. Then it login as "root" and you won't have to
  31. enter a password for now. It will then bring you to a root prompt "#"
  32. type fdisk. Then it will show command (m for help): type m
  33. It will then show a list of things to do. Now you have to make partitions
  34. for your "Linux Native" and "Linux Swap"(Linux Swap is optional But I
  35. recommend it even though you have more than 4MBs of RAM) now type n
  36. which is to add a new partiton. Type p for Primary Partition. Then select
  37. number 2. It will then have another prompt about "First Cylinder" type
  38. the numbers they have. For Example: First Cylinder (357-528), you
  39. type 357 then press enter...the numbers will vary depending on how
  40. much memory you have. After it will have another prompt "Last Cylinder
  41. +size +sizeM +sizeK" type +(the number of ram you have)M for example:
  42. Last Cylinder +size +sizeM +sizeK: +16M  <---16 RAM, etc. after you
  43. have done this it will bring you back to the command (m for help) prompt
  44. type n again. Then add another primary partition number 3. Then for First
  45. Cylinder type the first numbers again...Like the first partition made,
  46. after instead of typing +16M for you Last Cylinder...type the last number
  47. of the "First Cylinder (number-number). The second partition example:
  48.  
  49. command (m for help): n
  50.  
  51. e extended partition
  52. p primary partition (1-4) : p
  53.  
  54. primary partition (1-4): 3
  55.  
  56. First Cylinder [(357-528)]: 357
  57.  
  58. Last Cylinder +size +sizeM +sizeK: 528
  59.  
  60. That is an example, after you have made these two partitions, type
  61. t on the command (m for help): prompt, it will then ask you for which
  62. number partition type 2, then it will ask you which partition type.
  63. Type "l" for a list of it. Type 83 (this is to make partition 2 into
  64. the Linux Swap) then again at the command(m for help): prompt type
  65. t again. Then instead of typing partition "2" you type 3. Then
  66. type 82(for linux native), after you have done this.
  67. Type: (at the command (m for help): prompt
  68. mke2fs /dev/hda3 (the number you typed for the first cylinder "357")
  69. for example so its:
  70.  
  71. mke2fs /dev/hd3 356
  72.  
  73. after you have done that type:
  74.  
  75. mkswap /dev/hda2 (This is the number of the last cylinder "528")
  76.  
  77. for example it is:
  78.  
  79. mkswap /dev/hda2 528
  80.  
  81. then type
  82.  
  83. swapon /dev/hda2
  84.  
  85. after you have done all of this type w at the command (m for help):
  86. prompt. Then it will save these partitions etc. Reboot. The boot back to
  87. Linux and type "setup" at the command (m for help): prompt,
  88. then you are able to setup your Linux with the files "As" "Aps" and "Ns"
  89. make sure those files are on your MS-DOS partition (the drive that has
  90. windows, etc. on it) make all the "As" "Aps" and "Ns" as sub directories
  91. in  C:\slackware or whatever drive you have windows. Then hda1/slackware
  92. will be where you install the stuff.
  93.  
  94. That's mostly the beginning of how to Set up a Linux Box....
  95. if you have any questions or comments e-mail me at
  96. grimreaper97@geocities.com
  97. or visit me on IRC, a efnet server and channel #grimreaper :)
  98. Until next time.....Bye
  99. and Don't forget to visit my pages at:
  100. http://www.geocities.com/SiliconValley/Park/6647
  101. TOOLSWRI 
  102. MLASSIGRP 
  103. @!≥HW
  104.  
  105.  
  106. ;
  107.  
  108.  
  109.  
  110.  
  111. √√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√
  112.  
  113.  
  114.  
  115.  Licensee Authorized Gateway 2000 Licensee
  116.