thanks for the info & suggestions, I've got Ubuntu 9.04 working now
and I suspect that my Mac was the stumbling block.  I was following
the steps in the "Do I really need a USB CD/DVD drive" section of
http://code.google.com/p/atv-bootloader/wiki/BootingLiveCD, doing the
initial copying of files from the .iso to the USB-stick from a
terminal on my Mac.  I suspect that MacOS may have been doing
something to the 3rd (payload) partition when it was mounting because
the resulting partition wouldn't boot.
To get a working partition, here's the steps I took:
1) create a new boot-loader USB with ATV-bootloader.  When ATV-
bootloader is finished, the partitions that it created are NOT mounted
(but the USB-stick itself is) - this is good.
2) copy the contents of your live CD image to the empty partition on
the USB stick - the guide says to use 'cp' but on a Mac I had more
success with 'dd':

sudo dd if=~/Downloads/ubuntu-9.04-desktop-i386.iso of=/dev/disk2s3
bs=1m

where you will need to substitute the correct paths for both the
Ubuntu image and also the USB device.
Note that this process took about 20min for the 'desktop' edition and
30min for the 'netbook remix' edition.
3) once done, eject the USB-stick from the Mac, plug it into the ATV
and reboot the ATV
4) once the bootloader has finished, telnet to the ATV using root as
user and password
5) the isolinux.cfg/syslinux.cfg steps mentioned in the guide don't
seem to be necessary for Jaunty
6) mount the USB-stick and run the kexec commands as per the guide
This should boot Ubuntu Jaunty - you'll need a USB keyboard & mouse
connected to the ATV to continue.
Also I performed a factory-restore on the ATV before doing any of this
(it had previously been patched with Boxee) - that may or may not be
important.

I would like to automate the USB-mounting & kexec - is there a
canonical way to do this?  Presumably this should go in a
boot_linux.sh script - in the same USB partition as the live 'CD' or
somewhere else?

thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to