Jump to content











Photo
- - - - -

TRI-BOOTING ON MEEGOPAD T01


  • Please log in to reply
1 reply to this topic

#1 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4163 posts

Posted 15 February 2015 - 08:22 AM


  TRI-BOOTING ON MEEGOPAD T01

https://plus.google....dZFRCybn?cfem=1
https://docs.google....=h.5lek242pn16u
 

AUTHOR: LINUXIUM


G+ https://plus.google.com/+IanMORRISON

Web linuxium.com.au

Twitter https://twitter.com/linuxium

Facebook https://www.facebook.com/pages/Linuxium/285917904920357


Donations gratefully accepted through http://goo.gl/nXWSGf



IMPORTANT


It is recommended to make a FULL backup of your device using these instructions as making a mistake could result in completely removing Windows and/or corrupting the file system and boot process



REQUIREMENTS


  1. A MeeGoPad T01 device and Windows 8.1 with Bing installed

  2. A connected USB HUB and a two USBs

  3. A USB to Ethernet Adapter (ASIX is supported)

  4. An external storage device (e.g. a USB connected external HDD with a minimum of 33GB free space)

  5. An Ethernet connection to a DHCP server

*    Anything else is possible but is not documented here!




CREATE PARTITIONS FOR UBUNTU AND ANDROID


  1. Boot the device into Windows

  2. Open “Disk Management”

  3. Right click on volume “C:” and select “Shrink Volume”

  4. Enter “10240” in “Enter the amount of space to shrink in MB” and select “Shrink”

  5. Now right click on the newly created free space and select “New Simple Volume”

  6. Enter “8192” in “Simple volume size in MB” and select “Next”

  7. Now select “U” for “Assign the following drive letter” and select “Next”

  8. Finally enter “Ubuntu” as “Volume label” and select “Next” then “Finish”

  9. Repeat steps 5 to 8 using the maximum disk space (2GB) for size, “A” for drive letter and “Android” for label

CREATE A BOOTABLE UBUNTU LIVEUSB


  1. Download Rufus from http://rufus.akeo.ie/

  2. Download a “desktop-amd64.iso” Ubuntu ISO "ubuntu-12.04.5-desktop-amd64.iso " from http://releases.ubuntu.com/precise/

(Note: I'm using the older supported version of Ubuntu for compatibility with ARM-based

mini PCs because this is the last version where 2D-Unity works on the ARM devices)

  1. Insert the USB into the USB HUB connected to device

  2. Format the USB (quick format)

  3. Run Rufus

    1. Select ISO and select the downloaded Ubuntu ISO

    2. Select “GPT partition scheme for UEFI computer”

    3. Accept "FAT32"

    4. Select "64 kilobytes" cluster size

    5. Enter "LIVECD" as new volume label

    6. Click "Start" then "OK" then "Close"

  4. Download “bootia32.efi” from https://drive.google.com/file/d/0B99O3A0dDe67QWUtek9rdHptMjA or compile it from source - see https://github.com/jfwells/linux-asus-t100ta/tree/master/boot

  5. Copy “bootia32.efi” to the USB (d:\EFI\BOOT)

  6. Shutdown






INSTALL UBUNTU TO eMMC


  1. Boot into BIOS by pressing “F7” after turning on the device

  2. Select the “UEFI: USB device” option from the BIOS menu

  3. Hit "Enter" which will select "Try Ubuntu" from grub menu to boot Ubuntu

  4. Insert the USB into the USB HUB connected to device

  5. Open a "terminal" window and enter:

    1. sudo su -

    2. umount /media/*

(e.g. /media/Android, /media/Ubuntu, /media/Recovery and /media/Windows)

  1. Make a backup of the existing eMMC

    1. connect the external storage device and identify the partition with the available space (hint: use “lsblk -f” or similar) e.g. /dev/sdb1

    2. mount the external storage device (e.g. “mkdir /mnt/meegopad && mount /dev/sdb1 /mnt/meegopad”)

    3. use “dd” to save the entire eMMC to the external storage device (e.g. “dd if=/dev/mmcblk0 of=/mnt/meegopad/meegopad-backup.dd bs=4M”

    4. unmount the external storage device (e.g. umount /mnt/meegopad && rmdir /mnt/meegopad) and keep it safe!

  2. Install Ubuntu on to the device's eMMC (click the “Install Ubuntu” desktop icon)

    1. Select "Continue" (i.e. don't download updates or install proprietary drivers)

    2. Accept "English" (or relevant language)

    3. Perform manual partitioning (select "Something else")

      1. Select “/dev/mmcblk0p4” and "Change"

      2. Use as "Ext4 journaling file system

      3. Select "Format the partition"

      4. Mount point "/"

      5. For "Device for boot loader installation" leave as  "/dev/mmcblk0"

    4. Ignore warning about swap

    5. Select time zone, keyboard, user name, computer name, password

    6. Wait for the installation to finish and select "continue testing"

    7. Now create a grub entry on the USB to be able to boot the device so in a "terminal" window and enter:

      1. mount -o remount,rw /dev/sda1 /cdrom

      2. mount /dev/mmcblk0p4 /mnt

      3. view /mnt/boot/grub/grub.cfg (and copy the menu item for booting Ubuntu)

      4. vi /cdrom/boot/grub/grub.cfg (and insert the copied menu item as first menu item and comment out the “recordfail” and “gfxmode” lines)

      5. umount /mnt

      6. umount /media/*




CONFIGURE EFI TO BOOT UBUNTU


  1. Reboot and press “F7” and select “UEFI: USB device” and then “Try Ubuntu” (from grub menu) to boot Ubuntu

  2. Open a “terminal” window and enter:

    1. sudo su -

    2. umount /media/*

    3. apt-get update

    4. apt-get -y remove grub-efi-amd64

    5. apt-get -y install grub-efi-ia32

    6. cd /boot/efi/EFI

    7. cp ubuntu/grubx64.efi ubuntu/grubx64.efi.orig

    8. cp grub/grubia32.efi ubuntu/grubx64.efi

    9. update-grub2

    10. e2label /dev/mmcblk0p4 Ubuntu

  3. Shutdown

  4. Remove the USB



INSTALL ANDROID TO eMMC


  1. Boot into BIOS by pressing “F7” after turning on the device and select the first “Ubuntu” that appears in the BIOS menu

  2. Hit "Enter" which will select "Try Ubuntu" from grub menu to boot Ubuntu

  3. Download "android-x86-4.4-r2.img" from http://www.android-x86.org/download

  4. Insert a USB into the USB HUB connected to device

  5. Open a "terminal" window and enter:

    1. sudo su -

    2. dd if=android-x86-4.4-r2.img of=/dev/sda bs=4M

  6. Reboot and press “F7” and select “UEFI: USB device” and then “Try Ubuntu” (from grub menu) to boot Ubuntu

  7. Open a "terminal" window and enter:

    1. sudo su -

    2. vi /media/Android-x86/efi/boot/grub.cfg

    3. Now move the menuentry for “Android-x86 4.4-r2 Installation” to the first entry

    4. Insert the other USB into the USB HUB connected to device (/dev/sdb) and enter:

    5. fdisk /dev/sdb

    6. enter “o”

    7. enter “w”

    8. Now remove this USB

  8. Reboot and press “F7” and select “UEFI: USB device”

  9. Select the “install” option

  10. Insert the other USB back into the USB HUB connected to device

  11. Select "Detect Devices"

  12. Select "Create/Modify Partitions"

  13. Select "sdb"

  14. Select "New" to create a new partitiom

  15. Select "Primary"

  16. Select maximum size

  17. Select "Write" and enter "yes"

  18. Select "Quit"

  19. Select sdb1" as partition to install Android-X86 on

  20. Select "fat32" as format

  21. Accept "yes" to confirm

  22. Accept "skip" to skip installing grub

  23. Accept "yes" to installing system as r/w

  24. Accept "yes" to create a data image

  25. Enter "1024" as size for data image

  26. Select "reboot"




BOOT UBUNTU AND CONFIGURE GRUB


  1. Reboot and press “F7” and select “UEFI: USB device” and then “Try Ubuntu” (from grub menu) to boot Ubuntu

  2. Open a “terminal” window and enter:

    1. sudo su -

    2. apt-get update

    3. apt-get upgrade

    4. apt-get install aptitude

    5. aptitude install ssh openssh-server tightvncserver p7zip-full chromium-browser gparted (adds useful software)

  3. Boot device into BIOS and select the first “Ubuntu” that appears in the BIOS menu

  4. Open a "terminal" window and enter:

    1. sudo su -

    2. cp -a /media/Android-x86_/android-4.4-r2/ /media/Android

    3. cd /boot/efi/EFI

    4. cp grub/grubia32.efi grub/grubia32.efi.orig

  1. Download “grubia32.efi” from https://drive.google.com/file/d/0B99O3A0dDe67bEh6VUNTX0s4dEU

  2. Copy to “/boot/efi/EFI/grub/grubia32.efi”

  3. Then in the "terminal" window enter:

    1. cp /boot/efi/EFI/grub/grubia32.efi /boot/efi/EFI/ubuntu/grubx64.efi

    2. ln -s /boot/grub/i386-efi/video.lst /boot/grub/video.lst

    3. update-grub2

  4. Download “linuxium-grub-wrapper.sh” from https://drive.google.com/file/d/0B99O3A0dDe67Q3VrM2RIcjF3OVE

  5. Copy to “/boot/grub/linuxium-grub-wrapper.sh”

  6. Then in the "terminal" window enter:

    1. cd /boot/grub

    2. chown +x linuxium-grub-wrapper.sh

    3. ./linuxium-grub-wrapper.sh

  7. Shutdown and remove the USBs

  8. Reboot into BIOS by pressing “F7” and select "Enter "Setup"

  9. Change the boot order to make “ubuntu” the first option

  10. Reboot and enjoy



FURTHER INFORMATION


  1. The SD card works on Ubuntu however wifi, BT and sound are still WIP.

  2. Note that Android uses the first partition (Windows Recovery) as a mount for USB3.



REFERENCES


  1. “Ubuntu (or other Linux) on the ASUS Transformer Book T100” by John Wells (see http://www.jfwhome.com/2014/03/07/perfect-ubuntu-or-other-linux-on-the-asus-transformer-book-t100/)



#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4163 posts

Posted 15 February 2015 - 08:43 AM

Ubuntu 14.10 Wifi Driver!

http://www.armtvtech...p?f=574&t=79716

by deadhp1

Found a wifi driver that works for the Meegopad-T01 in Ubuntu 14.10.
You'll need a network connection or download the tar backup)

 

 

 

 

Ubuntu MATE 14.10 x64 livecd! Hybrid Test 17.

http://www.armtvtech...p?f=574&t=79720

 

-Used the amazing Systemback software to turn a backup of my filesystem into a livecd.
-Install Ubuntu using Systemback instead of ubiquity.

 

 

What is Not Working:
-Audio
-Bluetooth
-Persistence in livecd. It could be as simple as adding a casper-rw file and the line "persistent" to menu entry the grub.cfg. I just haven't tested adding it yet.

What is Working:
-Wifi
-accelerated video playback in XBMC
-livecd environment with install option

 

 

Systemback Simple system backup and restore application with extra features

 

http://sourceforge.n...cts/systemback/

 

jd-hupp

Systemback a deployment tool using the Live System.

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users