Reply
Thread Tools
Posts: 114 | Thanked: 61 times | Joined on Aug 2011 @ Beijing, China
#31
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
 
Posts: 1,797 | Thanked: 4,223 times | Joined on Feb 2011 @ Germany
#32
@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.
 
Posts: 114 | Thanked: 61 times | Joined on Aug 2011 @ Beijing, China
#33
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!
 
Posts: 114 | Thanked: 61 times | Joined on Aug 2011 @ Beijing, China
#34
Anyone can tell me how to mount mmcblk1p2 correctly in rescueOS? Thx
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#35
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
 
Posts: 1,797 | Thanked: 4,223 times | Joined on Feb 2011 @ Germany
#36
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?

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

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
 
Posts: 114 | Thanked: 61 times | Joined on Aug 2011 @ Beijing, China
#37
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!
 
Posts: 114 | Thanked: 61 times | Joined on Aug 2011 @ Beijing, China
#38
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
 
Posts: 114 | Thanked: 61 times | Joined on Aug 2011 @ Beijing, China
#39
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?
 

The Following User Says Thank You to AndyYan For This Useful Post:
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#40
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
 

The Following User Says Thank You to zimon For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:01.