installed linux but not able to boot

9 views
Skip to first unread message

iitywygms

unread,
Jun 1, 2009, 4:03:35 AM6/1/09
to atv-bootloader
Okay guys, I need some help
Been at this all weekend and still no joy.
I have followed this guide exactly

http://code.google.com/p/atv-bootloa...titioningLinux
Everything goes well and no errors seen.

I then follow this guide.

http://code.google.com/p/atv-bootloa.../BootingLiveCD
I do the netboot install and all goes well.

This is what I do.

Boot the AppleTV using atv-bootloader and connect using telnet. Then

mkdir tmp

mount /dev/sdb1 tmp

kexec --load tmp/linux --initrd=tmp/initrd.gz --command-
line="vga=normal vesa video=vesafb"

kexec -e

I install ubuntu, no errors noticed. I install system to partition 4
and swap to 5.

Now here is where I am stuck.
When I reboot the atv, nothing happens and the atv logo with the
question mark appears.
So I stick in the atv-bootloader usb stick and it boots to give me the
login prompt.

I can login. I just don't know where to go from here??????
How do I start linux? Should it start automatically?

If I run boot_linux.sh this is what I get.


boot_linux.sh
sda4/boot/brub menu.list found
/bin/bash/
kexec – load /mnt/rootfs/boot/vmlinux (alot of numbers and stuff I am
to tired to type)

kexec jump to new kernel


mount proc/mounts: No such file or directory
mount proc/mounts: No such file or directory

I have been at this all weekend and my eyes are shot.
Could someone please help. I really want to make this work but I am
bugging out and need a little help. Please
__________________

iitywygms

unread,
Jun 2, 2009, 3:10:31 AM6/2/09
to atv-bootloader
Sure could use some help. :(

chaogui

unread,
Jun 3, 2009, 10:02:54 AM6/3/09
to atv-bootloader
Did you update the MBR after installation? If not, check the
following:

http://code.google.com/p/atv-bootloader/wiki/UpdateMBR

Goog luck

--

Chaogui

iitywygms

unread,
Jun 3, 2009, 6:30:43 PM6/3/09
to atv-bootloader
How can I update the mbr if I can't boot into linux?
Should I run this from the usb boot stick?

iitywygms

unread,
Jun 3, 2009, 10:57:47 PM6/3/09
to atv-bootloader
Okay, updated the boot record as asked.
Still no joy.
Argh!!!
Same error!!

On Jun 3, 7:02 am, chaogui <czhang1...@gmail.com> wrote:

Brian Phillips

unread,
Jun 4, 2009, 9:28:49 AM6/4/09
to atv-bootloader
Did you install atv-bootloader to the internal PATA drive? It sounds
like you want it to boot from the internal PATA drive, but it
doesn't. You either haven't put the correct flags on your partition
table or need to re-follow the directions on your page under the
heading "install atv-bootloader"

http://code.google.com/p/atv-bootloader/wiki/PartitioningLinux

Once the internal PATA drive has the bootloader, it can find the
mythbuntu install on sdb4 and boot it. If you are still getting an
error about proc/mounts not found, let me know. It's been a while
since I've paid attention to what messages the bootloader should be
making.

iitywygms

unread,
Jun 4, 2009, 2:03:31 PM6/4/09
to atv-bootloader
I really really appreciate the help, I am a bit of a newb.

I have tried installing using both methods, booting from the usb
drive, or booting from the internal drive.
I will document everything I do next time and copy it verbatim. I am
almost sure I have done everything correctly, but will do it again and
make copies.
The only difference between my setup and the guide is my drive is
40gb.
When you talk about correct flags, are you talking about the boot
flags boot and atvrecv?
Like here.

Number Start End Size File system Name Flags
1 20.5kB 25.0MB 25.0MB primary boot
2 25.0MB 50.0MB 25.0MB primary atvrecv
3 50.0MB 75.0MB 25.0MB primary
4 75.0MB 18.9GB 18.8GB primary
5 18.9GB 20.0GB 1104MB primary
Because that is how mine is.
OR are you talking about boot flags during the linux install process?
Like when I am partitioning, it ask me if I want to add the bootable
flag to the ext3 installation directory. I choose no, is that my
problem????

iitywygms

unread,
Jun 4, 2009, 4:44:14 PM6/4/09
to atv-bootloader
One more thing. The last part of the guide says.

mkdir tmp
mount /dev/sdb1 tmp

cp -ap tmp/boot.efi /mnt/osboot
cp -ap tmp/boot.efi /mnt/recovery

But my linux friend says it should say



cp -ap tmp/boot.efi /mnt/osboot/
cp -ap tmp/boot.efi /mnt/recovery/

Which is correct or does it matter?

iitywygms

unread,
Jun 5, 2009, 2:07:14 AM6/5/09
to atv-bootloader
Okay.
Let me just say. Use a external cd drive to install.
I tried using the netboot install, and tried installing from a usb
stick.
Both methods failed.
This last time I installed from a external cd drive and it worked
flawlessly.
But I still get this message when booting.

mount proc/mounts: No such file or directory
mount proc/mounts: No such file or directory

But it will boot to the frontend and work.
That is all I want or need.
Thank you to everyone for all the help.

I used mythbuntu 8.04.01

Will Koehler

unread,
Jun 5, 2009, 6:25:03 AM6/5/09
to atv-boo...@googlegroups.com
For the record, I was able to install Mythbuntu (8.04, 8.10 and 9.04)
from a USB stick. It's been a while but the basic steps were:

- Make an Ext3 partition on the USB stick (I used the USB stick with
my bootloader partition, just added a new partition after the
bootloader)
- Copy the contents of a Mythbuntu live CD to the Ext3 partition. I
did a straight file copy, nothing special.
- Boot the ATV from the USB stick
- Mount the Ext3 partition
- Use kexec to start the Mythbuntu kernel
- Install Mythbuntu onto the internal hard drive

For Mythbuntu the mount and kexec commands were:

--> mount /dev/sdb3 /tmp
--> kexec --load /tmp/casper/vmlinuz --initrd=/tmp/casper/initrd.gz --
command-line="boot=casper initrd=/casper/initrd.gz nosplash vesa
video=vesafb"
--> kexec -e

I also see the "mount proc/mounts: No such file or directory" when
booting from the hard drive after installing. But the bootloader still
finds and boots the kernel.

Reply all
Reply to author
Forward
0 new messages