summaryrefslogtreecommitdiff
path: root/misc/slackbook/html/booting-loadlin.html
diff options
context:
space:
mode:
Diffstat (limited to 'misc/slackbook/html/booting-loadlin.html')
-rw-r--r--misc/slackbook/html/booting-loadlin.html116
1 files changed, 116 insertions, 0 deletions
diff --git a/misc/slackbook/html/booting-loadlin.html b/misc/slackbook/html/booting-loadlin.html
new file mode 100644
index 00000000..d11754d3
--- /dev/null
+++ b/misc/slackbook/html/booting-loadlin.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta name="generator" content="HTML Tidy, see www.w3.org" />
+<title>LOADLIN</title>
+<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" />
+<link rel="HOME" title="Slackware Linux Essentials" href="index.html" />
+<link rel="UP" title="Booting" href="booting.html" />
+<link rel="PREVIOUS" title="Booting" href="booting.html" />
+<link rel="NEXT" title="Dual Booting" href="booting-dual.html" />
+<link rel="STYLESHEET" type="text/css" href="docbook.css" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+</head>
+<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
+alink="#0000FF">
+<div class="NAVHEADER">
+<table summary="Header navigation table" width="100%" border="0" cellpadding="0"
+cellspacing="0">
+<tr>
+<th colspan="3" align="center">Slackware Linux Essentials</th>
+</tr>
+
+<tr>
+<td width="10%" align="left" valign="bottom"><a href="booting.html"
+accesskey="P">Prev</a></td>
+<td width="80%" align="center" valign="bottom">Chapter 7 Booting</td>
+<td width="10%" align="right" valign="bottom"><a href="booting-dual.html"
+accesskey="N">Next</a></td>
+</tr>
+</table>
+
+<hr align="LEFT" width="100%" />
+</div>
+
+<div class="SECT1">
+<h1 class="SECT1"><a id="BOOTING-LOADLIN" name="BOOTING-LOADLIN">7.2 LOADLIN</a></h1>
+
+<p>The other booting option that comes with Slackware Linux is LOADLIN. LOADLIN is a DOS
+executable that can be used to start Linux from a running DOS system. It requires the
+Linux kernel to be on the DOS partition so that LOADLIN can load it and properly boot the
+system.</p>
+
+<p>During the installation process, LOADLIN will be copied to root's home directory as a
+.ZIP file. There is no automatic setup process for LOADLIN. You will need to copy the
+Linux kernel (typically <tt class="FILENAME">/boot/vmlinuz</tt>) and the LOADLIN file
+from root's home directory to the DOS partition.</p>
+
+<p>LOADLIN is useful if you would like to make a boot menu on your DOS partition. A menu
+could be added to your <tt class="FILENAME">AUTOEXEC.BAT</tt> file that would allow you
+to pick between Linux or DOS. A choice of Linux would run LOADLIN, thus booting your
+Slackware system. This <tt class="FILENAME">AUTOEXEC.BAT</tt> file under Windows 95 will
+provide a sufficient boot menu:</p>
+
+<table border="0" bgcolor="#E0E0E0" width="100%">
+<tr>
+<td>
+<pre class="PROGRAMLISTING">
+ @ECHO OFF
+ SET PROMPT=$P$G
+ SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\
+ CLS
+ ECHO Please Select Your Operating System:
+ ECHO.
+ ECHO [1] Slackware Linux
+ ECHO [2] Windows 95
+ ECHO.
+ CHOICE /C:12 "Selection? -&gt; "
+ IF ERRORLEVEL 2 GOTO WIN
+ IF ERRORLEVEL 1 GOTO LINUX
+ :WIN
+ CLS
+ ECHO Starting Windows 95...
+ WIN
+ GOTO END
+ :LINUX
+ ECHO Starting Slackware Linux...
+ CD \LINUX
+ LOADLIN C:\LINUX\VMLINUZ ROOT=&lt;root partition device&gt; RO
+ GOTO END
+ :END
+</pre>
+</td>
+</tr>
+</table>
+
+<p>You will want to specify your root partition as a Linux device name, like <tt
+class="FILENAME">/dev/hda2</tt> or something else. You can always use LOADLIN at the
+command line. You simply use it in the same manner as it is in the example above. The
+LOADLIN documentation comes with many examples on how to use it.</p>
+</div>
+
+<div class="NAVFOOTER">
+<hr align="LEFT" width="100%" />
+<table summary="Footer navigation table" width="100%" border="0" cellpadding="0"
+cellspacing="0">
+<tr>
+<td width="33%" align="left" valign="top"><a href="booting.html"
+accesskey="P">Prev</a></td>
+<td width="34%" align="center" valign="top"><a href="index.html"
+accesskey="H">Home</a></td>
+<td width="33%" align="right" valign="top"><a href="booting-dual.html"
+accesskey="N">Next</a></td>
+</tr>
+
+<tr>
+<td width="33%" align="left" valign="top">Booting</td>
+<td width="34%" align="center" valign="top"><a href="booting.html"
+accesskey="U">Up</a></td>
+<td width="33%" align="right" valign="top">Dual Booting</td>
+</tr>
+</table>
+</div>
+</body>
+</html>
+