home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / KERNELS / LODLIN15.TXT < prev    next >
Encoding:
Text File  |  1995-04-20  |  4.3 KB  |  135 lines

  1. Quickstart for LOADLIN-1.5
  2. ==========================
  3.  
  4. Version 1.5 of LOADLIN (as opposite to prior versions) normally needs no
  5. special configuration and has been reported very stable by all ALPHA testers,
  6. so I guess you will only need
  7.  
  8.    LOADLIN.EXE,
  9.    LOADLINX.EXE  ( the optional preprocessor,
  10.                    processes on input params, then executes LOADLIN.EXE. )
  11.  
  12. Copy these files to a DOS partition (e.g C:\LOADLIN). You must keep both files
  13. in the same directory, otherwise LOADLINX can't find LOADLIN.
  14.  
  15. To boot Linux you need also a compressed kernel image file such as
  16. the "/vmlinuz" or the "/usr/src/zImage". In Slackware distribution you
  17. can find a lot of kernels (bare, scsi, modern, ...) in the directory
  18. ..../slackware/kernels of the site you got it from.
  19.  
  20. Copy the image file to your DOS partion (e.g. C:\).
  21.  
  22. To boot type at dos prompt:
  23.  
  24.   1. For a Linux partition (ext2, minix, ...) to mount as root
  25.  
  26.          loadlin c:\vmlinuz root=/dev/hdb2 ro
  27.                                            ==
  28.  
  29.   2. For an UMSDOS filesystem to mount as root
  30.  
  31.          loadlin c:\vmlinuz root=/dev/hda1 rw
  32.                                            ==
  33.      or
  34.          loadlinX c:\vmlinuz root=c: rw
  35.  
  36.   3. To boot from a SlackWare installation root floppy in drive A:
  37.      having the kernel image file on the hard disk.
  38.  
  39.          loadlinX c:bare root=a: rw ramdisk=1440,no
  40.  
  41.      To boot from a SlackWare installation root floppy in drive B:
  42.      having the DOS-floppy with the kernel image in drive A:
  43.  
  44.          loadlinX a:scsi root=b: rw ramdisk=1440,no
  45.  
  46.      To boot from a SlackWare installation root floppy in drive A:
  47.      *and* having the DOS-floppy with the kernel image in drive A:
  48.  
  49.          loadlinX a:modern root=a: rw ramdisk=1440
  50.  
  51.      ( LOADLIN will prompt for disk change after having loaded the kernel )
  52.  
  53.  
  54. NOTE: You must know what root partition to use, the above /dev/xxx or C:
  55.       are only examples !!!
  56.  
  57.  
  58. If you didn't succeed, please read the file MANUAL.TXT.
  59.  
  60.  
  61. Especially for Slackware users I append a modified version of
  62. Patrick Volkerding's LODLIN14.TXT which comes with SlackWare
  63. distribution 2.0.0.
  64. Assuming Pat will upgrade to LOADLIN-1.5, his then LODLIN15.TXT should
  65. look like the text below the "------".
  66.  
  67. Please note, that the official LOADLIN distribution comes as *.TGZ,
  68. but Pat's comes as *.ZIP.
  69.  
  70. [ NOTE: The original lodlin15.tgz file can be found in the 
  71.   slackware_source/contrib directory. -- Pat ]
  72.  
  73. So, if you have already Slackware 2.0.0 installed, you must skip the
  74. "unzip ... pkunzip lodlin15.zip" part and install LOADLIN-1.5
  75. (under Linux) as follows:
  76.  
  77.    mount -t msdos /dev/hda1 /mnt
  78.    cd /mnt
  79.    mkdir loadlin
  80.    cd loadlin
  81.    tar -xzvf lodlin15.tgz
  82.  
  83.  
  84. Hans Lermen
  85. elserv.ffm.fgan.de
  86.  
  87. ============================================================================
  88. ----------------------------------------------------------------------------
  89.  
  90. This is a utility that allows you to start Linux from MS-DOS. It's a good
  91. alternative to using LILO to boot your machine, and is probably a lot safer
  92. for beginners to deal with. It also works great with UMSDOS, while LILO
  93. does not.
  94.  
  95. To use it, install Linux. Skip the LILO installation, but make a bootdisk at
  96. the beginning of the system configuration process. Boot your system, and copy
  97. the kernel (/vmlinuz) to your DOS partition. You may have had this mounted
  98. somewhere when you installed Linux. If not, you'll have to mount it yourself
  99. with a command like:
  100.  
  101.    mount /dev/hda1 /mnt -t msdos
  102.  
  103. You can look to see which partitions are DOS partitions with 'fdisk -l'.
  104.  
  105. Copy the kernel over:
  106.  
  107.    cp /vmlinuz /mnt/vmlinuz
  108.  
  109. Next, get DOS going... and unzip the lodlin15.zip file:
  110.  
  111.      unzip -d lodlin15.zip
  112. or:  pkunzip -d lodlin15.zip
  113.  
  114. Then, read the docs in C:\LOADLIN (or wherever you put it). They'll be a lot
  115. more help than I will, since they were written by the program's author. :^)
  116.  
  117. For the record, all I had to do to get loadlin.exe to boot my Linux partition
  118. was:
  119.  
  120.      Booted my Linux system with this command:
  121.      loadlin c:\vmlinuz root=/dev/hdb3 ro
  122.  
  123. If you use UMSDOS, you can use syntax like this as well:
  124.      loadlinx c:\vmlinuz root=c: rw
  125.  
  126. Again, see the docs that come with LOADLIN for complete details on all the
  127. options, including the most complete list I've seen of options that can be
  128. passed to the kernel at boot time. :^)
  129.  
  130. Good luck,
  131.  
  132. ---
  133. Patrick Volkerding
  134. volkerdi@mhd1.moorhead.msus.edu
  135.