I need help! I cannot get the installed of MythBuntu to be seen on
bootup and have tried probably 20 different installs at this point.
I have been following the instructions as best possible and it appears
that everything is installed and good but it simply will not boot to
the MythBuntu install afterwards. David tried at a new instruction
set that is posted on the Myth wiki but there is something missing as
all I get are restarts to the AppleTV. There is likely something
obvious that I am missing so let me list out my instructions and see
if anyone can point out what I am missing.
1.) Created a atv bootstick.
2.) reformatted the PATCHSTICK partition to ext3 so that it could be
booted from after the kexec.
3.) Loaded the Mythbutu 9.10 iso via a modification on Scott's
instructions (modified to use 9.10. Here are the steps I used.
# mount the iso
mkdir iso
mount -o loop mythbuntu-9.10-desktop-i386.iso iso
# mount your USB flash drive with
# atv-bootloader on 1st partition,
# empty ext3 on 2nd partition.
mkdir usb
mount /dev/sdb2 usb
# copy selected contents of the iso into the flash
# ".disk" is important as this is what "casper" the
# Ubuntu initrd used to find valid iso contents
#
cd iso
cp -rf casper dists install pics pool preseed .disk ../usb
cp isolinux/isolinux.cfg md5sum.txt README.diskdefines ../usb
cp casper/vmlinuz casper/initrd.lz install/mt86plus ../usb
# cd into the usb and make some changes
cd ../usb
mv isolinux.cfg syslinux.cfg
sed -i -e 's:/casper/::g' -e 's:/cdrom/::g' -e 's:/install/::g'
syslinux.cfg
4.) Now I rebooted the ATV using the patchstick and got to work on
modifying the partitions. I used the following parameters and
instructions. Again, this is a slightly modified set from Scott's
(mostly in that I only create a small additional drive for MythBuntu
to reside on, it does not need a lot of room).
parted -s /dev/sda rm 4
parted -s /dev/sda mkpart primary HFS 2732016s 68593750s
# 5-EXT3
parted -s /dev/sda mkpart primary ext3 68593751s 77091549s
# 6-Swap
parted -s /dev/sda mkpart primary linux-swap 77091550s 78140126s
# Resync the system partitions (commit them if you will)
partprobe /dev/sda
5.) Made sure the original drive was good for use with the command:
mkfs.hfsplus -J -v Media /dev/sda4
6.) Skipped the command for the new partition 5 ("mkfs.ext3 -b 4096 -
L Linux /dev/sda5") because it returned an error on the block size.
My figurings are that on the installation the formatting will take
care of it.
7.) Create the mount point for the installation and launch it:
mkdir /cdrom
mount /dev/sdb2 /cdrom
kexec --load /cdrom/casper/vmlinuz --initrd=/cdrom/casper/initrd.lz --
command-line="preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz
nosplash vesa video=vesafb"
kexec -e
8.) After the MythBuntu LiveCD on a USB comes up I run the "Install
MythBuntu" command.
9.) I select the appropriate language, time location, keyboard, "Apple
Mini Remote", NVidia driver along with component out and 720p
resolution. On the database connection I test it and it is all good.
10.) For the partitions I setup the swap on sda6, and for sda5 I use
ext3 journaled along with formatting t and using "\" for the mount
point. All other sda's are set for "do not use".
11.) I move forward to the point where it is ready to do the install
and then select the "Advanced" button. I have tried it both with the
default setting pf installing the bootloader on /dev/sda and the last
time I tried setting to use /dev/sda5.
12.) The installation completes and when I get to the “Installation
Complete” I press the “Continue Testing” button so some final work for
fixing grub (at least that is what I was hoping would happen).
13.) From within the MythBuntu LiveCD instance that I am still in I
open a terminal session and run the following commands as noted in
David's instructions and adding in some other recommendations from
recent posts (I tried David's instructions originally and had no
satisfaction).
sudo mkdir /atvdrive
sudo mount -o loop /dev/sda5 /atvdrive
cd /atvdrive/boot/grub
sudo cp grub.cfg grub.cfg.original
sudo mousepad /atvdrive/boot/grub/menu.lst
>From the menu.lst I edited it to contain:
default 0
timeout 3
title Mythbuntu
root (hd0,3)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/sda5 ro quiet
processor.max_cstate=2
initrd /boot/initrd.img-2.6.31-14-generic
boot
I tried "root (hd0,4)" but had no success with that so I tried "root
(hd0,3)" as noted by another posting on the site.
sudo cp menu.lst menu.lst.original
ls -s grub.cfg menu.lst
sudo sed -i -e "s/^# kopt=root=UUID=.* ro$/& processor.max_cstate=2/" /
atvdrive/boot/grub/menu.lst
sudo update-grub
The "update-grub" errors so I suspect the last two instructions are
premature.
14.) Now I reboot (removing the bootstick when told it is safe to do
so) but all I get is a AppleTV restart.
As noted, this is about the 20th time I have gone through the
instructions and installations with no success. Any help truly is
appreciated by my family and my mental health.
--
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