Hi guys!
My problem is i just ran fsck on my jailbroken iPhone 3G (4.2.1), expecting it to give me the all-clear, but it returned this:
Code:
Harrys-iPhone:~ root# fsck
** /dev/rdisk0s1
** Root file system
Executing fsck_hfs (version diskdev_cmds-488.1.7~391).
** Verifying volume when it is mounted with write access.
** Checking non-journaled HFS Plus Volume.
** Detected a case-sensitive volume.
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** The volume Jasper8C148.iPhoneOS appears to be OK.
** /dev/rdisk0s2 (NO WRITE)
Executing fsck_hfs (version diskdev_cmds-488.1.7~391).
** Verifying volume when it is mounted with write access.
** Checking non-journaled HFS Plus Volume.
** Detected a case-sensitive volume.
** Checking extents overflow file.
** Checking catalog file.
Incorrect number of thread records
(4, 223)
Invalid leaf record count
(It should be 157393 instead of 157390)
** Checking multi-linked files.
** Checking catalog hierarchy.
Invalid node structure
(4, 1)
Missing thread record (id = 126548)
Invalid directory item count
(It should be 0 instead of 1)
Invalid node structure
(4, 1)
Missing thread record (id = 126430)
Invalid node structure
(4, 1)
Missing thread record (id = 126496)
Invalid directory item count
(It should be 0 instead of 1)
Invalid volume file count
(It should be 73104 instead of 73109)
** Checking extended attributes file.
** Checking volume bitmap.
Volume bitmap needs minor repair
** Checking volume information.
Invalid volume free block count
(It should be 1967269 instead of 1967270)
** The volume Data was found corrupt and needs to be repaired.
/dev/rdisk0s2 (hfs) EXITED WITH SIGNAL 8
My iphone does take a long time to boot, so i was wondering if this was the reason. If so, how can i repair it 
Thanks in advance