/usr/share/doc/HOWTO/ja-html/LILO-6.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Lilo mini-Howto: BIOS ¤¬°·¤¨¤Ê¤¤ÂçÍÆÎ̥ǥ£¥¹¥¯¤ò¥¢¥¯¥»¥¹</TITLE>
<LINK HREF="LILO-7.html" REL=next>
<LINK HREF="LILO-5.html" REL=previous>
<LINK HREF="LILO.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="LILO-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO.html#toc6">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s6">6. BIOS ¤¬°·¤¨¤Ê¤¤ÂçÍÆÎ̥ǥ£¥¹¥¯¤ò¥¢¥¯¥»¥¹</A></H2>
<P>»ä¤Î¥ª¥Õ¥£¥¹¤Î¥·¥¹¥Æ¥à¤Ë¤Ï 1GB ¤Î IDE ¥É¥é¥¤¥Ö¤¬¤¢¤ê¤Þ¤¹¤¬¡¢BIOS ¤«¤é¤Ï
ºÇ½é¤Î 504MB ¤·¤«¸«¤¨¤Þ¤»¤ó¡£¡Ê¤³¤³¤Ç¤Ï MB = 1000 ¥Ð¥¤¥È¤Ç¤Ï¤Ê¤¯¡¢1024
¥Ð¥¤¥È¤È¤·¤Þ¤¹¡Ë¤Ç¤¹¤«¤é¡¢MS-DOS ¤ò 350MB ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó
<CODE>/dev/hda1</CODE> ¤Ë¡¢Linux ¤Î¥ë¡¼¥È¤ò 120MB ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó
<CODE>/dev/hda2</CODE> ¤ËÃÖ¤¤¤Æ¤¤¤Þ¤¹¡£
<P>¡ÊÌõÃí¡§¥Ð¥¤¥È¿ô¤òɽ¸½¤¹¤ëºÝ¤Ë¤Ï¡¢K = 1024¡Ê¤Ä¤Þ¤ê 1KB = 1024¡Ë¤È¤¤¤¦·è
¤Þ¤ê¤¬¤¢¤ê¤Þ¤¹¤¬¡¢M = 1024KB ¤È¤¤¤¦·è¤Þ¤ê¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤Ç¤¹¤«¤é³Æ HDD ¥á¡¼
¥«¡¼¤Ï M = 1000KB ¤È¤·¤Æ HDD ¤ÎÍÆÎ̤òɽ¤·¤Æ¤¤¤Þ¤¹¡£¤Á¤Ê¤ß¤Ë¡¢k ¤È¾®Ê¸»ú
¤Çµ½Ò¤·¤¿¾ì¹ç k = 1000 ¤È¤Ê¤ê¤Þ¤¹¡Ë
<P>
<P>Çã¤Ã¤Æ¤¤¿¤Ð¤«¤ê¤Î¥É¥é¥¤¥Ö¤Ç¤Ï¡¢MS-DOS ¤Ï¼«Ê¬¼«¿È¤òÀµ¾ï¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹
¤ë¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿¡£Novell DOS 7 ¤Ë¤âƱ¤¸ÌäÂ꤬¤¢¤ê¤Þ¤·¤¿¡£¤µ¤é¤Ë
¹¬±¿¤Ê»ö¤Ë¡¢"IBM ¤ÎÁªÄêÀè" ¤Ï "OnTrack" ¥Ç¥£¥¹¥¯¤ò¥É¥é¥¤¥Ö¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î
Ãæ¤ËÆþ¤ì˺¤ì¤Æ¤¤¤Þ¤·¤¿¡£¥É¥é¥¤¥Ö¤Ë¤Ï "OnTrack Disk Manager" ¤È¤¤¤¦À½Éʤ¬
ÉÕ°¤·¤Æ¤¤¤ë¤Ï¤º¤Ç¤·¤¿¡£MS-DOS ¤·¤«»ý¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤½¤ì¤ò»È¤¦É¬Íפ¬¤¢
¤ë¤Ç¤·¤ç¤¦¡£
<P>¡ÊÌõÃí¡§¤ª¤½¤é¤¯¥É¥é¥¤¥Ö¤¬ IBM À½¤Ç¡¢IBM ¤¬¥Ñ¥Ã¥±¡¼¥¸¥ó¥°¤òȯÃí¤·¤Æ¤¤¤ë
²ñ¼Ò¡¿¹©¾ì¤¬¥Þ¥Ë¥å¥¢¥ë¤òÆþ¤ì˺¤ì¤¿¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¡Ë
<P>
<P>¤½¤³¤Ç¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ò Linux ¤«¤éºî¤ê¤Þ¤·¤¿¤¬¡¢MS-DOS 6.2 ¤Ï
<CODE>/dev/hda1</CODE> ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë»þ¤Ë ``this release of MS-DOS is
for new installations. Your computer already has MS-DOS so you need to
get an upgrade release from your dealer.'' ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ
¤·¤¿¡£¤Ç¤¹¤¬¡¢¤³¤Î¥Ç¥£¥¹¥¯¤Ï¿·ÉʤǤ·¤¿¡£
<P>¡ÊÌõÃí¡§¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤ò¤¢¤¨¤ÆÌõ¤¹¤È¤¹¤ë¤È¡¢``¤³¤Î¥ê¥ê¡¼¥¹¤Î MS-DOS ¤Ï
¿·µ¬¥¤¥ó¥¹¥È¡¼¥ëÍѤǤ¹¡£¥³¥ó¥Ô¥å¡¼¥¿¡¼¤Ë¤Ï¤¹¤Ç¤Ë MS-DOS ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ
¤ì¤Æ¤¤¤Þ¤¹¡£¥¢¥Ã¥×¥°¥ì¡¼¥ÉÈǤòÆþ¼ê¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£''¤Ç¤·¤ç¤¦¤«¡£ÆüËÜ
¸ìÈÇ MS-DOS ¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢³Îǧ¤Ï¤Ç¤¤Þ¤»¤ó¤¬¡£¤´Â¸¤¸¤ÎÊý¤ÏËÝÌõ¼Ô
(cz8cb01@linux.or.jp)¤Þ¤Ç¤´°ìÊó¤ò :-)¡Ë
<P>
<P>¤Ê¤ó¤Æ¤³¤Ã¤¿¡£¤½¤ì¤«¤é Linux ¤Î fdisk ¤òºÆ¤Ó¼Â¹Ô¤·¤ÆºîÀ®¤·¤¿¥Ñ¡¼¥Æ¥£¥·¥ç
¥ó 1 ¤òºï½ü¤·¤Þ¤·¤¿¡£¤³¤ì¤Ç MS-DOS 6.2 ¤¬Ëþ¤·¤¿¤Î¤«¡¢¤¤¤Þºï½ü¤·¤¿¤Î¤È
¤Þ¤Ã¤¿¤¯Æ±¤¸¥Ñ¡¼¥Æ¥£¥·¥ç¥ó 1 ¤òºîÀ®¤¹¤ë¤È¡¢¤½¤³¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤Þ¤·¤¿¡£
MS-DOS 6.2 ¤Ï¤½¤Î¥É¥é¥¤¥Ö¤Î MBR ¤Ë½ñ¤¹þ¤ß¤Þ¤·¤¿¤¬¡¢¥Ö¡¼¥È¤¹¤ë¤³¤È¤Ï¤Ç¤
¤Þ¤»¤ó¤Ç¤·¤¿¡£
<P>
<P>¹¬¤¤¡¢Slackware ¤Î¥«¡¼¥Í¥ë¤¬¥Õ¥í¥Ã¥Ô¡¼¡ÊSlackware ¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à
¤Î "setup" ¤Çºî¤é¤ì¤¿¤â¤Î¡Ë¤Ë¤¢¤Ã¤¿¤Î¤Ç¡¢Linux ¤ò¥Ö¡¼¥È¤·¤Æ Lilo ¤Ç
MS-DOS ¤Î²õ¤ì¤¿ MBR ¤ò¾å½ñ¤¤·¤Þ¤·¤¿¡£¤³¤ì¤Ï¤¦¤Þ¤¯¤¤¤¤Þ¤·¤¿¡£¤³¤ì¤¬»È
ÍѤ·¤¿ <CODE>/etc/lilo.conf</CODE> ¤Ç¤¹¡£
<P>
<P>
<PRE>
boot = /dev/hda
map = /lilo-map
delay = 100
ramdisk = 0 # Slackware ¥«¡¼¥Í¥ë¤Î¥é¥à¥Ç¥£¥¹¥¯¤ò¥ª¥Õ
timeout = 100
prompt
disk = /dev/hda # BIOS ¤Ï»Ï¤á¤Î 500MB ¤Î¤ßǧ¼±
bios = 0x80 # 1 ÈÖÌܤΠIDE ¤ò»ØÄê
sectors = 63 # ¥É¥é¥¤¥Ö¤Î¥Þ¥Ë¥å¥¢¥ë¤«¤é¤³¤Î¿ôÃͤòÄ´¤Ù¤Æ¤¯¤À¤µ¤¤
heads = 16
cylinders = 2100
image = /vmlinuz
append = "hd=2100,16,63"
root = /dev/hda2
label = linux
read-only
vga = extended
other = /dev/hda1
label = msdos
table = /dev/hda
loader = /boot/chain.b
</PRE>
<P>
<P>¤³¤ì¤é¤Î¥·¥¹¥Æ¥à¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¸å¡¢zImage, boot.b, map, chain.b ¤ª¤è
¤Ó ¥á¥Ã¥»¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬ msdos fs¡Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¡Ë
¤ò¡¢"stackered" ¤ä "doublespaced" ¤µ¤ì¤Æ¤¤¤Ê¤¤¸Â¤ê¡¢»ÈÍѤǤ¤ë¤³¤È¤ò³Îǧ
¤·¤Þ¤·¤¿¡ÊÌõÃí¡§"stackered" ¤Ï Stacker¡¢"doublespaced" ¤Ï Double Space
¤Ç°µ½Ì¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î»ö¤Ç¤·¤ç¤¦¡£²û¤«¤·¤¤¤Ç¤¹¤Í¡Ê¾Ð¡Ë¡Ë¡£¤³
¤ì¤Ç¡¢DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò <CODE>/dev/hda1</CODE> 500MB ¤ËºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤
¤Þ¤·¤¿¡£
<P>
<P>»ä¤Ï "OnTrack" ¤¬¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤òÀèƬ¤«¤é¤Ç¤Ï¤Ê¤¯¿ô½½¥Ð¥¤¥ÈÀ褫
¤é½ñ¤¤¤Æ¤·¤Þ¤¦¤³¤È¤òÃΤäƤ¤¤Þ¤·¤¿¡£¤³¤ÎÌäÂê¤Ï Linux ¤Î IDE ¥É¥é¥¤¥Ð¤ò¥Ï¥Ã
¥¯¤¹¤ë¤³¤È¤ÇÂнè¤Ç¤¤Þ¤¹¤¬¡¢¥³¥ó¥Ñ¥¤¥ëºÑ¤ß¤Î Slackware ¥«¡¼¥Í¥ë¤Ç¤Ï¥¤¥ó
¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿¡£ºÇ½ªÅª¤Ë¡¢IBM ¤Ï "OnTrack" ¥Ç¥£¥¹¥¯
¤òÁ÷¤Ã¤Æ¤¤Þ¤·¤¿¡£OnTrack ¤Î¥Æ¥¯¥Ë¥«¥ë¥µ¥Ý¡¼¥È¤ËÅÅÏä·¤¿¤È¤³¤í¡¢Linux ¤Ï
BIOS ¤ò»È¤ï¤Ê¤¤¤«¤é·ç´ÙÉʤÀ¤È¸À¤ï¤ì¤Þ¤·¤¿¡£¤³¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ïï
¤«¤Ë¤¢¤²¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
<P>¡ÊÌõÃí¡§¤¤¤Ä¤«¤é¼ÂÁõ¤µ¤ì¤¿¤Î¤«¤ÏÃΤê¤Þ¤»¤ó¤¬¡¢¸½ºß¤Ç¤Ï Linux ¤Îɸ½à¥«¡¼
¥Í¥ë¤Ë DiskManager ¤ä EZ Drive ¤ËÂбþ¤¹¤ë¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£
drivers/block/genhd.c ¤ò¸«¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£¤¿¤·¤« 2.0.27 ¤¢¤¿¤ê¤Ë¤Ï´û¤Ë
¤¢¤Ã¤¿¤Ï¤º¡£¥½¡¼¥¹¥³¡¼¥ÉÃæ¤Î¥³¥á¥ó¥È¤Ë¤Ï¤³¤Î¤è¤¦¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£DM6
¤Ï Ontrack DiskManager 6 ¤Î°ÕÌ£¤À¤È»×¤¦¡Ë
<P>
<PRE>
if (SYS_IND(p) == EZD_PARTITION) {
/*
* The remainder of the disk must be accessed using
* a translated geometry that reduces the number of
* apparent cylinders to less than 1024 if possible.
*
* ide_xlate_1024() will take care of the necessary
* adjustments to fool fdisk/LILO and partition check.
*/
¡ÊÃæά¡Ë
} else if (SYS_IND(p) == DM6_PARTITION) {
/*
* Everything on the disk is offset by 63 sectors,
* including a "new" MBR with its own partition table,
* and the remainder of the disk must be accessed using
* a translated geometry that reduces the number of
* apparent cylinders to less than 1024 if possible.
*
* ide_xlate_1024() will take care of the necessary
* adjustments to fool fdisk/LILO and partition check.
</PRE>
<P>
<HR>
<A HREF="LILO-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO.html#toc6">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|