kexec for Mythbuntu 11.04

29 views
Skip to first unread message

DFishburn

unread,
Jul 31, 2011, 9:30:19 PM7/31/11
to atv-bootloader
Just started setting up two ATVs with Mythtbuntu 11.04.

Just trying to figure out the correct kexec line.
I copied the install to a USB key and mounted it to tmp.

cat tmp/isolinux/isolinux.cfg
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo

cat tmp/boot/grub/loopback.cfg
menuentry "Install Mythbuntu" {
linux /casper/vmlinuz file=/cdrom/preseed/
mythbuntu.seed boot=casper only-ubiquity iso-scan/filename=${iso_path}
quiet splash --
initrd /casper/initrd.lz
}


I have tried the following lines:
kexec --load tmp/casper/vmlinuz --initrd=tmp/casper/
initrd.lz --command-line="boot=casper initrd=/casper/initrd.lz
nosplash vesa video=vesafb"

-- This just stops after the BusyBox 1.1.7.1 prompt and shows:
(initramsfs) Unable to fina a medium containing a live file system.

kexec --load tmp/casper/vmlinuz
--initrd=tmp/casper/initrd.lz --command-
line="boot=casper initrd=/casper/initrd.lz file=/cdrom/preseed/
mythbuntu.seed iso-scan/filename=${iso_path} nosplash vesa
video=vesafb"
-- This one just hangs at the kexec -e line.


Any suggestions?

TIA,
Dave

DFishburn

unread,
Jul 31, 2011, 11:32:40 PM7/31/11
to atv-bootloader
> Just trying to figure out the correct kexec line.
> I copied the install to a USB key and mounted it to tmp.
>
>                 cat tmp/isolinux/isolinux.cfg
>                     include menu.cfg
>                     default vesamenu.c32
>                     prompt 0
>                     timeout 50
>                     ui gfxboot bootlogo
>
>                 cat tmp/boot/grub/loopback.cfg
>                     menuentry "Install Mythbuntu" {
>                         linux /casper/vmlinuz file=/cdrom/preseed/
> mythbuntu.seed boot=casper only-ubiquity iso-scan/filename=${iso_path}
> quiet splash --
>                         initrd /casper/initrd.lz
>                     }

I ended up using this line:
kexec --load /tmp/casper/vmlinuz --initrd=/tmp/casper/initrd.lz --
command-line="file=/tmp/preseed/mythbuntu.seed boot=casper initrd=/
casper/initrd.lz nosplash vesa video=vesafb"

-- This just stops after the BusyBox 1.1.7.1 prompt and shows:
(initramsfs) Unable to fina a medium containing a live file system.

When I am at this prompt, I can browse the file system. I do see a /
cdrom directory but it is empty.

To create the USB key with the Mythbuntu 11.04 install I simply
mounted the ISO and ran this:
mkdir mb1104 usb
sudo mount mythbuntu-11.04-desktop-i386.iso mb1104 -t iso9660 -o loop
sudo mount /dev/sdd1 usb
sudo cp -arp mb1104/* usb
sudo umount usb
rm mb1104 usb

Not sure if I have the correct kexec line, but simply created the
mythbuntu install USB key incorrectly.

TIA,
Dave

DFishburn

unread,
Aug 1, 2011, 3:32:54 PM8/1/11
to atv-bootloader
A little further now ...

I compared some files and found I was missing the .disk directory, so
I did this now:

> mkdir mb1104 usb
> sudo mount mythbuntu-11.04-desktop-i386.iso mb1104 -t iso9660 -o loop
> sudo mount /dev/sdd1 usb
> sudo cp -arp mb1104/* usb
> sudo cp -arp mb1104/.disk usb
> sudo umount usb
> rm mb1104 usb


I used this kexec:
> kexec --load /tmp/casper/vmlinuz --initrd=/tmp/casper/initrd.lz --
> command-line="file=/preseed/mythbuntu.seed boot=casper initrd=/
> casper/initrd.lz nosplash vesa video=vesafb"


This successfully booted the liveUSB, then I double clicked on the
install MythBuntu icon and them it just hangs there. No idea what it
might be doing. I have let it sit for an hour so far.

Any suggestions?

Thanks,
Dave

DFishburn

unread,
Aug 1, 2011, 10:57:17 PM8/1/11
to atv-bootloader
Following the same procedures as my previous post, I can successfully
launch the setup for a Mythbuntu 10.04 LTS installation.

But I think I would like to stick with 11.04.

How do you add debugging to determine where the install is hanging?

Thanks,
Dave

Scott D. Davilla

unread,
Aug 2, 2011, 11:23:35 AM8/2/11
to atv-boo...@googlegroups.com

Once you kexec out, you are pretty much at the mercy of the kernel
you have kexec'ed to. I'd check into vesa video=vesafb, I think that
was dropped. If so, try efifb, that's similar in setup to vesa.

Scott

Reply all
Reply to author
Forward
0 new messages