View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#80
Two things to worry about:
From your first message:
/dev/mmcblk0p2 2.0G 16777216.0T 2.5G 100% /home
/home/opt 2.0G 16777216.0T 2.5G 100% /opt
and from the second message
/home/user # ls -al /home/user/MyDocs
ls: /home/user/MyDocs: Stale NFS file handle
/home/user # umount -f /home/user/MyDocs
umount: cannot forcibly umount /home/user/MyDocs: Stale NFS file handle
indicate that the actual problem is the optfs partition /dev/mmcblk0p2. There is no way to fsck this partition from inside the running maemo system.

There are couple of external (not maemo) solutions possible:

First: It might be the quickest method to fsck the partition from nitdroid, if you already have it installed on external memory card. Nitdroid does have terminal apps and root enabling apps as well. I am not that familiar with nitdroid , you may have to ask about that in a fresh new thread!

Second: You may install BackupMenu application to fsck from BackupMenu, but the capabilities of that file system check are limited, it might be necessary to connect the N900 from BackupMenu to a running linux system, may that be a virtual machine, a Live-CD or an installed linux.

Third: There is also R&D- mode for kernel-power with some shell capabilities, but again i never played with that

Here is a walkthrough for those steps for method #2:
Download Gparted-Live-CD.iso file or any Linux-Live-CD image containing gparted application
Burn Gparted-Live-CD to CD or DVD
Install Backupmenu to your N900
Reboot the N900 with keyboard ejected
In Bootmenu type 'w' to export the partitions in read/write-mode
Boot your PC from the Live-CD
If necessary start gparted
Choose the device (hard disk) in the upper right drop down menu should be some 30GB size.
Right click the first partition (approx27GB) and choose 'Resize or Move', use the right handle to shrink the partition.
Click 'Resize'-button (Dont worry you will be asked to apply actions later)
Right click on the second partition (approx.2GB) and choose 'Resize or Move', use the left handle to fill the free space created by the first resizing.
Do not touch the third, aka swap-partition.
Now click apply in the upper toolbar and accept the changes to be applied.
If everything is resized successfully, shut down the PC
On the N900 press 'q' to quit backupmenu and restart Maemo.
And some additional steps to get the same method working in a virtual maschine:
Start VBox, setup the virtual machine, but wait before launching it for the N900.
Shutdown your N900, restart it with keyboard out to have the menu to start BackupMenu.
In BackupMenu hit the 'w' to export the partitions 'read/write'.
In Windows close all the Explorer pop-ups, then configure the USB-rules in VBox. Add the NokiaN900 and every UnknownDevice, if any to your virtual Debian. Start the virtual machine to the desktop.
Now in Windows 'Remove safely' the N900 device through the status bar icon, but do not pull the cable! On your N900 press again 'w' to stop 'read/write'-mode, wait a couple of seconds to again enable 'read/write' with 'w'. Now the virtual machine picks up the USB-devices correctly. Start Gparted on the virtual machine and do what have to be done.
Though it might sound really complex, it may be done in 30 to 40 minutes.

Last edited by michaaa62; 2011-12-12 at 21:51.
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post: