From: Jelle De L. <sk...@ki...> - 2008-08-29 16:05:01
|
Ah, I've finally found the problem! Well, there were several ... The tutorial on that wiki was actually based on this one: http://code.google.com/p/atv-bootloader/wiki/InstallGentooVer1 Except they messed everything up. In the wiki-tutorial they were installing another kernel, yet they forgot to update the symlinks and grub.conf files and such. I've wrestled with this one for quite a while, I think I'll change a few things on the wiki itself to make it work properly :) /Met vriendelijke groeten,/ *Jelle De Loecker* Kipdola Studios - Tomberg Justin Mattock schreef: > On Fri, Aug 29, 2008 at 7:49 AM, Jelle De Loecker <sk...@ki...> wrote: > >> The mbr should be correct, grub should be fine, too! >> >> So, am I correct to assume that the atv_bootloader will always come up and >> then load the next linux kernel through kexec? Because that's the thing >> that's not happening here, right? >> >> Where do I have to set this kexec thing? >> >> And where do I have to put the mbr file to? According to the tutorial it's >> this command: >> >> dd if=tmp/mbr_fast-1.0.bin of=/dev/sdb bs=512 count=1 >> >> but sdb is the usb drive, as he knows, so I did it to sda, which is the hard >> drive. >> >> >> Met vriendelijke groeten, >> >> Jelle De Loecker >> Kipdola Studios - Tomberg >> >> Justin Mattock schreef: >> >> On Fri, Aug 29, 2008 at 7:10 AM, Jelle De Loecker <sk...@ki...> >> wrote: >> >> >> Thanks for the help! :) >> >> No, I'm using a patchstick (atv-bootloader) >> I then telnet into the machine. (According to this tutorial: >> http://www.mythtv.org/wiki/index.php/Installing_MythFrontend_on_Apple_TV_using_Gentoo) >> >> When I reboot the regular linux kernel comes up (the one from the >> patchstick, even without the patchstick) >> >> Can the /boot partition also be an ext2 filesystem, or does it HAVE to be >> fat? >> >> Met vriendelijke groeten, >> >> Jelle De Loecker >> Kipdola Studios - Tomberg >> >> >> >> Justin Mattock schreef: >> >> On Fri, Aug 29, 2008 at 3:07 AM, Jelle De Loecker <sk...@ki...> >> wrote: >> >> >> Hi again, >> >> I'm succesfully compiling the kernel as we speak (at a normal speed this >> time around :)) >> >> There is 1 problem: I wasn't able to mount the linux boot partition at >> /dev/sda1 using the pendrive: >> >> mount: mounting /dev/sda1 on /tmp/boot failed: Invalid argument >> >> >> I've googled about this, but I can't find any solution, only lots of >> other questions. >> The only option seems to be to reboot and try again, but can I boot the >> pendrive again with this patched AppleTV? >> >> So, I know Gentoo won't boot, but will the efi bootloader be able to >> boot from usb? >> Or does someone have a better solution? >> >> Thank you for your time, >> Jelle De Loecker >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Mactel-linux-users mailing list >> Mac...@li... >> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users >> >> >> >> Not sure on how to answer this, but am willing >> to help in any way, from the looks of it >> there seems to be a module missing causing the file system to be unkown. >> Are you booting up with a live cd, and then mounting the >> hard drive? >> >> >> >> >> Not sure with the whole apple t.v. setup on the tutorial, >> but personally I think so, just as long as you made sure >> the MBR(hd0,0) is in the right place, and grub(if thats what you're using) >> has the proper module to read the filesystem. As for mounting >> it sounds, or looks like everything is normal i.g. no strange filesystems. >> maybe telnet is causing an issue? >> >> >> > > not sure about atv_bootloader, and kexec. > /dev/sdb sounds about right for dev name, > but can also be sda or sdc. looking at the tutorial > I see a sdg: > # Verify that it looks fine and the atvrecv flag is set > sudo parted -s /dev/sdg unit s print > Model: CBM Flash Disk (scsi) > Disk /dev/sdb: 2015744s > Sector size (logical/physical): 512B/512B > Partition Table: gpt > (not sure why, maybe sdram or something); > here is a thread for grub: > http://ubuntuforums.org/showthread.php?t=224351 > using grub2 I usually use grub-setup > to create stage1(if I remember correctly) > the location for all of these files is: > /boot/grub > there you have all of the grub modules etc... > but you also need to make sure the device(apple T.V.) knows where to > find /boot/grub i.g. root (hd?,?); on the macbook > when starting after the "GOOOONG" and pressing "option" > if you have that correct you should see a disk, but if incorrect > you will see nothing. > > As for: > dd if=tmp/mbr_fast-1.0.bin of=/dev/sdb bs=512 count=1 > this is confusing to me: > if=tmp/mbr_fast-1.0.bin > do you see anything in /tmp or wherever this might be located. > > > > |