Active Topics

 


Reply
Thread Tools
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#11
Try unmounting MyDocs then running 'fsck'. There are some threads about it on TMO. Remember to run/repeat the check until no errors are reported.
 

The Following 2 Users Say Thank You to demolition For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#12
Originally Posted by demolition View Post
Try unmounting MyDocs then running 'fsck'. There are some threads about it on TMO. Remember to run/repeat the check until no errors are reported.
Thank You.
This is what I tired in the first post.

HTML Code:
sudo gainroot
umount /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
I got the standard error that it was unmounted. fsck told me that cluster size was zero, peterleinchen recognized that as a red flag. Also mount complained about a Invalid argument.

After trying to run (backupmenu) fsck yesterday. I notice that it displays unknow file system or something like that when I reboot now. I noticed that symptom in other threads.
 
Posts: 159 | Thanked: 68 times | Joined on Sep 2011 @ India
#13
try this..
Code:
umount /home/user/MyDocs
fsck -a /home/user/MyDocs
and reboot..
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#14
With
Cluster size is zero.
error message the is no access on file system layer anymore. There is no mount, umount or fsck.whatsoever!

Try to copy the partition table back with the dd command i pm'ed to you to get it, hopefully, working. Or, in some cases, you could try to recover files with testdisk and then reformat the file system.

Edit: Not the partition table, but the backup of the first sector will be copied.

Last edited by michaaa62; 2011-12-09 at 14:56.
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#15
Given that the problem is with the FAT32 filesystem on the partition itself, i.e. not a problem with the partition table or with the rest of the system, my best bet would be to do the chkdsk under Windows (from the disk manager).

You had that even in your first post "it recognizes the N900 as Removal Disk G and H but I can't explore." Doesn't it let you check the file system for errors?
 

The Following 3 Users Say Thank You to reinob For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#16
Originally Posted by michaaa62 View Post
With error message the is no access on file system layer anymore. There is no mount, umount or fsck.whatsoever!

Try to copy the partition table back with the dd command i pm'ed to you to get it, hopefully, working. Or, in some cases, you could try to recover files with testdisk and then reformat the file system.
Thank You
First I want to try pusak gaoq's suggestion to download Gparted Live CD to my windows laptop. Then I'll run backupmenu (mass storage mode) and connect it to my laptop.

If that fails then
HTML Code:
sudo gainroot
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
fsck -af /dev/mmcblk0p1
fsck -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
If that fails then testdisk application from the package recovery-tools followed by a reformat of the file system. I assume testdisk does the reformat? Thanks for letting me know that cluster size is zero means there is no access on the file system.

@reinob
When I checked a few days ago it wouldn't let me check the file system for errors. But since yesterday's debugging produced a new unknown file system error message on reboot I'll try again.
 

The Following 2 Users Say Thank You to fidel For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#17
Originally Posted by reinob View Post
Given that the problem is with the FAT32 filesystem on the partition itself, i.e. not a problem with the partition table or with the rest of the system, my best bet would be to do the chkdsk under Windows (from the disk manager).

You had that even in your first post "it recognizes the N900 as Removal Disk G and H but I can't explore." Doesn't it let you check the file system for errors?
And right you are!
It is the backup of the first sector of the partition, which should be copied with dd on low level.
I edited the above post.

Last edited by michaaa62; 2011-12-09 at 14:57.
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#18
Finally my N900 is back!
It was tiring of having a cell phone that can only make phone calls.

Michaaa62's code did the trick.

GParted recognized the 4 partitions but identified dev/sdb1 as unknown and flagged it as "lba" and could not do anything with it. I also tired testdrive, it found some clusters but could not do anything.

fsck got rid of most of the errors. But left one stubborn one. I let windows run all night to fix that one. And then in the morning ran fsck again, where it found and fixed a new error.

Thank You everyone for all your help.
 
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#19
gud to hear that you have solved your problem.....

please edit your first post in this thread & add [SOLVED] infront of your thread title....

thank you...
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 

The Following User Says Thank You to pusak gaoq For This Useful Post:
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#20
What would the ideal way be to repair a problematic /home/user/MyDocs partition if you have broken the USB porto on your N900?

I did
<i>
sudo umount /dev/mmcblk0p1
sudo fdisk -af /dev/mmcblk0p1
sudo fdisk -r /dev/mmcblk0p1
sudo reboot
</i>
woops, I mean (fsck not fdisk!)

sudo umount /dev/mmcblk0p1
sudo fsck -af /dev/mmcblk0p1
sudo fsck -r /dev/mmcblk0p1
sudo reboot

Curious if dosfsck does anything more, with my old zaurus I remember using e2fsck for ext2 and it being more powerful than straight fsck if my ext2 formatted SD card got hosed by a broken transfer or something

This did the trick on todays problem but I would like to know if there are further fsck or dosfsck tricks to clean out a file system when I cant use another machine for whatever reason. I know I have had better results with the Ubuntu disk utility than either my laptops fsck or gparted.

Last edited by biketool; 2012-09-23 at 13:37. Reason: incorrect text
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:07.