Quote: Originally Posted by Chaosz-X Originally Posted by Hi,



I saw you got native Ubuntu up and running on the Desire HD, and I wanted to do the same with my Flyer. I know how to compile kernels and an Android build etc., but I can't figure out how to set the partitions, that the boot.img boots from a partition on the SD-card. So I was wondering if you could tell me, what modifications are made to your boot.img to make it boot from SD.



Thanks in advance!

I guess you know how to extract a boot.img.When you try split_bootimg with my boot.img you will find two things.1) a special command line arguments2) a complet other ramdisk image containing2a) a busybox2b) a init scriptThe commad line arguments refer to the init script in the ramdisk.The init script mounts some partitions including the ubuntu "partition" (in this case a image file on the sd card".For mounting the partitions the init script calls a other script called MAKEDEVS also based in the ramdisk image.In this second script you need to change the major and minor numbers of the block devices to match your kernel/device.I use a image file on the sd card.You could use following commands on a linux machine to edit the image.mkdir /mnt/ubuntuimgsudo mount -t ext2 -o loop,rw /pathToTheImage/rootfs.ext2 /mnt/ubuntuimgThen you will see the content of the image in /mnt/ubuntuimg.Don't forget to unmount.umount /mnt/ubuntuimgIn the kernel the framebuffer must be activated to run ubuntumake menuconfigDevice Driver->Character Devices-> Set Virtual TerminalDevice Driver->Graphics support->Console display driver support->Remove VGA Text consoleMaybe same patches for the framebuffer are needed to use the framebuffer.Some information can be found under: