深澤と申します。
VineLinux2.5 を利用させていただいています。
少々困った点がありまして、お知恵を拝借したく思います。
新規インストール後、PartitionMagic か ntldrを使って、ルートパーティションに
入れた lilo を起動しようとしています。
ファイルシステム 1k-ブロック 使用中 空き 使用% マウント場所
/dev/hdb3 4127108 2081940 1835520 54% /
/dev/hdb2 521780 12492 482784 3% /boot
/dev/hdb6 1035660 214520 768532 22% /var
こういう状態にしております。
1024シリンダの制限を恐れて、/boot のみを別パーティションにしています。
/dev/hdb1 には WindowsNT の FAT16 です。
/dev/hda がないのは、元々そこにあったディスクが壊れたので外しているか
らです。
これで起動した際、LILO のプロンプトが LI で停止してしまいます。
この場合、MBR に登録されているプログラムから LILO の起動自体は成功しても
LILO の second loader が起動出来ないのだろう、という点までは理解しまし
た。
そこで lilo -v -v -v を実行したところ、
Secondary loader: 0 sectors.
という行を発見しました。
どうやら secondary loader が存在しないか見つからないのでしょうが
対処法が分かりません。
# ジオメトリがおかしくなっているのではとも思うのですが、
# これを再インストールなしで修復する方法も判りません。
一体なぜこういう状態になってしまっているのでしょう?
対処法がありましたら、ポインタだけでもご教授頂けると幸いです。
以下に、 lilo.conf の内容と、 lilo -v -v -v の結果を張り付けておきます。
---
M.Fukasawa
--- lilo.conf ----------------------------------------------------
prompt
timeout=50
default=linux
#boot=/dev/hdb2
boot=/dev/hdb2
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
#linear
disk = /dev/hdb
bios = 0x81
sectors = 63
heads = 255
partition = /dev/hdb1
start = 63
partition = /dev/hdb2
start = 128520
partition = /dev/hdb3
# start = 1188810
# partition = /dev/hdb4
# start = 9574740
image=/boot/vmlinuz-2.4.18-0vl3smp
label=linux
initrd=/boot/initrd-2.4.18-0vl3smp.img
read-only
root=/dev/hdb3
image=/boot/vmlinuz-2.4.18-0vl3
label=linux-up
initrd=/boot/initrd-2.4.18-0vl3.img
read-only
root=/dev/hdb3
image=/boot/vmlinuz-2.2.20-0vl10
label=linux-2.2-up
initrd=/boot/initrd-2.2.20-0vl10.img
read-only
root=/dev/hdb3
other=/dev/hdb1
optional
label=win
--- lilo -v -v -v ------------------------------------------------
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman
Reading boot sector from /dev/hdb2
Warning: /dev/hdb2 is not on the first disk
Device 0x0340: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 0 sectors.
Merging with /boot/boot.b
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
Secondary loader: 0 sectors.
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
Mapping message file /boot/message
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
Message: 0 sectors.
Boot image: /boot/vmlinuz-2.4.18-0vl3smp
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
Setup length is 10 sectors.
Mapped 0 sectors.
Mapping RAM disk /boot/initrd-2.4.18-0vl3smp.img
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
RAM disk: 0 sectors.
Added linux *
<dev=0xb1,hd=2,cyl=100,sct=168>
"ro root=343 BOOT_FILE=/boot/vmlinuz-2.4.18-0vl3smp"
Boot image: /boot/vmlinuz-2.4.18-0vl3
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
Setup length is 10 sectors.
Mapped 0 sectors.
Mapping RAM disk /boot/initrd-2.4.18-0vl3.img
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
RAM disk: 0 sectors.
Added linux-up
<dev=0xb1,hd=2,cyl=100,sct=195>
"ro root=343 BOOT_FILE=/boot/vmlinuz-2.4.18-0vl3"
Boot image: /boot/vmlinuz-2.2.20-0vl10
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
Setup length is 8 sectors.
Mapped 0 sectors.
Mapping RAM disk /boot/initrd-2.2.20-0vl10.img
Device 0x0342: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 128520 sectors.
RAM disk: 0 sectors.
Added linux-2.2-up
<dev=0xb1,hd=2,cyl=100,sct=221>
"ro root=343 BOOT_FILE=/boot/vmlinuz-2.2.20-0vl10"
Boot other: /dev/hdb1, on /dev/hdb, loader /boot/chain.b
Device 0x0341: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 63 sectors.
Device 0x0340: BIOS drive 0x81, 255 heads, 1024 cylinders,
63 sectors. Partition offset: 0 sectors.
Mapped 6 (4+1+1) sectors.
Added win
<dev=0xb1,hd=2,cyl=100,sct=246>
/boot/boot.0342 exists - no backup copy made.
Map file size: 44544 bytes.
Writing boot sector.
----- fdisk -l -------------------------------------------------------
ディスク /dev/hdb: ヘッド 255, セクタ 63, シリンダ 3737
ユニット = シリンダ数 of 16065 * 512 バイト
デバイス ブート 始点 終点 ブロック ID システム
/dev/hdb1 1 8 64228+ 16 隠し FAT16
/dev/hdb2 * 9 74 530145 83 Linux
/dev/hdb3 75 596 4192965 83 Linux
/dev/hdb4 597 3737 25230082+ f Win95 拡張領域 (LBA)
/dev/hdb5 597 727 1052194+ 82 Linux スワップ
/dev/hdb6 728 858 1052226 83 Linux
/dev/hdb7 859 3737 23125536 7 HPFS/NTFS