Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38
Discuss well...I think my ATV is a paperweight at the AppleTV 1 - Hackint0sh.org; let me see the contents of "com.apple.Boot.plist" again....
  1. #21
    Senior Professional Array

    Join Date
    Mar 2007
    Posts
    205
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    18

    Default

    let me see the contents of "com.apple.Boot.plist" again.


  2. #22
    Advanced Array

    Join Date
    Jan 2009
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Currently I do not have a "com.apple.Boot.plist" file. I wiped both the OSBoot and Media.

    You said "OSBoot and Media will be rebuild from the contents OS.dmg."

    What files do I need on the OSBoot partition for it to boot, then goto recovery and recreate the OSBoot and Media drives?

    I also can not mount the OSBoot as read and write. When I try to copy a file to it ...says drive is read only?..even if I'm root.

    Thanks!
    Last edited by srafx; 01-30-2009 at 12:26 AM.

  3. #23
    Senior Professional Array

    Join Date
    Mar 2007
    Posts
    205
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    18

    Default

    and back to ATVBackup - atv-bootloader - Google Code ->Opps I did not make a backup we go.

    On the Recovery partition you need the following files:

    OS.dmg
    boot.efi
    com.apple.Boot.plist
    mach_kernel.prelink
    The AppleTV EFI firmware loads "boot.efi", "boot.efi" loads "mach_kernel.prelink" with kernel params given by "com.apple.Boot.plist". "OS.dmg" is a kernel param passed to the kernel.

    Need all four or no boot.


    Forget about OSBoot and Media and focus on Recovery. Without Recovery, nothing will work correctly.

    You cannot mount OSBoot as read and write because you did not "fsck.hfsplus-f" it first. Already mentioned that. Never mount a hfsplus partition without "fsck.hfsplus-f" it first.

  4. #24
    Advanced Array

    Join Date
    Jan 2009
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    and back to ATVBackup - atv-bootloader - Google Code ->Opps I did not make a backup we go.
    I just got done doing this with 2.1.

    On the Recovery partition you need the following files:

    The AppleTV EFI firmware loads "boot.efi", "boot.efi" loads "mach_kernel.prelink" with kernel params given by "com.apple.Boot.plist". "OS.dmg" is a kernel param passed to the kernel.

    Need all four or no boot.
    Got them. Checked all the md5...same as you have.

    Forget about OSBoot and Media and focus on Recovery. Without Recovery, nothing will work correctly.
    Didnt do anything to them.

    You cannot mount OSBoot as read and write because you did not "fsck.hfsplus-f" it first. Already mentioned that. Never mount a hfsplus partition without "fsck.hfsplus-f" it first.
    I think this was caused from my Ubuntu mounting drives. I now disabled that.

    After doing this, does not boot. Still just blinks yellow. What else is there to try?

  5. #25
    Senior Professional Array

    Join Date
    Mar 2007
    Posts
    205
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    18

    Default

    I just got done doing this with 2.1.
    If you did, you would have "com.apple.Boot.plist" in Recovery?

    Got them. Checked all the md5...same as you have.
    Did not give an md5 for com.apple.Boot.plist. Do you have com.apple.Boot.plist in Recovery now? If so let me see it.

    You should have the following files in the recovery partition.

    OS.dmg
    boot.efi
    com.apple.Boot.plist
    mach_kernel.prelink
    You verified the md5 of three of those files, now I want to see the contents of com.apple.Boot.plist to make sure that is correct.


  6. #26
    Advanced Array

    Join Date
    Jan 2009
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by davilla View Post
    If you did, you would have "com.apple.Boot.plist" in Recovery?

    Did not give an md5 for com.apple.Boot.plist. Do you have com.apple.Boot.plist in Recovery now? If so let me see it.

    You should have the following files in the recovery partition.

    You verified the md5 of three of those files, now I want to see the contents of com.apple.Boot.plist to make sure that is correct.
    Code:
    -rw-r--r-- 1 root root         0 2009-01-30 18:01 boot.efi
    -rw-r--r-- 1 root root     45590 2009-01-30 18:01 BootLogo.png
    -rw-r--r-- 1 root root       520 2009-01-30 18:01 com.apple.Boot.plist
    -rw-r--r-- 1 root root   7811870 2009-01-30 18:01 mach_kernel.prelink
    -rw-r--r-- 1 root root 183527062 2009-01-30 18:01 OS.dmg
    com.apple.Boot.plist md5:
    Code:
    e98ab39fee8e2e9f0a80ba1fea5336e1
    What is in com.apple.Boot.plist:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>Background Color</key>
            <integer>0</integer>
            <key>Boot Fail Logo</key>
            <string></string>
            <key>Boot Logo</key>
            <string>BootLogo.png</string>
            <key>Kernel</key>
            <string>mach_kernel</string>
            <key>Kernel Cache</key>
            <string>mach_kernel.prelink</string>
            <key>Kernel Flags</key>
            <string>rp=file:///OS.dmg</string>
    </dict>
    </plist>
    The only thing I cant think of is the label. I created the drives the other day just like you said to in the restore...but mine looks like this:

    Code:
    Disk /dev/sdb: 78140160s
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start     End        Size       File system  Name     Flags  
     1      40s       69671s     69632s     fat32        primary  boot   
     2      69672s    888823s    819152s    hfs+         primary  atvrecv
     3      888824s   2732015s   1843192s   hfs+         primary         
     4      2732016s  77878015s  75146000s  hfs+         primary
    Notice how they are all called primary? Does that matter? I cant figure out how to rename them.

    Let me know if you want to see anything else.

  7. #27
    Senior Professional Array

    Join Date
    Mar 2007
    Posts
    205
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    18

    Default

    primary is fine, GPT disk format can have lots of primary partitions.


    -rw-r--r-- 1 root root 0 2009-01-30 18:01 boot.efi
    this catches my eye. it's has zero bytes. This is different than you listed before so it tell me you are doing lots of things between posts and not telling me.

    your boot.efi md5 checksum should have not matched the real md5 checksum which also tells me you are diddling with things between posts.

    This makes it very hard to help as you keep changing variables. Slow down, step through it and stop thrashing about. Work the problem as I always say, there is no magic solution.

    Now as long as you have not changed something (again), get boot.efi correct and if you did not mess up something else, it should boot.

  8. #28
    Advanced Array

    Join Date
    Jan 2009
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I copied exactly what I did in the terminal. I did nothing else. Exactly the way the drive is right now, it does not boot. It starts blinking yellow about 1 second before it starts to read the drive. No video out at all. Did I forget anything?


    Code:
    # parted -s /dev/sdc unit s print
    Model: FUJITSU MHW2040AT (scsi)
    Disk /dev/sdc: 78140160s
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start     End        Size       File system  Name     Flags  
     1      40s       69671s     69632s     fat32        primary  boot   
     2      69672s    888823s    819152s    hfs+         primary  atvrecv
     3      888824s   2732015s   1843192s   hfs+         primary         
     4      2732016s  77878015s  75146000s  hfs+         primary       
    
    # fsck.hfsplus -f /dev/sdc2
    ** /dev/sdc2
    ** Checking HFS Plus volume.
    ** Checking Extents Overflow file.
    ** Checking Catalog file.
    ** Checking Catalog hierarchy.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** The volume Recovery appears to be OK.
    
    
    # mount /dev/sdc2 /mnt/recovery/
    
    # ls -al /mnt/recovery/
    total 187208
    drwxr-xr-x 1 root root         8 2009-01-30 18:02 .
    drwxr-xr-x 5 root root      4096 2009-01-26 18:08 ..
    -rw-r--r-- 1 root root    298800 2009-01-31 06:31 boot.efi
    -rw-r--r-- 1 root root     45590 2009-01-30 18:01 BootLogo.png
    -rw-r--r-- 1 root root       520 2009-01-30 18:01 com.apple.Boot.plist
    -rw-r--r-- 1 root root   7811870 2009-01-30 18:01 mach_kernel.prelink
    -rw-r--r-- 1 root root 183527062 2009-01-30 18:01 OS.dmg
    
    # md5sum boot.efi 
    280323d8700e4cfef15116f7e50590e3  boot.efi
    
    # md5sum BootLogo.png 
    b85dab0a173c4ba390273c412f25f90b  BootLogo.png
    
    # md5sum com.apple.Boot.plist 
    e98ab39fee8e2e9f0a80ba1fea5336e1  com.apple.Boot.plist
    
    # md5sum mach_kernel.prelink 
    aec1448fdf3a38abc74d6fceb6519c82  mach_kernel.prelink
    
    # md5sum OS.dmg 
    2783d7c2b27d8364bac3bde9de9d5287  OS.dmg
    Also my com.apple.Boot.plist is still:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>Background Color</key>
            <integer>0</integer>
            <key>Boot Fail Logo</key>
            <string></string>
            <key>Boot Logo</key>
            <string>BootLogo.png</string>
            <key>Kernel</key>
            <string>mach_kernel</string>
            <key>Kernel Cache</key>
            <string>mach_kernel.prelink</string>
            <key>Kernel Flags</key>
            <string>rp=file:///OS.dmg</string>
    </dict>
    </plist>
    Last edited by srafx; 02-01-2009 at 10:55 PM.

  9. #29
    Senior Professional Array

    Join Date
    Mar 2007
    Posts
    205
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    18

    Default

    # make file systems for the four partitions
    mkfs.msdos -F 32 -n EFI /dev/sda1
    mkfs.hfsplus -v Recovery /dev/sda2
    mkfs.hfsplus -J -v OSBoot /dev/sda3
    mkfs.hfsplus -J -v Media /dev/sda4

    this will put the correct labels on the partitions.


    Everything else looks correct. There was a post on awkwardtv forums recently about need the correct partition labels.

  10. #30
    Advanced Array

    Join Date
    Jan 2009
    Posts
    31
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by davilla View Post
    # make file systems for the four partitions
    mkfs.msdos -F 32 -n EFI /dev/sda1
    mkfs.hfsplus -v Recovery /dev/sda2
    mkfs.hfsplus -J -v OSBoot /dev/sda3
    mkfs.hfsplus -J -v Media /dev/sda4
    Code:
    # mkfs.hfsplus -J -v OSBoot /dev/sdc3
    Initialized /dev/sdc3 as a 900 MB HFS Plus volume with a 8192k journal
    # parted -s /dev/sdc unit s print
    Model: FUJITSU MHW2040AT (scsi)
    Disk /dev/sdc: 78140160s
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start     End        Size       File system  Name     Flags  
     1      40s       69671s     69632s     fat32        primary  boot   
     2      69672s    888823s    819152s    hfs+         primary  atvrecv
     3      888824s   2732015s   1843192s   hfs+         primary         
     4      2732016s  77878015s  75146000s  hfs+         primary
    Am I doing something wrong..because it wont change the label? I also tried "partprobe /dev/sdc" still get the same results. One thing is it shows up under the file browser in ubuntu with the correct labels (not mounted). So am I just print it wrong? is there something else then "parted -s /dev/sdc unit s print"

    Thanks.
    Last edited by srafx; 02-02-2009 at 03:17 AM.


 

 
Page 3 of 4 FirstFirst 1234 LastLast

LinkBacks (?)

  1. 01-22-2009, 05:54 AM

Similar Threads

  1. Is my wife's 3G a paperweight?
    By woomwireless in forum General
    Replies: 4
    Last Post: 12-01-2010, 11:15 AM
  2. Replies: 1
    Last Post: 01-30-2008, 12:01 AM
  3. Very expensive paperweight? :(
    By Dsaw in forum iPhone "2G" (Rev. 1)
    Replies: 10
    Last Post: 10-19-2007, 09:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:18 AM.
twitter, follow us!