Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [SOLVED, BUT DON'T SHUT THREAD FOR NOW] Boot loop after "apt-get upgrade"

    Reply
    Page 4 of 5 | Prev |   2     3   4   5   | Next
    AndyYan | # 31 | 2012-05-10, 07:04 | Report

    Originally Posted by reinob View Post
    I don't know or care if you're a "Linux boy" or not. Fact is /home is an ext3 partition so if you want to be able to mount it you either use Linux or find some driver/"app" that lets you do that on whatever OS you're using.

    libxau6 should in the end go in /usr/lib, that's your rootfs partition. Since you're booting from an SD card and before that you cannot possibly access the internal memory of the N900, the most logical place to put the new libxau6 is somewhere on that card, and THEN once you've booted, copy it from the SD card to the /usr/lib directory of your N900 root partition (obviously, after you've mounted it).

    Other than I have no other suggestion. You either do it or not. If you're not willing to do that ("no linux boy") then your only option is to do a complete reflash.. but beware, flashing may work better under Linux than Windows.
    Wait a minute. Why do you say rescueOS boots from external SD? For now I only know that I can use kernel and boot files stored on a Win PC along with flasher-3.5 to boot into command line... Even the rescueOS post AND documentation don't offer any booting method... Point out the right way for me to boot from SD pls

    Edit | Forward | Quote | Quick Reply | Thanks

     
    reinob | # 32 | 2012-05-10, 08:00 | Report

    @AndyYan,

    I thought you were booting the RescueOS from an SD card (using U-boot). Didn't realize it's not even documented. Sorry for that.

    OK. In this case I guess your best bet is to, once you've booted RescueOS, enable USB mass-storage mode and then from your PC copy the new lib to the MyDocs partition (because you use Windows).

    Then mount the rootfs and copy the lib from MyDocs to /usr/lib and then make sure it has the same permissions as the existing libXau6.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AndyYan | # 33 | 2012-05-10, 13:52 | Report

    Originally Posted by reinob View Post
    @AndyYan,

    I thought you were booting the RescueOS from an SD card (using U-boot). Didn't realize it's not even documented. Sorry for that.

    OK. In this case I guess your best bet is to, once you've booted RescueOS, enable USB mass-storage mode and then from your PC copy the new lib to the MyDocs partition (because you use Windows).

    Then mount the rootfs and copy the lib from MyDocs to /usr/lib and then make sure it has the same permissions as the existing libXau6.
    Nice try dude, all of the methods was expected to work and I tried them yesterday already... But sorry facts:
    1. As mentioned, USB mass storage appeared as "RAW" format in Windows, guess it's Linux format. I can put files under any folder under /home though with Android.
    2. Mounting the rootfs gave empty /home. Mounting mmcblk1p1 gave almost empty /home. Mounting mmcblk1p2(which is said to mount /home correctly) reported errors.
    3. Any way to acquire and mod permissions? I thought I've seen a command for that (Is that chmod?)

    And thx very much for your patience and lasting help!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AndyYan | # 34 | 2012-05-11, 01:35 | Report

    Anyone can tell me how to mount mmcblk1p2 correctly in rescueOS? Thx

    Edit | Forward | Quote | Quick Reply | Thanks

     
    zimon | # 35 | 2012-05-11, 02:44 | Report

    Originally Posted by AndyYan View Post
    Ain't no better if my notebook PC can read discs... BUT really my PC doesn't even have a disc drive!! WTF am I gonna do...
    If you have a USB-stick (~600 MB), you can make a bootable one:

    ISO-file from here:
    http://spins.fedoraproject.org/lxde/

    Installation instructions from here:
    http://docs.fedoraproject.org/en-US/...USB_Media.html

    Edit | Forward | Quote | Quick Reply | Thanks

     
    reinob | # 36 | 2012-05-11, 07:24 | Report

    Originally Posted by AndyYan View Post
    1. As mentioned, USB mass storage appeared as "RAW" format in Windows, guess it's Linux format. I can put files under any folder under /home though with Android.
    According to the documentation using /rescueOS/mass-storage-enable.sh
    should export both the /home (mmcblk0p2 on Maemo) and MyDocs (mmcblk0p1 on Maemo).

    The /home partition is ext3, so WIndows won't recognize it. The MyDocs partition is VFAT so Windows *should* recognize it. When you do this, do you only see ONE single partition being exported as USB mass storage?

    Originally Posted by
    2. Mounting the rootfs gave empty /home. Mounting mmcblk1p1 gave almost empty /home. Mounting mmcblk1p2(which is said to mount /home correctly) reported errors.
    /home has its own partition, so within the rootfs partition /home is just an empty folder. The actual /home partition is then mounted "on top" of this empty folder.

    About the "reported errors": you might want to post them here. It may help

    Originally Posted by
    3. Any way to acquire and mod permissions? I thought I've seen a command for that (Is that chmod?)
    /usr/lib/libXau.so.6.0.0 has (at least on my N900) 0644 permissions and is owned by root, group root.

    Meaning, once you manage to copy the file (somehow) onto the /usr/lib folder of the N900 root filesystem, you would need to:

    Code:
    # cd /mount-point/usr/lib
    # chmod 0644 libXau.so.6.0.0
    # chown root:root libXau.so.6.0.0
    in case the libXau.so.6 symbolic link is not there, you do:
    Code:
    # cd /mount-point/usr/lib
    # ln -s libXau.so.6.0.0 libXau.so.6

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AndyYan | # 37 | 2012-05-12, 10:05 | Report

    Originally Posted by reinob View Post
    According to the documentation using /rescueOS/mass-storage-enable.sh
    should export both the /home (mmcblk0p2 on Maemo) and MyDocs (mmcblk0p1 on Maemo).

    The /home partition is ext3, so WIndows won't recognize it. The MyDocs partition is VFAT so Windows *should* recognize it. When you do this, do you only see ONE single partition being exported as USB mass storage?



    /home has its own partition, so within the rootfs partition /home is just an empty folder. The actual /home partition is then mounted "on top" of this empty folder.

    About the "reported errors": you might want to post them here. It may help



    /usr/lib/libXau.so.6.0.0 has (at least on my N900) 0644 permissions and is owned by root, group root.

    Meaning, once you manage to copy the file (somehow) onto the /usr/lib folder of the N900 root filesystem, you would need to:

    Code:
    # cd /mount-point/usr/lib
    # chmod 0644 libXau.so.6.0.0
    # chown root:root libXau.so.6.0.0
    in case the libXau.so.6 symbolic link is not there, you do:
    Code:
    # cd /mount-point/usr/lib
    # ln -s libXau.so.6.0.0 libXau.so.6
    Only one drive appeared in Windows and it's RAW. Dunno why.
    You mean mounting mmcblk1p1 on top of /home? I previously mounted it on /mnt/free1... Any difference?
    About the errors, yes I'm touching the PC later and will steal into rescueOS for another try and give out the error :-)
    And thanks for your codes!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AndyYan | # 38 | 2012-05-12, 10:09 | Report

    Originally Posted by zimon View Post
    If you have a USB-stick (~600 MB), you can make a bootable one:

    ISO-file from here:
    http://spins.fedoraproject.org/lxde/

    Installation instructions from here:
    http://docs.fedoraproject.org/en-US/...USB_Media.html
    Booting from USB stick? Sounds cool, and it's a Fedora too... (I'll punch my Ubuntu classmate in his stomach FXXK YEAH)
    Ok so this is a backup plan in case rescueOS won't work in the end... Thx

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AndyYan | # 39 | 2012-05-13, 10:31 | Report

    Originally Posted by reinob View Post
    ...
    WHAT THE HELL!!! It worked!
    Code:
    # mount /dev/mmcblk1p2 /mnt/maemo/home
    And typed chmod & chown commands... WOOT! "Exit offline mode?" The system booted up steadily! Home sweet hildon-home!!!
    Thank you Reinob for your PERFECT patience and knowledge of Linux!!

    ...Question is, when I typed "chown root:root libXau.so.6.0.0" it said "unknown user group root:root"... Doesn't bother booting but what's wrong?

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

     
    zimon | # 40 | 2012-05-13, 14:25 | Report

    Originally Posted by AndyYan View Post
    ...Question is, when I typed "chown root:root libXau.so.6.0.0" it said "unknown user group root:root"... Doesn't bother booting but what's wrong?
    root.root, not root:root

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

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