I have two ATVs which I am attempting to setup at the same time.

I am also using the same software, but each have different USB keys
for the booting process to be used after I am finished.  They both use
the same Mythbuntu 10.04 LTS USB key though.

Anyway, as I move through the install screens (which seem unbelievably
slow compared to the other ATV, BTW) I eventually get to the point
where I setup the manual partitions.  As I move through this part of
the install (which is glacially slow) parted eventually crashes and I
submit an apport log.

I was hoping someone could eyeball what I have here and see if they
can find what might be wrong.  I am figuring it has to do with my
setup of the partitions on /dev/sda.

So, I have reduced the Media partition on the ATV (40 GB) to 18 MB and
am creating a 20 MB ext3 partition to be used my Mythbuntu on the ATV
disk directly.

If I am missing output that would be useful, please let me know.

==========================

# fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1           5       34835+ ee EFI GPT
/dev/sda2   *           5          56      409600  af Unknown
/dev/sda3              56         171      921600  af Unknown
/dev/sda4             171        2247    16675714  af Unknown

Disk /dev/sdb: 500 MB, 500563968 bytes
255 heads, 63 sectors/track, 60 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1           1          19+ ee EFI GPT
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 2)
Partition 1 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 40)
/dev/sdb2               1           4       24394+ af Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 41)
Partition 2 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(3, 10, 4)
/dev/sdb3   *           4          61      464401  83 Linux
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(3, 10, 5)
Partition 3 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(60, 217, 60)

Disk /dev/sdc: 4009 MB, 4009754624 bytes
255 heads, 63 sectors/track, 487 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdc1   *           1         487     3911796   6 FAT16

==========================


# parted -s /dev/sda unit s print
Model: ATA FUJITSU MHW2040A (scsi)
Disk /dev/sda: 78140160s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start      End        Size       File system
Name                  Flags
 1      40s        69671s     69632s     fat32        EFI System
Partition  boot
 2      69672s     888871s    819200s    hfs+
Apple_HFS_Untitled_1  atvrecv
 3      888872s    2732071s   1843200s   hfs+
Apple_HFS_Untitled_2
 4      2732072s   36083499s  33351428s  hfs+         primary
 5      36083500s  77091549s  41008050s  ext3         primary
 6      77091550s  78140126s  1048577s                primary


# My boot USB key
# parted -s /dev/sdb unit s print
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdb: 977664s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End      Size     File system  Name     Flags
 1      40s     48828s   48789s   hfs+         primary  atvrecv
 2      48829s  977630s  928802s  ext3         primary


# Mythbuntu 10.04 LTS
# parted -s /dev/sdc unit s print
Model: Lexar USB Flash Drive (scsi)
Disk /dev/sdc: 7831552s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End       Size      Type     File system  Flags
 1      63s    7823654s  7823592s  primary  fat16        boot

===============================

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"

OR

kexec --load tmp/casper/vmlinuz --initrd=tmp/casper/initrd.lz --
command-line="file=/preseed/mythbuntu.seed boot=casper initrd=/casper/
initrd.lz nosplash"


=================================

When I reach the install when I setup the manual partitions, this is
the chart I am presented with.


/dev/sda         Type           Size                Used
free space                         0 MB               0 MB
sda1                efi               35 MB            35 MB
sda2                hfs+            419 MB          218 MB
sda3                hfs+            943 MB          484 MB
sda4                hfs+            17075 MB      25 MB
sda5                ext3             20996 MB     510 MB
sda6                                    536 MB          unknown

/dev/sdc         Type           Size                Used
free space                         0 MB               0 MB
sdc1                hfs+           24 MB            12 MB
sdc2                ext3           475 MB          222 MB


Some of these numbers look strange to me.  For /dev/sda4 why would any
be used, when I shrunk it?
For /dev/sda5, when I setup the ext3 partition, which I thought would
clear this out.

mkfs.hfsplus -J -v Media /dev/sda4
mkfs.ext3  -b 4096 -L Linux /dev/sda5


Anyway, does anyone see anything wrong with the above?

If so, could you also give me some instructions on how to fix it.
Certainly my Linux skills are not high.  Takes me ions to figure out
command lines.

Thanks,
Dave

-- 
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

Reply via email to