Reply
Thread Tools
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#31
Originally Posted by skykooler View Post
The mnt directory should not be a problem, assuming that when you installed MeeGo you typed cp -r /mnt meego-modules and not cp -r /mnt meego-modules/ (the slash is important).
Hard to say for sure now, but hopefully, I did it per your instructions....

The second part usually means that qemu-arm-static was not found. Did you copy it into /usr/bin on the sd card?
Yes...I did per instructions:

Code:
cp /usr/bin/qemu-arm-static /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/
sync
I checked and 'qemu-arm-static' there in the /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/ directory.....
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#32
Originally Posted by ArchiMark View Post
Hard to say for sure now, but hopefully, I did it per your instructions....



Yes...I did per instructions:

Code:
cp /usr/bin/qemu-arm-static /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/
sync
I checked and 'qemu-arm-static' there in the /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f/usr/bin/ directory.....
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 skykooler For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#33
Originally Posted by skykooler View Post
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
Thanks, that worked OK...no error messages....

__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 

The Following User Says Thank You to ArchiMark For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#34
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#
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#35
Originally Posted by ArchiMark View Post
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#
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
 

The Following User Says Thank You to skykooler For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#36
Originally Posted by skykooler View Post
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
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#
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#37
Originally Posted by ArchiMark View Post
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#
It seems to be looking for something in /media/a6c5c4e9-555c-4565-bald-ceea8d5a953fo, rather than /media/a6c5c4e9-555c-4565-ba1d-ceea8d5a953f (notice the 'o' at the end). Did you add that 'o' when you changed the script back?
 

The Following User Says Thank You to skykooler For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#38
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
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#39
Originally Posted by ArchiMark View Post
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
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
 

The Following User Says Thank You to skykooler For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#40
Originally Posted by skykooler View Post
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
OK, did that, thanks!

However, now I get:

Code:
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'
Do I need to redo 'cp -r /mnt /meego-modules' or ?

Thanks.

__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:44.