maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nemo Mobile (https://talk.maemo.org/forumdisplay.php?f=53)
-   -   Chrooting Nemo Mobile (https://talk.maemo.org/showthread.php?t=89491)

marmistrz 2013-03-16 15:28

Chrooting Nemo Mobile
 
Hi,

I downloaded the Nemo Mobile raw image. I tried mounting it, but ext* doesn't work for mount. Is there any way to mount (and then chroot) the Nemo raw image?

Thanks

elros34 2013-03-16 15:56

Re: Chrooting Nemo Mobile
 
With kpartx its very easy.

marmistrz 2013-03-16 16:41

Re: Chrooting Nemo Mobile
 
Quote:

Originally Posted by elros34 (Post 1329403)
With kpartx its very easy.

Hmmm... After mounting gnome-disk-utility shows that there are no partitions.
Is there any way to convert the nemo mobile image to something that qchroot would handle?

elros34 2013-03-16 17:04

Re: Chrooting Nemo Mobile
 
I don't know but to mount raw ubuntu or old meego image I use:
kpartx -av ubuntu/meego.raw
mount /dev/mapper/loop0p1-3
and copy /usr/bin/qemu-arm-static

mikecomputing 2013-03-17 00:36

Re: Chrooting Nemo Mobile
 
Don't now exact what you want but can create your own custom nemo images using this guide:

https://wiki.merproject.org/wiki/Image_Creation

https://wiki.merproject.org/wiki/Nemo/Creating_Releases

Its a good way to learn more about Mer stuff IMHO :)

I am trying learn more that way.

This can be done inside MerPlatformSDK or SailfishSDK

(SailfishSDK == PlatformSDK + sailfish components etc..)

marmistrz 2013-03-17 10:01

Re: Chrooting Nemo Mobile
 
Quote:

Originally Posted by mikecomputing (Post 1329504)
Don't now exact what you want but can create your own custom nemo images using this guide:

https://wiki.merproject.org/wiki/Image_Creation

https://wiki.merproject.org/wiki/Nemo/Creating_Releases

Its a good way to learn more about Mer stuff IMHO :)

I am trying learn more that way.

This can be done inside MerPlatformSDK or SailfishSDK

(SailfishSDK == PlatformSDK + sailfish components etc..)

I used the first way, but I'm getting:

Code:

marcin@marcin:~/nemo$ sudo mic-image-creator --config=../Downloads/nemo-handset-armv7hl-n900.ks --format=rootfs --cache=/var/cache/meego-bootstrap --arch=armv7hl

mic-image-creator: error: no such option: --copy-kernel


amr.fayz 2013-03-17 12:03

Re: Chrooting Nemo Mobile
 
Quote:

Originally Posted by marmistrz (Post 1329392)
Hi,

I downloaded the Nemo Mobile raw image. I tried mounting it, but ext* doesn't work for mount. Is there any way to mount (and then chroot) the Nemo raw image?

Thanks


Check if the Nemo image has an extra /SOMEDIR at a beginning of the actual system files.

http://wiki.meego.com/ARM/N900/Install/chroot

or try This topic

http://213.128.137.28/showthread.php?p=1149489


or you can configure Nemo image and use mic-chroot Like

https://wiki.mozilla.org/Building_Fe...ot_environment

marmistrz 2013-03-31 13:13

Re: Chrooting Nemo Mobile
 
Quote:

Originally Posted by elros34 (Post 1329422)
I don't know but to mount raw ubuntu or old meego image I use:
kpartx -av ubuntu/meego.raw
mount /dev/mapper/loop0p1-3
and copy /usr/bin/qemu-arm-static

Well, it was a good idea. I dd-ed the data partition (ext4), but now, when I try to mount & chroot it (let's say at /home/nemo), and do

Code:

chroot /home/nemo
I get

Code:

FATAL: kernel too old
Do I need to copy anything from the other partitions (the boot one?) I've seen uImage and vmlinuz there, so this might be the thing...

Thanks

marmistrz 2013-04-01 13:24

Re: Chrooting Nemo Mobile
 
I'm chrooting it on-device, are there some special requirements for it?

elros34 2013-04-01 13:57

Re: Chrooting Nemo Mobile
 
Quote:

Originally Posted by marmistrz (Post 1333433)
I'm chrooting it on-device, are there some special requirements for it?

I'm tried do this long time ago but without succes. I guess we can't chrooting nemo images due to mismatch between the versions of glibc in nemo and maemo. You should ask qole for better info.
http://qole.blogspot.com/2010/11/run...chroot_06.html


All times are GMT. The time now is 13:18.

vBulletin® Version 3.8.8