You can't use update-grub, since kexec won't use grub, kexec is the new bootloader.
I think either update-grub is wiping out your menu.lst or turning it into a symlink pointing to grub.cfg. Try copying menu.lst to /boot/mb_boot_tv.conf which is looked for before menu.lst according to source: http://code.google.com/p/atv-bootloader/source/browse/trunk/initramfs/apps/boot_linux.sh make sure you don't have a /mb_boot_tv.conf. Then with each update to kernel, you'll need to manually update the / boot/mb_boot_tv.conf file to point to your new kernel. On Jan 3, 4:19 am, stentmartin <[email protected]> wrote: > I need help! > I can not get the installed Mythbuntu to boot from my Apple TV > internal disk. > I have tried many different installs at this point and spent days > (weeks) to try to get it work. > This is what I have and what I want to do. > 1. I have an Apple TV with an internal 160GB PATA disk > 2. I have the latest atv-boatloader with the right Parted GNU 1.8.8 on > a 9 GB usb stick > 3. The atv-boatloader on the usb stick works perfect all the time and > is always the rescue point > 4. I want to over-write the existing Apple TV internal PATA disk and > use it for Mythbuntu > 5. I want to use Mythbuntu as a frontend with my Synology 107 NAS as > backend > 6. I want to use VLAN as the player > This is what I have done so far > 1. First I downloaded a LiveCD with Mythbuntu 10.10 to install on my > Apple TV > 2. I made 3 partions on the disk since I was told the “EFI” and OSBoot > partition was not needed > 3. I formatted the partitions as I was told in “Create and format > proper Apple TV” partitions” > 4. I made a copy of the boot.efi from my usb stick to the recovery > partition on the atv disk > 5. I downloaded the recovery files to my usb stick and made a copy to > the recovery partition on the atv disk as well > 6. I did the checksum on the boot.efi > 7. I booted the LiveCD with Mythbuntu 10.10 and dubble click the > install > 8. After I successfully booted the Mythbuntu LiveCD and dubble- > clicked the Install, it hangs > 9. I downloaded and burned several copies with the same result > 10. Then I reformatted the entire disk with 5 partitions as in the > example “partitioning Linux” > 11. The result was the same and my conclusion was that Mythbuntu 10.10 > does not work with AppleTV – there is no information on Internet about > it > 12. I downloaded and burned Mythbuntu 9.10 – back to basic and I > could do the Installation > 13. After finishing the installation I tried to boot from the internal > disk without success > > This is what I have done to try to boot from the internal Apple TV > disk > > I have checked all files on the Apple TV disk and they looks ok > however the Grub.cfg refers to hd0,4 and that is /dev/sda5 not sda4. > The boot_linux.sh has the wrong initrd.gz > > My Mythbuntu distribution is on hd0,3 and that is /dev/sda4. /dev/sda5 > is the linux swap partition. > > The update-grub does not work or I don’t know how to update the Grub. > > I edited the menu.lst as follows: > > default 0 > title Mythbuntu > root (hd0,3) > kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/sda4 ro quiet > processor.max_cstate=2 > initrd /boot/initrd.img-2.6.31-14-generic > boot > > I did update-grub and get an error. I looked in the file and saw a > command string but do not know how to execute. > > I tried to boot the Apple TV manually using kexec like follows: > > Mount /dev/sda4 /tmp > cd /tmp > > kexec –load vmlinuz –initrd=initrd.img –command-line=”root=/dev/sda4 > initrd=initrd.img” > kexec –e > > First I saw a pink screen and then the TV went black. My atv is > connected to the TV with HDMI and I remembered that the LiveCD Install > did only have component for HD TV. > > I changed the TV to component and there it was. So the kexec could > boot the Mythbuntu from my internal atv disk but not from the menu.lst > script above. > > I updated the Mythbuntu to 10.04.1 LTS lucid, and it worked when I > used the vmlinus.old and initrd.img.old not with the new vmlinuz and > initrd.img. The kernel release is 2.6.24.3 > > Now I need help to automatic boat from the atv with the menu.lst > above. > > I have tried everything I can think about but it seems to me as the > boot.efi never find the right loadpoint. > > Thanks > > Sten -- 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
