Page 8 of 10 FirstFirst 12345678910 LastLast
Results 71 to 80 of 100
Discuss [AppleTV] Bricked by ATVPatch? at the AppleTV 1 - Hackint0sh.org; Don't panic. parted can be very picky about GPT formated disks. The last line tells ...
  1. #71
    Senior Professional Array

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

    Default

    Don't panic. parted can be very picky about GPT formated disks. The last line tells me what I need to know from parted.

    Model: USB DISK 2.0 (scsi)
    Disk /dev/sdb: 987MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt

    Number Start End Size File system Name Flags
    1 20.5kB 500MB 500MB hfs+ primary atvrecv

    There's only one disk partition. The disk is gpt format and the partition has the correct GUID (from the atvrecev) flag.

    Now do the rest;

    create a mount point

    mkdir tmp

    fsck.hfsplus /dev/sdb1
    mount /dev/sdb1 tmp

    ls -l tmp

    This listing should include "patchstick.sh"

    cat tmp/patchstick.sh

    so I can see the contents of the script.

    And while we are there, let's take a look at the internal disk

    parted -s /dev/sda unit s print

    mkdir atv

    fsck.hfsplus /dev/sda2
    mount /dev/sda2 atv

    ls -l atv

    The fsck/mount might fail depending on the state of the internal recovery partition.


  2. #72
    Rookie Array

    Join Date
    Jul 2008
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Davilla I really appreciate for your help. But I have other problem which can be main reason why it doesn't work. I don't have device sdb1 in directory /dev/ I have just :
    # /dev/sd
    /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sdb

    But it's strange because as you could see If I use fdisk or parted they show this device:

    fdisk -l :

    /dev/sdb1 1 124 991999+ ee EFI GPT
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(0, 0, 1) logical=(0, 0, 2)
    Partition 1 has different physical/logical endings:
    phys=(1023, 254, 63) logical=(123, 127, 4)

    And parted :

    parted /dev/sdb print:

    Error: Can't have a partition outside the disk!
    Model: USB DISK 2.0 (scsi)
    Disk /dev/sdb: 987MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt

    Number Start End Size File system Name Flags
    1 20.5kB 500MB 500MB hfs+ primary atvrecv

    Any ideas ?

  3. #73
    Senior Professional Array

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

    Default

    When you have a disk with a single partition, there are two ways they can be structured. The first appears a lot with the some USB flash drives that seem to work fine under Windows but barf everywhere else. With these flash drives, the drive looks like "dev/sdb" with no "/dev/sdb1" as "/dev/sdb" is the first partition. This confuses linux.

    Typically a disk has the device ( /dev/sdb ) and the partitions on the device ( /dev/sdb1, /dev/sdb2, etc). Remember that sdb is just the device name I picked for an example. The actual device name will depend on how many disk devices are connected under Linux.

    This USB flash drive is not a Kingston DataTraveler 1GB by chance. They are known to cause problems.

    I would find another flash drive, I think a 512MB should be fine, and try the dd of the recovery-fix.img file again. This UBS flash drive did not image correctly which means there is something strange about it's geometry.

  4. #74
    Rookie Array

    Join Date
    Jul 2008
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    i remade the img file on the usb drive, and it seems to go a little further. it says "sending discover..." three times, then it says penbuntu login. Will this automatically configure?

  5. #75
    Rookie Array

    Join Date
    Jul 2008
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by bdg287 View Post
    i remade the img file on the usb drive, and it seems to go a little further. it says "sending discover..." three times, then it says penbuntu login. Will this automatically configure?
    You can try the same solution what davilla explained me in earlier post


  6. #76
    Senior Professional Array

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

    Default

    Quote Originally Posted by bdg287 View Post
    i remade the img file on the usb drive, and it seems to go a little further. it says "sending discover..." three times, then it says penbuntu login. Will this automatically configure?
    telnet in and do a "ls /dev/sd*"

    if you only see all the /dev/sda* partitions but only one "/dev/sdb", then same problem as patrickoq. Try a different USB flash disk.

  7. #77
    Rookie Array

    Join Date
    Jul 2008
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I found the USB that worked with the patchstick and tried it. It is back to the OSBoot: File not found. I tried to wait it out to see if it would reboot by itself, and it seems like it wants to. The screen turns black but it does not reboot. Also, if i format it, and it does not have any partitions (sdb), should I make one(sdb1)? I wrote the img to the sdb, even though you said it was just the device name, it seemed to go through...?

  8. #78
    Senior Professional Array

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

    Default

    Quote Originally Posted by bdg287 View Post
    I found the USB that worked with the patchstick and tried it. It is back to the OSBoot: File not found. I tried to wait it out to see if it would reboot by itself, and it seems like it wants to. The screen turns black but it does not reboot. Also, if i format it, and it does not have any partitions (sdb), should I make one(sdb1)? I wrote the img to the sdb, even though you said it was just the device name, it seemed to go through...?
    Really need to telnet in to see what is going on.


    dd and disk images can be confusing. A disk image can be the whole disk (all paritions) or it can be just a partition. You can dd to the whole disk (ie /dev/sdb) or just a partition (ie /dev/sdb1). The recovery-fix.img is a whole disk image. So the dd target is a disk device.

    Under Linux, you will need not only the device but also the device partitions. That's way I want to see "ls -l /dev/sd*". This show all disks and partitions. You should see "/dev/sdb" and "/dev/sdb1" present under a telnet session to atv-bootloader.

  9. #79
    Rookie Array

    Join Date
    Jul 2008
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Finally I've done it I bought today two new pendrives first 1GB and second 4GB. The 1GB didn't work it was the same story what with my previous pendrive. Fortunately the second one did work Thanks again davilla for your help I owe you one

  10. #80
    Senior Professional Array

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

    Default

    Quote Originally Posted by patrickoq View Post
    Finally I've done it I bought today two new pendrives first 1GB and second 4GB. The 1GB didn't work it was the same story what with my previous pendrive. Fortunately the second one did work Thanks again davilla for your help I owe you one

    No problem. Just for info, what were the brands of the pervious and an new one that did not work.


 

 

LinkBacks (?)


Similar Threads

  1. Replies: 6
    Last Post: 09-15-2010, 06:20 PM
  2. Atvpatch dot com is gone for good?
    By claudiu1975 in forum AppleTV 1
    Replies: 18
    Last Post: 12-04-2008, 08:52 PM
  3. New ATVPatch?
    By b1tr0t in forum AppleTV 1
    Replies: 5
    Last Post: 09-10-2008, 11: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 08:57 AM.
twitter, follow us!