Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
adefa,
And also just the default boot from grubs menu.lst.
Mine is
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d439b2bb-deec-4c07-b2bc-d97aca8c44f3 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
Posts: 24
Joined: Mar 2006
Reputation:
0
well this one makes me feel stupid....I got no display because one of the cables was unplugged and my TV will show nothing if it is only getting a signal from 2 out of 3 of the component cables!
So component is check, now no audio so I definitely messed something up in the alsa re-install but I will start looking at that tomorrow
thanks for the help, even though it did end up being my stupidity that caused my problems!
Andrew
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
Well, it looks perfectly fine aside from the hda vs sda difference. The only other difference I can think of is you are using a 2.5 -> 3.5 adapter to install but that should not cause any differences. I generally use a 2.5 to USB adapter, can boot from it too. This reduces the connect/disconnect cycle to the internal cable. The internal cable is fragile and others have see it start to get flaky over time with rough handling.
Since you can boot on a normal PC, that means there's a grub MBR on the drive. That should only make the time boot longer as efi firmware will ignore the drive at first. After 30-60 seconds efi firmware will eventually boot it. There's a proper EFI MBR in the wiki downloads but if you over-write your current one, you will remove the ability to boot the drive on a normal PC. Make a copy of your current one if you try this.
dd if=/dev/hda of=grub_mbr.bin bs=512 count=1
Since I have to do a reinstall anyway, I can do it using a 2.5 -> 3.5 converter and see if I can replicate your problem. My drive was an older one that I guess just finally died, it started making bad drive noises yesterday during a massive kernel deb compile. I'll keep the grub MBR installed too.
It's going to take a bit, I have to dig up a plant (honey do) this morning and do some other things.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
ok, installed MythBuntu using a 2.5 -> 3.5 drive adapter. Used recovery.tar.gz from the wiki downloads. Used my original r1 boot.efi.
Since it installed grub, I check the boot on normal PC hardware. X11 did not work as I selected the nvidia binary in the install and the PC hardware only has built in intel video. So screen is blank but I can ssh in.
I see sda, sda1, sda2, sda3, sda4 and sda5 in /dev. Typed "sudo partprobe" which mounts
/dev/sda2 ->/media/Recovery
/dev/sda3 ->/media/OSBoot
/dev/sda4 ->/media/disk
download recovery.tar.gz, extract it and "cp -arp" the contents into /media/OSBoot and /media/Recovery. Add boot.efi into both of the above.
chroot in and do the fix ups for console frame buffer, rebuild the initrd.
Dismount all, shutdown, insert into AppleTV internal. Powerup, about 60 seconds later, I see tux/atv logo, few seconds later into atv-bootloader with tux in upper left corner, atv-bootloader kernel boot (penbuntu) output then search for grub menu.lst and second kernel boot. wait a bit, X11 comes up and Mythfrontend auto starts.
I'm stumped as to why yours is failing to boot the second kernel. Edit the grub menu.lst and remove "quiet splash" from the kernel line. Maybe that will give more info.
Posts: 24
Joined: Mar 2006
Reputation:
0
davilla,
For the instructions on the wiki I needed to install fakeroot and kernel-wedge
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
adefa,
I might a fix, I understand the error better. 0x206 pages is the size of the section holding the linux kernel. boot.efi can't alloc memory for it.
I'm at work right now so I can't test it to see if my AppleTV is still ok. I'll need to get you a new build of mach_kernel. I don't want to put it in the download section of atv-bootloader as anything I put there sticks forever.
Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
Ok, I'm at work as well right now. Just let me know how ya wanna schlep the file to me, and I'll test it tonight.
Posts: 1,741
Joined: Jul 2006
Reputation:
4
Davilla will you guys eventually just do a distro for the Apple TV or will this remain a mostly manual process? Mine should be home in the next week or so and I'd love to be able to just write an image to a disk and go! Are there IP issues with trying to do that?