Reply
Thread Tools
Posts: 22 | Thanked: 12 times | Joined on May 2012
#351
Please help me. After download image of ubuntu-12.04-preinstalled-desktop-armhf+omap I donw know what to do. I see only mount options in terminal. How to install?
 
Posts: 22 | Thanked: 12 times | Joined on May 2012
#352
I have this:
what now?
 

The Following User Says Thank You to agr0 For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#353
Originally Posted by agr0 View Post
I have this:
what now?
I had a similar output when i tried to install, so i leave it at that state without success Can anyone post a full tutorial with newest updates step by step how to install, which images to choose, which kernel to use, because first post seems a bit out of date ? And the installation is so confusing. Thanks
 

The Following User Says Thank You to Nobless For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#354
Originally Posted by Nobless View Post
I had a similar output when i tried to install, so i leave it at that state without success Can anyone post a full tutorial with newest updates step by step how to install, which images to choose, which kernel to use, because first post seems a bit out of date ? And the installation is so confusing. Thanks
You can check my post 296 for some info, but that is hardly a full tutorial.

Do the following:
1. in your terminal, run 'script' (see its man page for details)
2. run the install script with full debug: 'sudo bash -x install.sh'
3. when the script ends, type 'exit'
4. post the contents of the typescript file so we can take a look at the output
 

