![]() |
2011-07-20
, 18:14
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#32
|
Hard to say for sure now, but hopefully, I did it per your instructions....
Yes...I did per instructions:
I checked and 'qemu-arm-static' there in the /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/ directory.....Code:cp /usr/bin/qemu-arm-static /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/ sync
sudo su umount /dev/sdb2 fsck /dev/sdb2 mkdir /mnt/kubuntu mount /dev/sdb2 /mnt/kubuntu cp /usr/bin/qemu-arm-static /mnt/kubuntu/usr/bin/ chroot /mnt/kubuntu
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-07-20
, 19:36
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#33
|
Hmm...Try this:
Code:sudo su umount /dev/sdb2 fsck /dev/sdb2 mkdir /mnt/kubuntu mount /dev/sdb2 /mnt/kubuntu cp /usr/bin/qemu-arm-static /mnt/kubuntu/usr/bin/ chroot /mnt/kubuntu
The Following User Says Thank You to ArchiMark For This Useful Post: | ||
![]() |
2011-07-20
, 19:59
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#34
|
root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: target `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/udev/rules.d/' is not a directory cp: cannot create regular file `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/X11/xorg.conf': No such file or directory cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory ./essential-kubuntu-mobile.sh: line 19: /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/rc.local: No such file or directory ./essential-kubuntu-mobile.sh: line 20: /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/rc.local: No such file or directory mount: can't find /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f in /etc/fstab or /etc/mtab chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `wget': No such file or directory chroot: failed to run command `dpkg': No such file or directory chroot: failed to run command `echo': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/akonadi*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/nepo*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/virtuoso*': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in' root@debian:/home/archimark# nano essential-kubuntu-mobile.sh root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory update-rc.d: /etc/init.d/n900-alsamixer-settings.init: file does not exist update-rc.d: /etc/init.d/nokia-n900-cmt-gpio.init: file does not exist update-rc.d: /etc/init.d/nokia-n900-keys.init: file does not exist --2011-07-20 19:54:01-- http://people.ubuntu.com/~apachelogger/mobile/n900-integration/kubuntu-mobile-n900-integration_0.1_all.deb Resolving people.ubuntu.com... failed: Name or service not known. wget: unable to resolve host address `people.ubuntu.com' dpkg: error processing kubuntu-mobile-n900-integration_0.1_all.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: kubuntu-mobile-n900-integration_0.1_all.deb Adding user `mark' ... Adding new group `mark' (1000) ... Adding new user `mark' (1000) with group `mark' ... Creating home directory `/home/mark' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for mark Enter the new value, or press ENTER for the default Full Name []: Mark Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y Adding user `mark' to group `sudo' ... Adding user mark to group sudo Done. Adding user `mark' to group `admin' ... Adding user mark to group admin Done. ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in' root@debian:/home/archimark#
![]() |
2011-07-20
, 20:05
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#35
|
So, per the above, I changed the mpath to '/mnt/kubuntu' instead of '/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f and tried again....was that correct or was what you suggested just meant to be a test for chroot?
Regardless, got errors as you can see....
Code:root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: target `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/udev/rules.d/' is not a directory cp: cannot create regular file `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/X11/xorg.conf': No such file or directory cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory ./essential-kubuntu-mobile.sh: line 19: /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/rc.local: No such file or directory ./essential-kubuntu-mobile.sh: line 20: /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/etc/rc.local: No such file or directory mount: can't find /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f in /etc/fstab or /etc/mtab chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `wget': No such file or directory chroot: failed to run command `dpkg': No such file or directory chroot: failed to run command `echo': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/akonadi*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/nepo*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/virtuoso*': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in' root@debian:/home/archimark# nano essential-kubuntu-mobile.sh root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory update-rc.d: /etc/init.d/n900-alsamixer-settings.init: file does not exist update-rc.d: /etc/init.d/nokia-n900-cmt-gpio.init: file does not exist update-rc.d: /etc/init.d/nokia-n900-keys.init: file does not exist --2011-07-20 19:54:01-- http://people.ubuntu.com/~apachelogger/mobile/n900-integration/kubuntu-mobile-n900-integration_0.1_all.deb Resolving people.ubuntu.com... failed: Name or service not known. wget: unable to resolve host address `people.ubuntu.com' dpkg: error processing kubuntu-mobile-n900-integration_0.1_all.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: kubuntu-mobile-n900-integration_0.1_all.deb Adding user `mark' ... Adding new group `mark' (1000) ... Adding new user `mark' (1000) with group `mark' ... Creating home directory `/home/mark' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for mark Enter the new value, or press ENTER for the default Full Name []: Mark Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y Adding user `mark' to group `sudo' ... Adding user mark to group sudo Done. Adding user `mark' to group `admin' ... Adding user mark to group admin Done. ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in' root@debian:/home/archimark#
sudo umount /mnt/kubuntu sudo mount /dev/sdb2 /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-07-20
, 20:16
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#36
|
I forgot, once you get the chroot stuff done you will have to remount it to /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f.
Code:sudo umount /mnt/kubuntu sudo mount /dev/sdb2 /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f
root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: target `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/udev/rules.d/' is not a directory cp: cannot create regular file `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/X11/xorg.conf': No such file or directory cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory ./essential-kubuntu-mobile.sh: line 19: /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/rc.local: No such file or directory ./essential-kubuntu-mobile.sh: line 20: /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/rc.local: No such file or directory mount: can't find /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo in /etc/fstab or /etc/mtab chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `wget': No such file or directory chroot: failed to run command `dpkg': No such file or directory chroot: failed to run command `echo': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/usr/bin/akonadi*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/usr/bin/nepo*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/usr/bin/virtuoso*': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in' root@debian:/home/archimark#
![]() |
2011-07-20
, 20:27
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#37
|
Thanks, but now I get:
Code:root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: target `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/udev/rules.d/' is not a directory cp: cannot create regular file `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/X11/xorg.conf': No such file or directory cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory ./essential-kubuntu-mobile.sh: line 19: /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/rc.local: No such file or directory ./essential-kubuntu-mobile.sh: line 20: /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/etc/rc.local: No such file or directory mount: can't find /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo in /etc/fstab or /etc/mtab chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `wget': No such file or directory chroot: failed to run command `dpkg': No such file or directory chroot: failed to run command `echo': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/usr/bin/akonadi*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/usr/bin/nepo*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo/usr/bin/virtuoso*': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in' root@debian:/home/archimark#
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-07-20
, 20:38
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#38
|
root@debian:/home/archimark# cd ./meego-modules root@debian:/home/archimark/meego-modules# ls mnt root@debian:/home/archimark/meego-modules# cd ./mnt root@debian:/home/archimark/meego-modules/mnt# ls acct bin config default.prop etc init.nokia.rc initrd lost+found proc sdcard system ueventd.rc and cache data dev init init.rc lib mnt sbin sys ueventd.nokia.rc usr
![]() |
2011-07-20
, 20:45
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#39
|
Will correct that typo, thanks.
Meantime,
I noticed that maybe I did screw up one of the early steps you mentioned....as you can see, there's a directory 'mnt' inside meego-modules which I assume wasn't suppose to be there....
Code:root@debian:/home/archimark# cd ./meego-modules root@debian:/home/archimark/meego-modules# ls mnt root@debian:/home/archimark/meego-modules# cd ./mnt root@debian:/home/archimark/meego-modules/mnt# ls acct bin config default.prop etc init.nokia.rc initrd lost+found proc sdcard system ueventd.rc and cache data dev init init.rc lib mnt sbin sys ueventd.nokia.rc usr
mv * ../ cd .. rm -r mnt
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-07-20
, 20:55
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#40
|
This is likely because you typed cp -r /mnt meego-modules/ instead of cp -r /mnt /meego-modules. To fix this (assuming you are in meego-modules/mnt/):
Code:mv * ../ cd .. rm -r mnt
root@debian:/home/archimark# ./essential-kubuntu-mobile.sh cp: target `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/etc/udev/rules.d/' is not a directory cp: cannot create regular file `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/etc/X11/xorg.conf': No such file or directory cp: cannot stat `/home/archimark/meego//n900_nokia-n900-configs/*.init': No such file or directory ./essential-kubuntu-mobile.sh: line 19: /media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/etc/rc.local: No such file or directory ./essential-kubuntu-mobile.sh: line 20: /media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/etc/rc.local: No such file or directory mount: can't find /media/a6c5c4e9-555c-4565-bald-ceea8d5a953f in /etc/fstab or /etc/mtab chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `update-rc.d': No such file or directory chroot: failed to run command `wget': No such file or directory chroot: failed to run command `dpkg': No such file or directory chroot: failed to run command `echo': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/usr/bin/akonadi*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/usr/bin/nepo*': No such file or directory chmod: cannot access `/media/a6c5c4e9-555c-4565-bald-ceea8d5a953f/usr/bin/virtuoso*': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory chroot: failed to run command `adduser': No such file or directory ./essential-kubuntu-mobile.sh: line 58: syntax error near unexpected token `in' ./essential-kubuntu-mobile.sh: line 58: `in'
Mark
Silicon Valley Digerati
Nokia N900
Previous: Nokia N810 & N800