![]() |
Making a chroot
As the tile suggests, I'm making a chroot. Not just any chroot, it's a chroot for Maemo 5. And I need some techy help.
So far, I've extracted the rootfs.jffs2 file from the latest firmware, and the files are in place with permissions and everything. Now I have a single problem before I'm done, though... I can't get my hands on a set of files for the /home directory. (The rootfs doesn't contain any of it.) Just linking it is unacceptable. I want to have a separate set of settings and documents in the chroot that won't affect the system. I found the eMMC Vanilla one from PR 1.2, but it only contains files from MyDocs and not /home. Any advice on how to obtain these files? |
Re: Making a chroot
cp -ax /home /chroot/
|
Re: Making a chroot
Can you link this up AS SOON AS YOU FINISH it?
I am after this too!! :D |
Re: Making a chroot
I will upload after testing it. And if i have a place to upload to. (I made a 2Gb image...)
Copying the existing /home from mine is not really what I want to... I don't want everyone to look at my contacts and history. How does a normal flash restore the /home partition? |
Re: Making a chroot
then you might copy all the content from /chroot/etc/skel/ to /chroot/home/user, create it if it does not exist. Change the ownership of /home/user with the -R option to 29999:29999.
|
Re: Making a chroot
Ok, will do that.
Is it so that Maemo will handle making /home/opt? If so, I guess it's ready soon. :) |
Re: Making a chroot
Quote:
At least that is may opinion:confused: |
Re: Making a chroot
Quote:
|
Re: Making a chroot
Good news! I've successfully chrooted into the image! :D
Xterm-commands work like normal, and there is no way to interfere with the OS that is on the device. Now i'll have to do some tweaking, and it will be ready to spin for X11. And when i know it can run X11 on Xephyr... we're burning some tires... Uhm... how do i setup Xephyr and the boot process? |
Re: Making a chroot
I dont get it quite? Are you having the chroot on your PC or on the N900 itself. There is no xephyr package available for the N900, as far as i know.
|
Re: Making a chroot
Quote:
|
Re: Making a chroot
So, I'm obviously not the right person to set up Xephyr and all that. I dont understand all the advanced features of Xterm, so...
I have uploaded the image to MediaFire in an archive. i recommend extracting on your desktop and transferring. (it's 170Mb from 2Gb. High compression.) http://www.mediafire.com/?iht9hje5z8jf2ci If you want to experiment with it, go ahead. ;) |
All times are GMT. The time now is 07:37. |
vBulletin® Version 3.8.8