The Following 4 Users Say Thank You to caveman For This Useful Post:
Posts: 22 | Thanked: 12 times | Joined on May 2012
#355
I have this in terminal:
Code:
+ echo -e '\nproc /proc proc nodev,noexec,nosuid 0 0\n'
+ [[ '' > 0 ]]
+ echo 'nameserver 8.8.8.8'
+ echo '127.0.0.1 localhost.localdomain'
+ echo QT_GRAPHICSSYSTEM=raster
+ sed -i s/tty6/tty8/g /mnt/etc/init/tty6.conf
+ sed -i 's/XKBMODEL=\"\(.*\)\"/XKBMODEL=\"nokiarx51\"/' /mnt/etc/default/keyboard
+ echo '#!/bin/sh -e
hwclock -u -s
loadkeys /lib/udev/keymaps/nokia-n900-keys.map
exit 0'
+ echo '
tmpfs   /tmp    tmpfs defaults  0   0
tmpfs   /run    tmpfs defaults  0   0
tmpfs   /var/log    tmpfs defaults  0   0
tmpfs   /var/tmp    tmpfs defaults  0   0
tmpfs   /var/run    tmpfs defaults  0   0
tmpfs   /var/lock   tmpfs defaults  0   0'
+ mount -t proc /proc /mnt/proc
+ mount -o bind /dev /mnt/dev
+ mount -o bind /dev/pts /mnt/dev/pts
+ mount -o bind /sys /mnt/sys
+ cp /usr/bin/qemu-arm-static /mnt/usr/bin/
+ cp options/target_partition_suffix_root /mnt/tmp/
+ cp install-chroot-part.sh /mnt/tmp/
+ chmod +x /mnt/tmp/install-chroot-part.sh
+ cp options/additional_packages options/boot_parameters options/dist_upgrade options/nemo_packages options/selected_firmware_source options/selected_image_source options/selected_kernel options/selected_target options/selected_target_type options/target_partition_suffix_root /mnt/tmp
+ [[ nemo != \n\e\m\o ]]
+ sed -i 's/^# \(deb.*universe\)/\1/g' /mnt/etc/apt/sources.list
+ sed -i 's/^# \(deb.*multiverse\)/\1/g' /mnt/etc/apt/sources.list
+ chroot /mnt/ /tmp/install-chroot-part.sh
chroot: failed to run command `/tmp/install-chroot-part.sh': Permission denied
+ [[ 126 == 125 ]]
+ [[ 126 == 126 ]]
+ echo 'Chroot failed. Unmounting...'
Chroot failed. Unmounting...
+ sync
+ umount /mnt/dev/pts /mnt/dev /mnt/proc /mnt/sys /mnt/ /media/fat/
umount: /media/fat/: not found
++ cd options/
++ grep -v fdisk_command_stack
++ grep '^' additional_packages boot_parameters dist_upgrade nemo_packages selected_firmware_source selected_image_source selected_kernel selected_target selected_target_type target_partition_suffix_root
+ echo 'additional_packages:acpid wireless-tools openssh-server ofono telepathy-ring empathy man-db
boot_parameters:root=/dev/mmcblk0p3 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop panic=20
dist_upgrade:0
nemo_packages:bme-rx-51-bin-0.8.55-2.2.Nemo.Adaptation.N900.armv7hl.rpm contextkit-maemo-battery-rx51-bin-0.7.14-1.2.Nemo.Adaptation.N900.armv7hl.rpm i2c-tools-3.0.3-1.5.Nemo.Adaptation.N900.armv7hl.rpm kernel-adaptation-n900-2.6.37-10.7.Nemo.Adaptation.N900.armv7hl.rpm libbmeipc-bin-0.8.55-2.2.Nemo.Adaptation.N900.armv7hl.rpm libcal-rx-51-bin-0.2.5-1.2.Nemo.Adaptation.N900.armv7hl.rpm libisi-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm liblas-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm liblocation-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm liblocation-headers-0.102-1.2.Nemo.Adaptation.N900.armv7hl.rpm libmlocknice-0.1-1.5.Nemo.Adaptation.N900.armv7hl.rpm libppu-bin-0.1-1.2.Nemo.Adaptation.N900.armv7hl.rpm libsysinfo-rx51-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm libwl1251-bin-0.14-1.2.Nemo.Adaptation.N900.armv7hl.rpm location-daemon-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm location-proxy-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm location-settings-default-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm mkinitrd-7.0.17-3.1.Nemo.Adaptation.N900.armv7hl.rpm n900-camera-firmware-0.0.26-1.2.Nemo.Adaptation.N900.armv7hl.rpm nokia-n900-configs-0.7.2-2.2.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-common-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-tool-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-udev-rules-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm ti-wl1251-firmware-0.4-1.2.Nemo.Adaptation.N900.armv7hl.rpm wl1251-cal-bin-0.18-1.2.Nemo.Adaptation.N900.armv7hl.rpm bcm-bt-firmware-0.21rc3-1.2.Nemo.Adaptation.N900.noarch.rpm nokia-usb-networking-2.0-1.2.Nemo.Adaptation.N900.noarch.rpm pulseaudio-settings-n900-0.1.4-1.2.Nemo.Adaptation.N900.noarch.rpm udev-rules-nokia-n900-0.11-1.2.Nemo.Adaptation.N900.noarch.rpm
selected_firmware_source:meego
selected_image_source:ubuntu-core
selected_kernel:nemo
selected_target:/dev/sdd1
selected_target_type:partition
target_partition_suffix_root:3'
additional_packages:acpid wireless-tools openssh-server ofono telepathy-ring empathy man-db
boot_parameters:root=/dev/mmcblk0p3 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop panic=20
dist_upgrade:0
nemo_packages:bme-rx-51-bin-0.8.55-2.2.Nemo.Adaptation.N900.armv7hl.rpm contextkit-maemo-battery-rx51-bin-0.7.14-1.2.Nemo.Adaptation.N900.armv7hl.rpm i2c-tools-3.0.3-1.5.Nemo.Adaptation.N900.armv7hl.rpm kernel-adaptation-n900-2.6.37-10.7.Nemo.Adaptation.N900.armv7hl.rpm libbmeipc-bin-0.8.55-2.2.Nemo.Adaptation.N900.armv7hl.rpm libcal-rx-51-bin-0.2.5-1.2.Nemo.Adaptation.N900.armv7hl.rpm libisi-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm liblas-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm liblocation-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm liblocation-headers-0.102-1.2.Nemo.Adaptation.N900.armv7hl.rpm libmlocknice-0.1-1.5.Nemo.Adaptation.N900.armv7hl.rpm libppu-bin-0.1-1.2.Nemo.Adaptation.N900.armv7hl.rpm libsysinfo-rx51-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm libwl1251-bin-0.14-1.2.Nemo.Adaptation.N900.armv7hl.rpm location-daemon-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm location-proxy-bin-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm location-settings-default-0.2-1.2.Nemo.Adaptation.N900.armv7hl.rpm mkinitrd-7.0.17-3.1.Nemo.Adaptation.N900.armv7hl.rpm n900-camera-firmware-0.0.26-1.2.Nemo.Adaptation.N900.armv7hl.rpm nokia-n900-configs-0.7.2-2.2.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-common-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-tool-bin-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm sysinfod-rx51-udev-rules-0%7e20100226.1-2.1.Nemo.Adaptation.N900.armv7hl.rpm ti-wl1251-firmware-0.4-1.2.Nemo.Adaptation.N900.armv7hl.rpm wl1251-cal-bin-0.18-1.2.Nemo.Adaptation.N900.armv7hl.rpm bcm-bt-firmware-0.21rc3-1.2.Nemo.Adaptation.N900.noarch.rpm nokia-usb-networking-2.0-1.2.Nemo.Adaptation.N900.noarch.rpm pulseaudio-settings-n900-0.1.4-1.2.Nemo.Adaptation.N900.noarch.rpm udev-rules-nokia-n900-0.11-1.2.Nemo.Adaptation.N900.noarch.rpm
selected_firmware_source:meego
selected_image_source:ubuntu-core
selected_kernel:nemo
selected_target:/dev/sdd1
selected_target_type:partition
target_partition_suffix_root:3
+ exit 1
what now ?

Last edited by agr0; 2012-07-26 at 16:53.
 

The Following 2 Users Say Thank You to agr0 For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#356
Next time turn off smiles in your post when attaching logs :P
 

The Following 2 Users Say Thank You to Nobless For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#357
Originally Posted by agr0 View Post
+ chroot /mnt/ /tmp/install-chroot-part.sh
chroot: failed to run command `/tmp/install-chroot-part.sh': Permission denied
It looks like here is your problem.

