ngok Wrote:I managed to login by telnet,but user xbmc is not available,root/root will let you in.
on screen there are some error messages.
looks like boot loader is up but booting ubuntu is failed.
atv-boot=manual -- searching for boot_linux.sh
sh: 0:unknown operand
atv-boot=auto/manual/patchstick failed -- starting telnetd
That sounds like the USB stick is corrupt. When you plug the stick into an Ubuntu box you should see two partitions, one is hfsplus mounted at /media/Recovery and the other is ext3 mounted at /media/Linux.
In your case it sounds like /media/Recovery/boot_linux.sh contains garbage. It should look like this:
echo "this is a boot_linux.sh script"
mkdir -p /tmp/rootfs
mount /dev/sdb2 /tmp/rootfs
kexec --load /tmp/rootfs/vmlinuz --initrd=/tmp/rootfs/initrd.img --command-line="processor.max_cstate=2 root=UUID=53b51eec-0918-4abd-be0d-13d73ead4631 ro quiet splash"
If you can telnet into the box then try cut and pasting those commands into the prompt, it might reveal some more info.
Back on your Ubuntu box you can also try checking the filesystems with fsck, in the past I've had problems with a boot failing because the filesystem wasn't unmounted cleanly.
sudo umount /media/Linux
sudo fsck.ext3 /dev/sdc2 # my USB device is at /dev/sdc
sudo umount /media/Recovery
sudo fsck.hfsplus /dev/sdc1 # you'll need the package hfsprogs for this