Hi,

Mount it first like loop image and use mic-chroot after that.

Regards,
Vasily
________________________________________
From: [email protected] [[email protected]] On Behalf Of 
ext Steven Tao [[email protected]]
Sent: Friday, April 16, 2010 4:29 PM
To: [email protected]
Subject: [MeeGo-dev] mic.imgcreate.errors.MountError

Hi all:

When I try to use mic-chroot to run the arm-n900 image that create by ks and 
format is "loop", I got some error.

Info: meego-1.0-arm-n900-201004161710.img will be unpacked into 
/var/tmp/mic-tmp-th7lD7
e2fsck 1.41.9 (22-Aug-2009)
meego-1.0-arm-n9: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
meego-1.0-arm-n9: 19543/270336 files (0.3% non-contiguous), 139917/1049856 
blocks
Launching shell. Exit to continue.
----------------------------------
bind_mount: /proc -> /var/tmp/mic-tmp-th7lD7//proc
Error -8 while loading /usr/bin/qemu-arm-static
Error -8 while loading /usr/bin/qemu-arm-static
Traceback (most recent call last):
  File "/usr/bin/mic-chroot", line 236, in <module>
    sys.exit(main())
  File "/usr/bin/mic-chroot", line 215, in main
    chroot.chroot(options.saveto, options.bindmounts)
  File "/usr/lib/python2.6/site-packages/mic/chroot/chroot.py", line 328, in 
chroot
    globalmounts = setup_chrootenv(chrootdir, bindmounts)
  File "/usr/lib/python2.6/site-packages/mic/chroot/chroot.py", line 140, in 
setup_chrootenv
    bind_mount(globalmounts)
  File "/usr/lib/python2.6/site-packages/mic/chroot/chroot.py", line 134, in 
bind_mount
    b.mount()
  File "/usr/lib/python2.6/site-packages/mic/imgcreate/fs.py", line 102, in 
mount
    (self.src, self.dest))
mic.imgcreate.errors.MountError: Bind-mounting '/proc' to 
'/var/tmp/mic-tmp-th7lD7//proc' failed

I get the qemu-arm-static from 
http://wiki.meego.com/Developing_in_a_Meego_Environment
Is there any things wrong about my image?

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to