diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2011-04-25 13:37:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:45:18 +0200 |
commit | 75a4a592e5ccda30715f93563d741b83e0dcf39e (patch) | |
tree | 502f745607e77a2c4386ad38d818ddcafe81489c /slackbook/html/booting-loadlin.html | |
parent | b76270bf9e6dd375e495fec92140a79a79415d27 (diff) | |
download | current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.xz |
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011
Slackware 13.37 x86_64 stable is released!
Thanks to everyone who pitched in on this release: the Slackware team,
the folks producing upstream code, and linuxquestions.org for providing
a great forum for collaboration and testing.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
As always, thanks to the Slackware community for testing, suggestions,
and feedback. :-)
Have fun!
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 000000000..d11754d34 --- /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> + |