![]() |
Re: N900 - Hardrive is in Read Only Mode
Quote:
this way solved my problem also |
Re: N900 - Hardrive is in Read Only Mode
Someone active here can help me??? I have posted this already in The Great NITDroid forum, but this thread seems more relevant too. So re-posting here, sorry for my ignorance.
Scenario is below: I have a got this problem, 'Memory read-only. Cannot write to the device'. The problem maybe with I have created partitions, but with wrong block size. I have the 8GB appln install space eMMC. With that, my partition table appeared to be Device Boot Start End /dev/mmcblk0p1 2 688258 /dev/mmcblk0p2 688258 950401 /dev/mmcblk0p3 950402 974977 Instead of usual Device Boot Start End /dev/mmcblk0p1 2 884865 /dev/mmcblk0p2 884866 950401 /dev/mmcblk0p3 950402 974977. So I carried out a partitioning like n p 1 First cylinder: 2 Last cylinder: 600000 n e First cylinder: 600001 Last cylinder: 688258 n First cylinder: 600001 Last cylinder: 688258 t Is there a problem due to this? And i now cannot copy any files into the eMMc or even move within. Shows memory read only or input/output error- when done from xterm. And also when tried to untar the NITDroid archive, it shows bad input. Input/output error. Says the file is not actually of tar.gz type archive when actually it is. Code: Code:
root Code: Code:
mount /dev/mmcblk0p1 /home/user/MyDocs/ |
Re: N900 - Hardrive is in Read Only Mode
I am also having what I thought was the regular read only issue but even when I unmount and remount -o rw I still get permission denied. Unless I try as root, then no problems at all. As this is fat32 there shoudnt be any chown issues...
It is not a corruption issue Been a long time since I had to deal with unix read/write problems so my magic is weak and google isn't helping. |
Re: N900 - Hardrive is in Read Only Mode
Quote:
I don't see how you can still have read-only issues after a correct application of fdisk ;) Seriously, try checking the partition in Windows. Or use fsck on your phone, but I'd rather recommend the Windows way. |
Re: N900 - Hardrive is in Read Only Mode
pichlo, it is weirder than that, it is not actually read-only since I can write to the partition as root. I tried sudo chmod -R 777 /home/user/MyDocs but it didn't not fix the prob. Being a fat32 partition chown does nothing and fails.
Last night I ssh'd in to the N900 ran midnight commander as sudo and installed a FTP daemon on my laptop and used this acrobatic method to transfer my wifes music to the phone MyDocs where I normally just mount MyDOcs via wifi/SCP on my laptop. (edit)Btw, I was tired and realized I had typed fdisk on my post, fortunately I had used fsck on the N900! I know this is something with permissions but it has been ten years at least since I have had a permissions issue like this. |
Re: N900 - Hardrive is in Read Only Mode
I had the same on my N900, only on my SD card. Read only unless written to as root. Being FAT ruled out permissions, leaving only a file system corruption that root just ignored and burst in with all guns blazing. I had an issue with the USB port preventing me to connect it to a Windows machine so I just reformatted the card on the device. That fixed it.
|
Re: N900 - Hardrive is in Read Only Mode
pichlo, were you getting errors or clean in fsck?
For some reason bootmenu wont work so I am stuck with fsck'ing from a running N900. But again fsck comes out clean. Code:
~ $ sudo umount /dev/mmcblk0p1 Code:
~ $ sudo mount Code:
~/MyDocs $ sudo chmod -R 777 /home/user/MyDocs/ |
Re: N900 - Hardrive is in Read Only Mode
What is the downside on dumping the contents of MyDocs into a directory on my laptop, fdisk'ing /dev/mmcblk0p1, and then pouring the contents back in. I dont think the N900 uses symlinks like the old Zaurus used to.
|
Re: N900 - Hardrive is in Read Only Mode
Quote:
Quote:
Quote:
Only I would use the stock file manager to do the formatting rather than fsck. It should provide the same results but somehow feels more like the "approved" way. |
Re: N900 - Hardrive is in Read Only Mode
pichlo, the USB port was broken and I accidently desoldered a SM component fixing it, too small to replace IMHO; I dont know if running windows in a VM would be able to do the fix though the Ubuntu tool seems to work really well when I have used it with the other N900.
I will dump the MyDOcs to disk and format next week. |
All times are GMT. The time now is 01:09. |
vBulletin® Version 3.8.8