old-www/HOWTO/Jaz-Drive-HOWTO-6.html

77 lines
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Jaz-drive HOWTO: Booting from a Jaz Cartridge</TITLE>
<LINK HREF="Jaz-Drive-HOWTO-5.html" REL=previous>
<LINK HREF="Jaz-Drive-HOWTO.html#toc6" REL=contents>
</HEAD>
<BODY>
Next
<A HREF="Jaz-Drive-HOWTO-5.html">Previous</A>
<A HREF="Jaz-Drive-HOWTO.html#toc6">Contents</A>
<HR>
<H2><A NAME="s6">6. Booting from a Jaz Cartridge</A></H2>
<H2><A NAME="ss6.1">6.1 BIOS Issues</A>
</H2>
<P>If the Jaz drive co-exists with other SCSI harddrives, most BIOSes will
want to boot the disk that has the lowest SCSI Id. The Jaz drive can be
set to SCSI Ids 0-6, and typically come out of the box set to SCSI Id 5.
Some BIOSes detect and skip removable devices like the Jaz. If your
BIOS will boot from a Jaz, you can set your main SCSI harddrive to SCSI
Id 1, then you can change the Jaz from SCSI Id 5 to 0 when you want to
boot from the Jaz.
<P>More typically, the Jaz drive co-exists with an IDE harddrive. Nearly
every BIOS will want to boot the first IDE harddrive. Some BIOSes will
allow you change a setting in the BIOS setup to boot from a SCSI device
first. Others may require you to disable the IDE drives in the BIOS
setup. Still others may require detaching the IDE drives physically or
disabling the IDE interface.
<H2><A NAME="ss6.2">6.2 Installing Linux on a Jaz Cartridge</A>
</H2>
<P>Although running Linux from a Jaz cartridge is <EM>much</EM> slower than
running from a harddrive, the Jaz drive makes an excellent ERD (Emergency
Repair Disk). It's also fun to be able to just pop in some new Linux system
or to try Linux on someone else's Jaz-equipped machine.
<P>By far the easiest way to install Linux on the Jaz cartridge is simply to
follow the install procedure for your favorite distribution with the Jaz
drive being the only drive on the system. I've done this with RedHat 5.2,
and it works perfectly. If you're not completely comfortable with doing
weird, wild stuff with LILO, it's the only way to go.
<P>If you want to do an "install" from your running system, you can
often succeed in "building" a bootable system on a Jaz cartridge.
<P>
<UL>
<LI>Partition the drive and make the filesystems. You probably need to
have a swap partition, too, but if you have lots of RAM then maybe not.
Mount the new root as /jaz and any additional partitions within that
directory as appropriate.</LI>
<LI>Copy all the files into place. Be sure all the <CODE>/dev</CODE>
files are copied. Be sure all permissions, ownership and group ids
are retained.</LI>
<LI>Modify the files on the Jaz cartridge to suit the
circumstances of booting from it. In particular be sure to change
<CODE>/jaz/etc/fstab</CODE> to mount the Jaz cartridge partition(s) as
appropriate. Also change <CODE>/jaz/etc/lilo.conf</CODE> to match as well.</LI>
<LI>There are two alternatives for installing the LILO boot loader:
<UL>
<LI>Make a kernel image floppy and use <CODE>rdev</CODE> to make it
mount the Jaz cartridge as root. Boot from the floppy when ready
the first time then run LILO to make the Jaz MBR bootable.</LI>
<LI>You can run LILO from your non-Jaz root running system to
install the bootable MBR on the Jaz cartridge. For more information
on this option, check out
<A HREF="http://metalab.unc.edu/mdw/HOWTO/mini/LILO.html">Alessandro Rubini's LILO mini-HOWTO</A></LI>
</UL>
</LI>
</UL>
<HR>
Next
<A HREF="Jaz-Drive-HOWTO-5.html">Previous</A>
<A HREF="Jaz-Drive-HOWTO.html#toc6">Contents</A>
</BODY>
</HTML>