[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:23221] Plamo-4.0: カーネル再構築後、起動トラブル
-
From:DH.Shioza
-
Date:Tue, 20 Jul 2004 00:30:11 +0900 (JST)
- Subject: [plamo:23221] Plamo-4.0: カーネル再構築後、起動トラブル
- From: "DH.Shioza" <dh.shiozaki@xxxxxxxxxxxxx>
- Date: Tue, 20 Jul 2004 00:28:43 +0900
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0; hi, Mom) Gecko/20020604
汐崎と申します。
Plamo-4.0 をインストールし、使っています。
カーネル(Linux-2.4.26-plamo)を、再構築は、できましたが、
以下の様な、起動トラブルに逢っています。
宜しくお願いします。
---
起動(Boot)はしますが、途中で異常トラブルに逢っています。
(以下関連ありそうな情報を記します。
ぺん写しですので、正確ではありませんことをお断りします)
:::
EXT3-fs: mounted root(ext3 filesystem) readonly
Mounted devfs on /dev
:::
INIT: version 2.85 booting
/etc/rc.d/rc.S: line 28: Testing filesystem status: Read-only \
file system
fsck 1.34 (25-Jul-2003)
fsck.ex3 No such file or directory while trying to open /dev/hdb3
/dev/hdb3:
The superblock could not be read or does not describe a correct \
ext2 filesystem. If the device is valid and it really contain an \
ext2 filesystem (and not swap or ufs or something else), then the \
superblock is corrupt, and you might try running e2fsck \
an alternate superblock e2fsck -b 8193 <device>
:::
**--**
fsck returned code -REBOOT NOW!
**--**
:::::
Give root password for maintenance <=(1)
(or type Cotrol-D normal started): <=(2)
---
(2)の場合、ログインの手前で停止(Ctrl+Alt+Del でリブート)
(1)の場合
前回、上記指示を参考に、/sbin/fsck -t ext3 /dev/hdb3
を実行しましたが、正常に終了したと思います(曖昧な記憶)
少なくとも、同じファイルシステム(EXT3)の
Plamo-4.0-Original は、通常の起動をしています。
# EXT3 を選択したのが、いかなかったのでしょうか?
~:# runlevel
3 0
~:# ls -lF /fsck*
fsck* fsck.ext2* fsck.ext3* ...
----
現状は、Plamo-4.0-Original の環境で参考情報です。
$ grep CONFIG_EXT /usr/src/linux-2.4.26/.config
CONFIG_EXT3_FS=y
CONFIG_EXT2_FS=y
$ cat /etc/rc.d/rc.S の一部
27 READWRITE=no
28 if echo -n >> "Testing filesystem status"; then
29 rm -f "Testing filesystem status"
30 READWRITE=yes
31 fi
33 # Check the integrity of all filesystems
34 if [ ! $READWRITE = yes ]; then
35 /sbin/fsck -A -a -C
36 # If there was a failure, drop into single-user mode.
37 if [ $? -gt 1 ] ; then
38 echo
39 echo
40 echo "**************************************"
41 echo "fsck returned error code - REBOOT NOW!"
42 echo "**************************************"
43 echo
44 echo
45 /sbin/sulogin
46 fi
---
カーネルの再構築は、インストールしたPlamo-4.0 上で行いました。
# make xconfig(初回は起動失敗、
# make menuconfig をしたあとでは起動する様になりました)
# make dep ; make clean ; make bzImage, make modules \
; make medules_install
##このログはあります。(膨大)
# cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
---
boot loader は grub を使いました。
# cd /boot/grub
# grub-install --force-lba --root-directory=/boot --recheck /dev/hdb3
==
以上ですが、宜しくお願いします。
---
汐崎: dh.shiozaki(at)s3.dion.ne.jp
Please replace (at) by @.
- Follow-Ups
-
- [plamo:23222] Re: Plamo-4.0: カーネル再構築後、起動トラブル, Kazuki Takemura
[検索ページ]
[メール一覧]
Plamo ML 公開システム