Active Topics

 


Reply
Thread Tools
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#21
restoration process ended

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
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#22
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 try
Code:
sudo gainroot
umount /home/user/MyDocs
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
If 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.

Please feel free to ask if errors occur or if further questions arise.
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#23
HI michaaa62 i just want to thank you for your efforts over this thread im sure this will still useful for ever
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 

The Following User Says Thank You to sifo For This Useful Post:
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#24
Originally Posted by michaaa62 View Post
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 try
Code:
sudo gainroot
umount /home/user/MyDocs
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
If 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.

Please feel free to ask if errors occur or if further questions arise.

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 # umount /home/user/MyDocs
/home/user # fsck -af /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 28995223040:Invalid argument
/home/user #
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#25
Please show the content of your partition table again
Code:
sudo gainroot
sfdisk -l /dev/mmcblk0
You might try to check the file system with the repair option
Code:
sudo gainroot
umount /home/user/MyDocs
fsck -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
 
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#26
Originally Posted by michaaa62 View Post
Please show the content of your partition table again
Code:
sudo gainroot
sfdisk -l /dev/mmcblk0
You might try to check the file system with the repair option
Code:
sudo gainroot
umount /home/user/MyDocs
fsck -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs


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 #
 
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#27
Originally Posted by rajanmb2005 View Post
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 #


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 # umount /home/user/MyDocs
/home/user # fsck -r /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 28995223040:Invalid argument
/home/user #
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#28
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?

Last edited by michaaa62; 2012-04-22 at 10:18. Reason: Removed a question
 
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#29
Originally Posted by michaaa62 View Post
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?
Originally Posted by rajanmb2005 View Post
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 #
sorry i cant understand

The above was the one i ve done last when i follow the echo test

what should i should next waiting for the solution friend
 
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#30
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

sfdisk --no-reread /dev/mmcblk0 < table

plz expain the steps

after the above said

how should i apply to the file system to the MyDocs partition and add the fifth partition inside the extended fourth partition
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:54.