Reply
Thread Tools
Posts: 111 | Thanked: 50 times | Joined on May 2015
#1
Could anybody write precisely how to mount opt folder from second emmc partition under rescueOS by NIN101? Or how to uninstall package using dpkg -r (or -P) with no access to that folder.

Last edited by NotMicro; 2016-01-05 at 13:38.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#2
These commands inside the rescueOS shell mount:
1. first the maemo rootfs,
2. second the optfs partition to the home directory of maemo rootfs,
3. third the opt directory inside the maemo rootfs
Code:
mmr
mount /dev/mmcblk0p2 /mnt/maemo/home
mount -o bind /mnt/maemo/home/opt /mnt/maemo/opt
 

The Following 4 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#3
Btw. it might be sufficient to erase the file /etc/modprobe.d/fcam.conf according to its content:
~ $ cat /etc/modprobe.d/fcam.conf
# Override configuration file for the FCam camera control API replacement kernel modules for the N900 camera subsystem.
# Remove this file and reboot to restore use of the original kernel modules.

install fcam modprobe fcam-vanilla; modprobe fcam-power; echo "-1" > /proc/sys/kernel/sched_rt_runtime_us

install fcam-vanilla /sbin/insmod /usr/share/fcam/isp-mod.ko && /sbin/insmod /usr/share/fcam/omap34xxcam-mod.ko && /sbin/insmod /usr/share/fcam/omap_previewer_hack.ko && /sbin/insmod /usr/share/fcam/et8ek8.ko && /sbin/insmod /usr/share/fcam/board-rx51-camera.ko

install fcam-power /sbin/insmod /usr/share/fcam/power/isp-mod.ko && /sbin/insmod /usr/share/fcam/power/omap34xxcam-mod.ko && /sbin/insmod /usr/share/fcam/power/omap_previewer_hack.ko && /sbin/insmod /usr/share/fcam/power/et8ek8.ko && /sbin/insmod /usr/share/fcam/power/board-rx51-camera.ko

install isp-mod modprobe fcam
install omap34xxcam-mod modprobe fcam
install omap_previewer_hack modprobe fcam
install et8ek8 modprobe fcam
 
Posts: 111 | Thanked: 50 times | Joined on May 2015
#4
Originally Posted by michaaa62 View Post
These commands inside the rescueOS shell mount:
1. first the maemo rootfs,
2. second the optfs partition to the home directory of maemo rootfs,
3. third the opt directory inside the maemo rootfs
Code:
mmr
mount /dev/mmcblk0p2 /mnt/maemo/home
mount -o bind /mnt/maemo/home/opt /mnt/maemo/opt

Thank you very much. It works. But now I have next problem. When I have tried to remove (commands chroot /mnt/maemo/ then dpkg -P) application blessn900 (which may be the pre-reason of my problems), I got a message as follows:

"dsmesock_connect: No such file or directory
dpkg: error processing blessn900 (--purge)
subprocess pre-removal script returned error exit status 1
Failed to open connection to "session" message bus: (null)
Errors were encountered while processing"

Do you have any suggestions what to do next?
 
Posts: 111 | Thanked: 50 times | Joined on May 2015
#5
Additional: when I use df command I get information like this: rootfs 1k-blocks used: 11456 available: 0 use%: 100% .
 
Posts: 111 | Thanked: 50 times | Joined on May 2015
#6
When I have run fsck I got a message:

"The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>".
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#7
Which file system did you try to repair/check ?

Did you mount additional resources of the running 'rescueOS' to the 'maemo' chroot environment, like that:
Code:
mount -o bind /dev/ /mnt/maemo/dev
mount -o bind /proc/ /mnt/maemo/proc
mount -o bind /sys/ /mnt/maemo/sys
mount -o bind /dev/pts /mnt/maemo/dev/pts
???

Last edited by michaaa62; 2016-01-06 at 18:44. Reason: Typos and mount points corrected...
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 111 | Thanked: 50 times | Joined on May 2015
#8
Originally Posted by michaaa62 View Post
Which file system did you try to repair/check ?

Did you mount additional resources of the running 'rescueOS' to the 'maemo' chroot environment, like that:
Code:
mount --bind /dev/ /mnt/dev
mount --bind /proc/ /mnt/proc
mount --bind /sys/ /mnt/sys
mount --bind /dev/pts /mnt/dev/pts
???
No, I did not. Any of the above.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#9
All of them, these are directories, that get created/populated at boot time, so the non-running maemo does not work correctly without.

But note the changes of the mount points in the former post, i edited! Sorry for that.
 
Posts: 111 | Thanked: 50 times | Joined on May 2015
#10
So, what should I do now ? I am a little bit confused.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:10.