The results are the same (below). The e2fsck did find a couple of
errors and fixed them.
Just to be sure, I tried booting the Soekris board with the CF card
after the errors were corrected. It worked fine.
Could this be a problem with kernel versions? I'm running Ubuntu
8.04.1 (2.6.24-22). The Pyramid kernel is 2.6.19.2.
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# umount /dev/sdb1
umount: /dev/sdb1: not mounted
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# e2fsck /dev/sdb1
e2fsck 1.40.8 (13-Mar-2008)
/dev/sdb1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 8224, i_blocks is 20, should be 4. Fix<y>? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(35598--35599)
Fix<y>? yes
Free blocks count wrong for group #4 (6864, counted=6866).
Fix<y>? yes
Free blocks count wrong (187773, counted=187775).
Fix<y>? yes
/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb1: 2199/62744 files (0.6% non-contiguous), 62321/250096 blocks
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# mkdir /home/
admin
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# mkdir /home/
admin/images
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# mkdir /mnt/
myimage
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# dd if=/dev/sdb
of=/home/admin/images/image.img
1000944+0 records in
1000944+0 records out
512483328 bytes (512 MB) copied, 88.3145 s, 5.8 MB/s
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# losetup -o
16384 /dev/loop0 /home/admin/images/image.img
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# mount /dev/
loop0 /mnt/myimage
root@lws2:/home/brich/dev/AirLynx/Scripts/CF Scripts# cd /mnt/myimage
root@lws2:/mnt/myimage# ls
ls: cannot access ..: No such file or directory
ls: cannot access
.q/: No such file or directory
ls: cannot access
..: No such file or directory
?.. ?.. ?.? boot?o.? lost+fou.nd ?.q/ rooti?.? ??.var ?
v.pro