Jump to content


Photo

read only file system for internal memory


  • Please log in to reply
5 replies to this topic

#1
feuxfollets

feuxfollets

    Newbie

  • Members
  • Pip
  • 4 posts
So I'm trying to get ssh keys to work on this thing, and I've installed BTEP as my ssh client, but unfortunately when I run ssh it looks for keys in the folder ./.ssh whereas my keys are saved in the folder /data/data/com.magicandroidapps.bettertermpro/home/.ssh/, since ~ on the terminal points to that folder

The folder ./.ssh doesn't exist, and when I try to create it and copy my keys over, I just get a read only file system error.

How do you go about removing the read only file system thing on this device?

Edited by feuxfollets, 08 January 2012 - 07:47 PM.

  • 0

#2
Andy_E

Andy_E

    Newbie

  • Members
  • Pip
  • 37 posts
Well you could dick about with mount commands but personally I prefer to just use Root Explorer which has a couple of little toggle buttons for R/O & R/W

Edited by Andy_E, 08 January 2012 - 09:21 PM.

  • 0

#3
xathras

xathras

    Enthusiast

  • Members
  • PipPipPip
  • 222 posts
  • Devices:Advent Vega / Archos 70 250GB

Well you could dick about with mount commands but personally I prefer to just use Root Explorer which has a couple of little toggle buttons for R/O & R/W


I also use Root Explorer to mount system as r/w but it isn't free. A free alternative is to install Busybox and then use a terminal to do a sudo mount.

  • 0

#4
Andy_E

Andy_E

    Newbie

  • Members
  • Pip
  • 37 posts

A free alternative is to install Busybox and then use a terminal to do a sudo mount.


That was the dicking about with mount commands I was referring to..... :)

  • 0

#5
Cass67

Cass67

    Diehard

  • Members
  • PipPipPipPip
  • 409 posts

So I'm trying to get ssh keys to work on this thing, and I've installed BTEP as my ssh client, but unfortunately when I run ssh it looks for keys in the folder ./.ssh whereas my keys are saved in the folder /data/data/com.magicandroidapps.bettertermpro/home/.ssh/, since ~ on the terminal points to that folder

The folder ./.ssh doesn't exist, and when I try to create it and copy my keys over, I just get a read only file system error.

How do you go about removing the read only file system thing on this device?



You need to extract the boot.img from whatever rom you are using, make the changes, create a new ramdisk, make a new boot.img then update the rom again with it ... / lives on the ro boot partition.

Not possible to relocate the location of the .ssh directory ?

  • 0

#6
feuxfollets

feuxfollets

    Newbie

  • Members
  • Pip
  • 4 posts

You need to extract the boot.img from whatever rom you are using, make the changes, create a new ramdisk, make a new boot.img then update the rom again with it ... / lives on the ro boot partition.

Not possible to relocate the location of the .ssh directory ?


So I got the root file manager since it seemed useful, and made a .ssh folder in /
Unfortunately that didn't solve the problem.

On linux you can change the .ssh folder by editing a setting in the /etc/ssh/ssh_config or something like that, but such a file does not exist on my android device. The /etc/ssh folder doesn't even exist.

Edited by feuxfollets, 11 January 2012 - 03:13 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users