[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:33120] Re: [Q] How to mkfs ext (NOT ext2)
佐野@浜松です。
In <20020522210218.BCDDE150D5@xxxxxxxxxxxx>,
on "Thu, 23 May 2002 06:01:25 +0900',
with "[debian-users:33089] Re: [Q] How to mkfs ext (NOT ext2)",
"help@xxxxxxxxx" <help@xxxxxxxxx> さん wrote:
> はい、 バージョンは 0.99.pl5-57 のようです。
なるほど。
> 手写しでは下記のような状態で止まります。
>
> Partition check
> hda: hda1 hda2 < >
パーティションは読めている、と。
ところで、これって
| HDD に dd で iso9660 を転送して起動
| したときは起動途中で多分 fstab を
| 読みこんだ後で、 CDROM を探しにいって
| 見つからなくてエラーを吐いて停止します。
の時のメッセージですよね。
> Ramdisk: 1228800 byetes, starting at 0x10ad00
> Loading 1228800 bytes (1200 blocks) into ram disk
> ..................................................................
> done
> XENIX-fs: magic match failed
> Linux version 0.99.pl5-57 (root@xxxxxxxxxxxxx) 02/14/93 12:07:46
yggdrasil ですか。名前だけは聞いたことが。
bootdisk とかは無いんですか ? 昔の Slackware だと
minix fs な boot/root の組み合わせでインストール
する仕組がありましたよね。
もしそれがあれば、先にその boot/root 中に含まれて
いるはずの fdisk/mkfs などを使って extfs を作成する
という方法が使えるかもしれません。
> Flushing buffers and inodes for Sony CDROM
> ll_rw_block: trying to read nonexistent block-device 0f00 (32)
> isofs_read_super: bread failed, dev 0xf00 iso_blknum 16
> ll_rw_block: trying to read nonexistent block-device 0f00 (32)
> isofs_read_super: bread failed, dev 0xf00 iso_blknum 16
> /dev/sonycd: Device or resource busy
> /dev/scd0: No Such Device
> /dev/scd1: No Such Device
> /dev/sda: No Such Device
> /dev/sdb: No Such Device
> Unable to mount system CD. Please insert Yggdrasil LGX beta CDROMand hit ENTER
> to continue.
> >その頃のものだと、現在のハードウェアではすんなりと動かない
> >可能性もあるかもしれません。
>
> 確かにおっしゃるようにハードウェアに何らかの
> 問題があるとは思っています。
> マザーボードの BIOS 設定では PCI をすべて disabled に
> して、実際に ISA だけで構成しようと考えています。
woody だと boch とか plex86 とかのパッケージもあるみたい
ですが、あのへんは使えないでしょうか。
> >> 2. mkfs するにも ext2 はすぐにもできますが、
> >> mkfs.ext なるものがあるか探せませんでした。
ちょっと昔の JE4 の中身を見てみましたが、そういえば
man page には mkfs.ext という記載があるけれども
実際の中身にはどうも入っていないみたいですね。
やはり ext2 が出現してからは ext は誰も使わないだろうと
いうことで消えてしまったのかも。
> Slackware 3.1 由来で 2.0.36 まで使っていた
> ものがありますので、試してみます。
カーネルのほうではサポートできるとしても、
まず mkfs.ext を見つけないと、そもそも作成
できないですね。
> >> ココまでにやってみたことは
> >> ext2 fs にくだんのファイル群を転送したが、
> >> カーネルが起動して fs を読みこむあたりと
> >> 考えていますが、途中で panic してます。
> >
> >カーネルのバージョンはいくつでしょう ?
>
> バージョンは 0.99.pl5-57 です。
ext2fs.FAQ (93/10/18) には
Q: After the two error messages, I see :
[EXT II FS 0.2c, 93/03/06, bs=1024, fs=1024, gc=##, bpg=##, ipg=####]
EXT2-fs warning: mounting unchecked file system
Does it mean that there is a problem with the file system ?
A: Usually no.
In fact, the ext 2 fs keeps a valid flag on the disk. This flag is set to
0 when the file system is mounted and set to 1 when it is unmounted. The
valid flag is checked by e2fsck to know if a file system needs checking (if
the flag is set to 1, e2fsck assumes that the file system is clean and does
not check it).
The root file system is the only fs which cannot be unmounted so the valid
flag is always set to 0. When booting, the kernel mounts it and checks its
valid flag. As this flag is set to 0, it displays a warning.
You can safely ignore this warning for the root file system. Note that it
is a good idea to run e2fsck on the fs.
Note that linux 0.99pl10 and above support unmounting the root file system
by remounting it in read-only mode. Remounting a file system read-only
restores the valid flag. To take advantage of it, you have to use the
bootutils package.
という記載があるので、0.99pl10 では ext2fs が使えるような
雰囲気なんですが、pl5-57 というのは pl10 より古いのかな。
> 一応 HDD も 2GB や 1GB 果ては
> 210MB や 540MB など各種とりそろえて
> 試しています。
> 昨晩は 2 枚目のマザーボードまで起動しなくなって
> 気を失うようにフテ寝しました。
お疲れさまです。うまくいったらまた教えてくださいね。
--
# (わたしのおうちは浜松市、アカウミガメのふるさとの街)
<kgh12351@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)