|
2012-04-21
, 21:00
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#22
|
sudo gainroot umount /home/user/MyDocs fsck -af /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs
|
2012-04-21
, 21:32
|
|
Posts: 1,359 |
Thanked: 1,292 times |
Joined on Oct 2011
@ Tartus.Syria
|
#23
|
The Following User Says Thank You to sifo For This Useful Post: | ||
|
2012-04-22
, 03:02
|
Posts: 27 |
Thanked: 1 time |
Joined on Mar 2011
@ india
|
#24
|
Do you really feel the need for another problem??? Thought you had enough of fun with NitDroid...
Sorry for that cheap joke
Read only files and non-removable folders indicate a corrupt file system. If these files are in MyDocs folder tryIf the files are in /home/user or /opt things will get more complicated, because you need to install backupmenu and boot from either BackupMenu entry and check the file system from there OR from an external PC.Code:sudo gainroot umount /home/user/MyDocs fsck -af /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs
Please feel free to ask if errors occur or if further questions arise.
|
2012-04-22
, 08:11
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#25
|
sudo gainroot sfdisk -l /dev/mmcblk0
sudo gainroot umount /home/user/MyDocs fsck -r /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs
|
2012-04-22
, 09:30
|
Posts: 27 |
Thanked: 1 time |
Joined on Mar 2011
@ india
|
#26
|
Please show the content of your partition table againYou might try to check the file system with the repair optionCode:sudo gainroot sfdisk -l /dev/mmcblk0Code:sudo gainroot umount /home/user/MyDocs fsck -r /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs
|
2012-04-22
, 09:59
|
Posts: 27 |
Thanked: 1 time |
Joined on Mar 2011
@ india
|
#27
|
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ sudo gainroot
Root shell enabled
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # sfdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 799999 799999 25599968 c W95 FAT32 (LBA)
/dev/mmcblk0p2 884865 950400 65536 2097152 83 Linux
/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 800000 884864 84865 2715680 5 Extended
/home/user #
|
2012-04-22
, 10:03
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#28
|
|
2012-04-22
, 10:24
|
Posts: 27 |
Thanked: 1 time |
Joined on Mar 2011
@ india
|
#29
|
The partition table looks fine.
Did you apply the file system to the partition via command line, a remote PC or the maemo HildonFileManager?
Edit: A quick search did not reveal any solution, but to apply a fresh new file system to the partition
Is that a viable solution for you?
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ sudo gainroot
Root shell enabled
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 51199936, Id=c
> /dev/mmcblk0p2 : start= 56631360, size= 4194304, Id=83
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 51200000, size= 5431360, Id= 5" > table
/home/user # sfdisk --no-reread /dev/mmcblk0 < table
Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 1 1 32 83 Linux
/dev/mmcblk0p2 884865 950400 65536 2097152 83 Linux
/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 800000 884864 84865 2715680 5 Extended
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/mmcblk0p1 64 51199999 51199936 c W95 FAT32 (LBA)
/dev/mmcblk0p2 56631360 60825663 4194304 83 Linux
/dev/mmcblk0p3 60825664 62398527 1572864 82 Linux swap / Solaris
/dev/mmcblk0p4 51200000 56631359 5431360 5 Extended
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
/home/user #
|
2012-04-22
, 11:09
|
Posts: 27 |
Thanked: 1 time |
Joined on Mar 2011
@ india
|
#30
|
here im in need of another problem
my old datas in the n900 could not be deleted
saying as read only file
"unable to delete" is the prompt message
somebody aware this solve me the problem
thanks