Active Topics

 


Reply
Thread Tools
Posts: 20 | Thanked: 0 times | Joined on Feb 2008
#1
I've posted before about having a problem about not being able to delete files after putting them on my N810. And it's happen again. Though this time I figure out how I triggered it. I put some files from my external hard drive on my N810 and once I do that the files cause my whole N810 internal memory to become a read only file It's like a computer virus. All files from my external hard drive are undelete able, even as root!!!!! Yes, thats right. I "sudo su" (I use Ubuntu) and chmod 777 the files and they stay in read only! Someone please help me fix this awful problem I have.

I'm not use to root not having the power of God and be able to do anything and everything I want to do. Makes me feel like I'm a Windows user who can't delete files all over again
 
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#2
The filesystems's probably being mounted readonly due to errors. Run "mount" in a terminal and look for the readonly flag (ro).

I believe N810's had a problem with the internal memory being partitioned incorrectly from the factory, which leads to corruption. Search the forums.

If that's not the problem, run a filesystem check on it.

In Linux, you'd do something like this (as root):
Code:
umount /media/mmc2
fsck.vfat -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /media/mmc2
Alternately, "mount -o remount,rw /media/mmc2" will change the filesystems to read-write without the check.

Good luck.
 
Posts: 20 | Thanked: 0 times | Joined on Feb 2008
#3
I believe N810's had a problem with the internal memory being partitioned incorrectly from the factory, which leads to corruption. Search the forums.
I've noticed that a while back and followed the instructions to fix that potential problem But I still have problems.

Code:
umount /media/mmc2
fsck.vfat -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /media/mmc2
That sounds all fine and dandy but Ubuntu ::shakes fist:: is very weird. It just auto mounts everything. I use to manually mount everything with Gentoo (which I preferred). But yeah, if I remember right, I tried manually mounting some stuff and was giving me weird replies back like it couldn't find the command "mount"

But now that someone has told me how to get root in Ubuntu ("sudo su" instead of just "su") I'll mess around and see if I can manually do it. I'll get back to you with my results.
 
Posts: 20 | Thanked: 0 times | Joined on Feb 2008
#4
Well I tried and it's a no go. I left the command output on my computer at home but I remember what it said though. I it was complaining about how /dev/mmcblk0p1 didn't exits in the fstab. I would of added it but I'm not sure how too. I'll go find out how too on the web and get back to you.

If what your telling me to doesn't work then I'm just going to format the drive like I did last time. THAT solved my problem with file permissions. I'll just have to make sure I don't add any more of my files from my external hard drive back on to my N810. I should formate my external hard drive too but I have yet to back up all 160 GBs to DVDs.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#5
Originally Posted by ace View Post
Code:
umount /media/mmc2
fsck.vfat -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /media/mmc2
You should be running this on the tablet. Are you?
 
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#6
Originally Posted by Fire Hazard View Post
I it was complaining about how /dev/mmcblk0p1 didn't exits in the fstab.
I should have been more clear. I believe the N810 assigns the internal memory card to /dev/mmcblk0p1. However, when hooked up to a computer via USB, it's almost certainly different. If your Ubuntu machine is anything like mine, USB mass storage devices get assigned to /dev/sdb, /dev/sdc, etc.

Run "sudo fdisk -l" to list partitions of attached devices to find the actual device. Or run "dmesg | tail" just after plugging in to display the latest system messages, the device designation will be in there.

Then umount (since the drive was probably automatically mounted) and fsck.
__________________
[SIGPIC][/SIGPIC]
 
Posts: 20 | Thanked: 0 times | Joined on Feb 2008
#7
You should be running this on the tablet. Are you?
Nope, that would explain alot

I tried again but mmc2 seems to always be in use. Know of anyways to force it to umount?
 
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#8
Close all programs, then deactivate swap (try again if it doesn't work the first time).
 
Posts: 20 | Thanked: 0 times | Joined on Feb 2008
#9
I try over and over again and I can't seem to have the internal memory card not be in use . Any way to over ride this? I can't even formate the card to start from scratch.
 
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#10
Try "lsof | grep mmc2" to find what apps have which files are open on the card. lsof stands for list open files.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:23.