old-www/HOWTO/Loadlin+Win95-98-ME-5.html

242 lines
7.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Loadlin+Win95/98/ME mini-HOWTO: Frequently Asked Questions:</TITLE>
<LINK HREF="Loadlin+Win95-98-ME-6.html" REL=next>
<LINK HREF="Loadlin+Win95-98-ME-4.html" REL=previous>
<LINK HREF="Loadlin+Win95-98-ME.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="Loadlin+Win95-98-ME-6.html">Next</A>
<A HREF="Loadlin+Win95-98-ME-4.html">Previous</A>
<A HREF="Loadlin+Win95-98-ME.html#toc5">Contents</A>
<HR>
<H2><A NAME="FAQ"></A> <A NAME="s5">5. Frequently Asked Questions:</A></H2>
<P>
<H2><A NAME="Section 4.1"></A> <A NAME="ss5.1">5.1 Where can I find more information on using Loadlin?</A>
</H2>
<P>
<UL>
<LI>Loadlin can be found on your favorite distibution's installation
CD. Just do a search for 'loadlin'.</LI>
</UL>
<P>
<UL>
<LI>The Loadlin-1.6 User's Guide is available for download at: </LI>
</UL>
<P>
<BLOCKQUOTE><CODE>
<A HREF="http://elserv.ffm.fgan.de/~lermen/manual.txt">http://elserv.ffm.fgan.de/~lermen/manual.txt</A></CODE></BLOCKQUOTE>
<P> or
<BLOCKQUOTE><CODE>
<A HREF="ftp://ftp.eskimo.com/u/p/praxis/manual.txt">ftp://ftp.eskimo.com/u/p/praxis/manual.txt</A></CODE></BLOCKQUOTE>
<P>
<UL>
<LI>You might also try visiting the
<A HREF="http://elserv.ffm.fgan.de/~lermen/">Loadlin Home Page</A></LI>
</UL>
<P>
<UL>
<LI>Additional information is available at:</LI>
</UL>
<P>
<BLOCKQUOTE><CODE>
<A HREF="http://metalab.unc.edu/LDP/HOWTO/BootPrompt-HOWTO-2.html#ss2.2">http://metalab.unc.edu/LDP/HOWTO/BootPrompt-HOWTO-2.html#ss2.2</A></CODE></BLOCKQUOTE>
<P>
<H2><A NAME="ss5.2">5.2 I am not sure what partition Linux is installed on. How do I find out?</A>
</H2>
<P>
<UL>
<LI>At a Linux shell prompt, run the <CODE>df</CODE> utility. If you see a
line with <CODE>/boot</CODE>, then it will be quite obvious. If you do not
see a line with <CODE>/boot</CODE>, then look on the line with a single
"<CODE>/</CODE>".</LI>
</UL>
<P>
<H2><A NAME="ss5.3">5.3 Where do I find the kernel image file and how do I copy it to my MS-DOS partition?</A>
</H2>
<P>
<UL>
<LI>The kernel image file is usually called <CODE>vmlinuz</CODE> and
should be located in the '/boot' directory. Often <CODE>vmlinuz</CODE> is a
symbolic link to the actual kernel. If all else fails type:
<BLOCKQUOTE><CODE>
<HR>
<PRE>
find / -name vmlinuz*
</PRE>
<HR>
</CODE></BLOCKQUOTE>
at a Linux shell prompt. This will search all Linux partitions for the
vmlinuz file. If you have multiple vmlinuz files, then make sure you
use the correct one. If you are not sure, then the safest bet would be
to use the most recent one.
<P>To copy your linux kernel file to your DOS partition, you need to make
your DOS partition visible to Linux, then mount the partition if it is
not already. Generally, this should have been set up when you installed
Linux. All you need to do next is change to the directory the vmlinuz
file is in and copy it over to DOS using the cp command.
<P>However, if Linux was not set up to recognize your DOS partition, then
copy vmlinuz to a floppy. Take any DOS formatted floppy (with enough
disk space to hold your kernel image file) and insert it into your
floppy drive. Type:
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
mount /dev/fd0 /mnt/floppy
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>at a Linux shell prompt. Then change to the directory your kernel image
file is in and type:
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
cp vmlinuz /mnt/floppy
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>This will copy vmlinuz to your floppy disk and it will be readable by
DOS. Shutdown Linux, boot to DOS, then copy vmlinuz to whichever
directory you choose. If you recompile your kernel, do not forget to
copy the new kernel image file to your DOS partition. This will
overwrite your old file, so it might be a good idea to rename the old
file first just in case the new one does not work properly.
<P>
<P>Alternatively, if you have the <CODE>mtools</CODE> utilities you could
type:
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
mcopy vmlinuz a:
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>
</LI>
</UL>
<P>
<H2><A NAME="ss5.4">5.4 Does it matter if I install Linux or Windows 95/98/ME first?</A>
</H2>
<P>
<UL>
<LI>Technically no. However, it would be <EM>much</EM> simpler to
install Windows first. That way it is easier to setup Linux to recognize
your DOS partition(s) as you can usually do this during the Linux
installation.</LI>
</UL>
<P>
<H2><A NAME="ss5.5">5.5 I currently have LILO installed, but I want to use Loadlin instead. How</A>
do I remove LILO?</H2>
<P>
<UL>
<LI>You will need to restore the Win95 MBR (Master Boot Record) that
LILO overwrote when you installed LILO. At a DOS prompt type: </LI>
</UL>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
fdisk /mbr
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>
<H2><A NAME="ss5.6">5.6 What if I already dual boot between Windows 95 and Windows 3.x, and I</A>
want to boot to Linux using this method?</H2>
<P>
<UL>
<LI>Frankly, if you want to do this I would recommend using LILO. However,
if you really do not want to use LILO, you will have to boot to Win 3.x
first, then issue the Loadlin command. (Make sure Windows 3.x is NOT
running, but that you are in DOS 5.0 or 6.x).</LI>
</UL>
<P>
<H2><A NAME="ss5.7">5.7 Is it possible to initiate Linux from the Windows 95/98/ME desktop?</A>
</H2>
<P>
<UL>
<LI>Yes. First, create a batch file called "linux.bat", for example.
Edit the file to contain a Loadlin command such as:</LI>
</UL>
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
loadlin f:\vmlinuz root=/dev/hdc2 ro
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>Now save the file on your Windows desktop. Next, right click on the
Linux.bat icon, then left click on Properties. Now click on the Program
tab, then click on the Advanced button. Click on the box next to
"MS-DOS mode" and make sure the box next to "Warn before entering
MS-DOS mode is checked". Click OK, then click on OK again. Now when you
double click on the Linux icon, a warning box will appear before going
into MS-DOS mode. If you click on "Yes" then Windows enters MS-DOS mode
and executes the Linux.bat file.
<P><B>NOTE:</B> You must be in MS-DOS mode in order to use Loadlin. Please
see the manual.txt file mentioned in
<A HREF="#Section 4.1">Section 4.1</A> of this
<A HREF="#FAQ">FAQ</A> for more
information.
<P>
<P>
<H2><A NAME="ss5.8">5.8 Where can I get a plain text version of this document?</A>
</H2>
<P>
<UL>
<LI>You can get a plain text version of this document at:
<BLOCKQUOTE><CODE>
<A HREF="ftp://ftp.eskimo.com/u/p/praxis/loadlin.txt">ftp://ftp.eskimo.com/u/p/praxis/loadlin.txt</A></CODE></BLOCKQUOTE>
</LI>
</UL>
<P>
<H2><A NAME="ss5.9">5.9 Is Loadlin the only alternative to LILO?</A>
</H2>
<P>
<UL>
<LI>No. There are other utilities you could use for dual booting:
<BLOCKQUOTE><CODE>
<A HREF="http://www.gnu.org/software/grub/grub.html">GRUB</A>: The GNU GRand Unified Bootloader
</CODE></BLOCKQUOTE>
<BLOCKQUOTE><CODE>
<A HREF="http://www.xosl.org/">XOSL</A>: Extended Operating System Loader
</CODE></BLOCKQUOTE>
<BLOCKQUOTE><CODE>
<A HREF="http://freshmeat.net/search/?q=boot+loader">Other Bootloaders and Related Links</A></CODE></BLOCKQUOTE>
</LI>
</UL>
<P>
<HR>
<A HREF="Loadlin+Win95-98-ME-6.html">Next</A>
<A HREF="Loadlin+Win95-98-ME-4.html">Previous</A>
<A HREF="Loadlin+Win95-98-ME.html#toc5">Contents</A>
</BODY>
</HTML>