Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    How to mount opt folder?

    Reply
    Page 3 of 5 | Prev |   1     2   3   4     5   | Next
    NotMicro | # 21 | 2016-01-09, 17:05 | Report

    Thank you very much for this useful post. Do you maybe know how to track process of booting? It could explain what is going wrong when my N900 starts. Maybe there is some log file created during startup ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    NotMicro | # 22 | 2016-01-09, 17:19 | Report

    I forgot to write that I have had installed overclock profile (700 MHz) when failure took place.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 23 | 2016-01-10, 08:43 | Report

    Originally Posted by NotMicro View Post
    I forgot to write that I have had installed overclock profile (700 MHz) when failure took place.
    Please try to get the information from your N900 via mounted rootfs and mounted optfs, but not chrooted
    Code:
    ls -al /mnt/maemo/lib/modules
    ls -al /mnt/maemo/usr/share/kernel-power-settings
    The output looks something like this from my running maemoOS, but yours should look similar
    Originally Posted by
    Nokia-N900:~# ls -al /lib/modules/
    drwxr-xr-x 4 root root 376 Jun 18 2015 .
    drwxr-xr-x 10 root root 7840 Jun 16 2015 ..
    drwxr-xr-x 2 root root 984 Oct 14 16:54 2.6.28-omap1
    drwxr-xr-x 2 root root 23744 Oct 14 16:54 2.6.28.10-power53
    lrwxrwxrwx 1 root root 17 Jun 18 2015 current -> 2.6.28.10-power53
    Nokia-N900:~# ls -al /usr/share/kernel-power-settings/
    drwxr-xr-x 2 root root 616 Jun 15 2015 .
    drwxr-xr-x 123 root root 9960 Jan 6 10:01 ..
    -rw-rw-r-- 1 root root 499 Nov 1 2011 default
    -rw-rw-r-- 1 root root 499 Nov 1 2011 dsp
    -rw-rw-r-- 1 root root 470 Nov 1 2011 ideal
    -rw-rw-r-- 1 root root 499 Nov 1 2011 lv
    -rw-rw-r-- 1 root root 476 Nov 1 2011 starving
    -rw-rw-r-- 1 root root 499 Nov 1 2011 ulv
    -rw-rw-r-- 1 root root 499 Nov 1 2011 xlv
    Again, it seems to be easier, and quicker, to remember the essential applications you had on your N900, but to clinch to vague clues, what might have gone wrong weeks ago. Get them from all over the net.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    NotMicro | # 24 | 2016-01-10, 15:08 | Report

    Could you please write how to make a copy of rootfs.
    And second, very important thing - I cannot use apt-get install even if I chroot /mnt/maemo and mount home/opt folder.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by NotMicro; 2016-01-10 at 15:41.

     
    michaaa62 | # 25 | 2016-01-10, 16:15 | Report

    Basically it is like this. Mount maemo rootfs, create mount point for storage partition, mount MyDocs partition to rescueOS, create archive of the rootfs on the MyDocs partition and enable mass-storage mode to transfer files and folders to your PC. Make sure the hidden dot-files and -folders are also transfered
    Code:
    mmr
    mkdir /mnt/MyDocs
    mount /dev/mmcblk0p1 /media
    tar -c /mnt/maemo -f /media/rootfs.tar.gz
    umount /media
    ems
    At last copy the content of both partitions to your PC. This saves the optfs partition, containing the /home/user and the /opt folders of the Maemo OS, and the MyDocs partition, containing your rootfs.tar archive, data and stuff.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by michaaa62; 2016-01-10 at 21:47. Reason: Typos and working mount point

     
    NotMicro | # 26 | 2016-01-10, 18:27 | Report

    Thank you for your last post, but I have 2 problems:

    1. mmrt - "command not found"
    2. mkdir /mnt/MyDocs - " mkdir : can't create directory '/mnt/MyDocs' : Read-only file system."

    Could you help please.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 27 | 2016-01-10, 21:48 | Report

    My bad!

    First command must be mmr .
    Second command will mount to /media.

    I edited the former post http://talk.maemo.org/showpost.php?p...8&postcount=25 to have all the commands in one place!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    NotMicro | # 28 | 2016-01-11, 14:08 | Report

    Originally Posted by michaaa62 View Post
    Basically it is like this. Mount maemo rootfs, create mount point for storage partition, mount MyDocs partition to rescueOS, create archive of the rootfs on the MyDocs partition and enable mass-storage mode to transfer files and folders to your PC. Make sure the hidden dot-files and -folders are also transfered
    Code:
    mmr
    mkdir /mnt/MyDocs
    mount /dev/mmcblk0p1 /media
    tar -c /mnt/maemo -f /media/rootfs.tar.gz
    umount /media
    ems
    At last copy the content of both partitions to your PC. This saves the optfs partition, containing the /home/user and the /opt folders of the Maemo OS, and the MyDocs partition, containing your rootfs.tar archive, data and stuff.

    Sorry, but I still have 2 problems:

    1. When I execute mkdir /mnt/MyDocs I get a message "mkdir : can't create directory '/mnt/MyDocs' : Read-only file system.""

    2. When I execute mount /dev/mmcblk0p1 /media I get a message "mount: mounting /dev/mmcblk0p1 on /media failed: Input/output error."

    Help.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    NotMicro | # 29 | 2016-01-11, 14:17 | Report

    I am about to reflash whole device - that's why I want to backup rootfs. I have done it already in case of optfs (home, MyDocs).

    But I want to try - for the last time - uninstalling fcam-drivers. When I use dpkg I still get a message indicating that fcam-drivers are installed and "connected" with blessn900. I can't though uninstall blessn900, as I described in post #4.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 30 | 2016-01-11, 17:33 | Report

    The first error is meaningless, the mount point will not get used.
    Try this please for the second error
    Code:
    mount -t vfat /dev/mmcblk0p1 /media

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to michaaa62 For This Useful Post:
    NotMicro

     
    Page 3 of 5 | Prev |   1     2   3   4     5   | Next
vBulletin® Version 3.8.8
Normal Logout