diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2009-08-26 10:00:38 -0500 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:41:17 +0200 |
commit | 5a12e7c134274dba706667107d10d231517d3e05 (patch) | |
tree | 55718d5acb710fde798d9f38d0bbaf594ed4b296 /slackbook/html/booting-loadlin.html | |
download | current-5a12e7c134274dba706667107d10d231517d3e05.tar.gz |
Slackware 13.0slackware-13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable! Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits. The ISOs are off to the replicator. This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com. Please consider
picking up a copy to help support the project. Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy! -P.
Diffstat (limited to 'slackbook/html/booting-loadlin.html')
-rw-r--r-- | slackbook/html/booting-loadlin.html | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/slackbook/html/booting-loadlin.html b/slackbook/html/booting-loadlin.html new file mode 100644 index 00000000..d11754d3 --- /dev/null +++ b/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? -> " + 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=<root partition device> 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> + |