ide보드를 이용하여 이지보드m01에 하드를 달려고 하는데요
보드 구입시 제공된 시디 안의 fdisk, mke2fs, e2fsck 를 이용하여 작업을 했
는데요
fdisk를 이용하여 파티션은 잘 잡히는듯 합니다.
빈파티션이 딸려 붙지만요
그런다음 ext2파일시스템으로 포맷을 해주면 장착된 가 동작을 합니다.
그런데 작업이 끝나고 마운트를 시키면 슈퍼블록 어쩌고 하면서 마운트가 되
지 않습니다.
e2fsck를 이용하여 하드를 검사하여도 제대로 수행이 되지 않습니다.
아래는 작업 결과와 에러 메세지 입니다.
조언 부탁드립니다


[root@ezboard ide]
$ ./fdisk /dev/hda


The number of cylinders for this disk is set to
4994.
There is nothing wrong with that, but this is larger than
1024,
and could in certain setups cause problems
with:
1) software that runs at boot time (e.g., old versions of
LILO)
2) booting and partitioning software from other
OSs
(e.g., DOS FDISK, OS/2
FDISK)


Command (m for help):
p


Disk /dev/hda: 16 heads, 63 sectors, 4994
cylinders
Units = cylinders of 1008 * 512
bytes


Device Boot Start End Blocks Id
System
/dev/hda1 1 4978 2508752+ 83
Linux
/dev/hda2 1 1 0 0
Empty
Partition 2 does not end on cylinder
boundary:
phys=(0, 0, 0) should be (0, 15, 63)

[root@ezboard ide]
$ ./mke2fs /dev/hda1
mke2fs 1.27 (8-Mar-
2002)
Filesystem
label=
OS type:
Linux
Block size=4096
(log=2)
Fragment size=4096
(log=2)
313600 inodes, 627188
blocks
31359 blocks (5.00%) reserved for the super
user
First data
block=0
20 block
groups
32768 blocks per group, 32768 fragments per
group
15680 inodes per
group
Superblock backups stored on
blocks:
32768, 98304, 163840, 229376,
294912


Writing inode tables:
done
Writing superblocks and filesystem accounting information:
done


This filesystem will be automatically checked every 26 mounts
or
180 days, whichever comes first. Use tune2fs -c or -i to
override.
[root@ezboard ide]$

[root@ezboard /]$
mkdir /hda
[root@ezboard /]$
ls
home dev etc var usr lib sbin bin root qt tmp mnt
proc
hda

[root@ezboard /]$ mount -t
ext2 /dev/hda1 /hda
VFS: Can't find ext2 filesystem on dev ide0
(3,1).
mount: wrong fs type, bad option, bad superblock
on /dev/hda1,
or too many mounted file
systems
[root@ezboard /]$

[root@ezboard ide]
$ ./e2fsck /dev/hda1
e2fsck 1.27 (8-Mar-
2002)
Couldn't find ext2 superblock, trying backup
blocks...
./e2fsck: Bad magic number in super-block while trying to
open /dev/hda1


The superblock could not be read or does not describe a correct
ext2
filesystem. If the device is valid and it really contains an
ext2
filesystem (and not swap or ufs or something else), then the
superblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
e2fsck -b 8193



[root@ezboard ide]$