

mkdir -p /mnt/ubuntu && mount /dev/mmcblk1p2 /mnt/ubuntu
cp -r /lib/modules/* /mnt/ubuntu/lib/modules/ cp /lib/firmware/* /mnt/ubuntu/lib/firmware/ chroot /mnt/ubuntu /bin/bash useradd -m <replace with your username here> (e.g useradd -m mohammad) # fill in details as you wish. visudo # Edit the file and add your username to sudoers using visudo # Example (replace my username with yours) # # User privilege specification # root ALL=(ALL) ALL # mohammad ALL=(ALL) ALL
cp /usr/share/applications/gnome-terminal.desktop /home/mohammad/Desktop/
exit
vi /etc/bootmenu.d/ubuntu.ext.item # Press I to enter input mode. # Replace partition numbers with the ones on your device.
ITEM_NAME="Ubuntu 9.10 Karmic (external SD, partition 2)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${EXT_CARD}p2"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
echo "00:11:22:33:44:55" > /sys/devices/platform/hci_h4p/bdaddr; modprobe -r hci_h4p; modprobe hci_h4p