I found that "/" is mounted as ext2 in the recovery mode. it was much smaller and definitely didn't contain the same files as normal root filesystem. Is it only the small bootstrap recovery system? Will it be simpler if I try to mount and modify the /dev/bml0/6 in this mode?
Code:
devfs on /dev type devfs (rw)
/dev/root.old on / type ext2 (rw)
none on /dev type devfs (rw)
/proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/stl0/9 on /mnt/us type vfat (rw,noatime,nodiratime,fmask=0022,dmask=0022)
/dev/mmc/blk0/part1 on /mnt/mmc type vfat (rw,sync,dirsync,noatime,nodiratime,fmask=0022,dmask=0022)
Code:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root.old 2011 1604 407 80% /
/dev/stl0/9 186950 97716 89234 52% /mnt/us
/dev/mmc/blk0/part1 3971584 448 3971136 0% /mnt/mmc
Or, if I still want to do things in the regular mode as / was mounted as ro SquashFS, how can I create a symlink in /usr/java/lib? I guess I still have to remounted somehow as sirbruce suggested?
To sirbruce: you can use igor's update generator to wrap any shell script as an "update". So you can run any shell script this way but it is not interactive and very dangerous, at least until we can get a full recovery rom from Amazon.