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#
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