Begin by checking that your files are not corrupted. Here are my md5s (use md5sum to check):
Code:
69e4f17cda4307c7dd24810c20eb2c32  install-chroot-part.sh
82197dc3354d6703b2b99a5328b247f2  install.sh
3053ffb66377d2c891231482834d81d5  just_chroot.sh
ff2d8b45f5353f3d7130c9ae1761085e  switch_kernel_chroot.sh
8495c3a81ae008bf20f70e7b0fcfd5df  switch_kernel.sh
If your files are correct, double check that you are following *all* the installation instructions in the first post ;-)

Then you can edit the install.sh script and change the above offending line to
Code:
chroot /mnt
. You will end up inside the chroot, where you can check the
Code:
/tmp/install-chroot-part.sh
script and verify why it fails to be executed. Start by checking user, directory and file permissions. Use 'exit' to get out of the chroot once your investigations is completed, and then report back.
 

The Following 2 Users Say Thank You to caveman For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#358
Mine logs attached
Attached Files
File Type: txt log.txt (18.5 KB, 138 views)
 

The Following User Says Thank You to Nobless For This Useful Post:
Posts: 22 | Thanked: 12 times | Joined on May 2012
#359
My files are correct. I trying all methods :/ When i run script i have this:
Code:
root@agr0-MS-7369:/home/agr0/ubuntu-n900# bash -x install.sh 
++ basename /bin/bash
+ test bash = bash
+ service_dir=files/
+ options_dir=options/
+ mountpoint_target=/mnt/
+ mountpoint_ubuntu=/media/source/
+ mountpoint_mmc_fat=/media/fat/
+ target_partition_suffix_root=3
+ target_partition_suffix_swap=2
+ target_partition_suffix_fat=1
+ nemo_repo1=http://repo.pub.meego.com/CE:/Adaptation:/N900/CE_Adaptation_N9xx-common_armv7hl/armv7hl/
+ nemo_repo2=http://repo.pub.meego.com/CE:/Adaptation:/N900/CE_Adaptation_N9xx-common_armv7hl/noarch/
+ echo 'Cleaning up...'
Cleaning up...
+ [[ '' == \-\-\r\e\u\s\e\-\o\p\t\i\o\n\s ]]
+ rm options/additional_packages options/boot_parameters options/dist_upgrade options/nemo_packages options/selected_firmware_source options/selected_image_source options/selected_kernel options/selected_target options/selected_target_type options/target_partition_suffix_root
+ umount /mnt/ /media/fat/ /media/source/
umount: /mnt/: not mounted
umount: /media/fat/: not found
umount: /media/source/: not mounted
+ echo '
Prerequisites:
 Software:
  /usr/bin/qemu-arm-static
  dialog
  lshw
  parted

 Hardware:
  Nokia N900 with U-Boot installed
  microSD card (size depends on the selected image, 4Gb will suffice)

'

Prerequisites:
 Software:
  /usr/bin/qemu-arm-static
  dialog
  lshw
  parted

 Hardware:
  Nokia N900 with U-Boot installed
  microSD card (size depends on the selected image, 4Gb will suffice)


+ read -p 'Press ENTER to continue.'
Press ENTER to continue.
All is good ?

Last edited by agr0; 2012-07-26 at 16:54.
 
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#360
Originally Posted by Nobless View Post
Mine logs attached
Nothing stands out for me in your logs. Granted, however, that I can't read the language ;-)
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:41.