Results 1 to 2 of 2
Discuss dd i/o error at the AppleTV 1 - Hackint0sh.org; Hi there.. we'll i've been kinda busy to mod the patchstick but now i'm kinda ...
  1. #1
    Newbie Array

    Join Date
    May 2007
    Location
    Netherlands
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default dd i/o error

    Hi there..

    we'll i've been kinda busy to mod the patchstick but now i'm kinda stuck..

    the goal for the mod is to clean up the HD.. then make an new gpt index add the fresh partitions and restore the dmgs to the partitions...

    almost everything works.. BUT the thing that gives a error is the DD app..

    first it writes for about 2 seconds and then it says it's finished and it gives a I/O error

    code on the launchd

    PHP Code:
        /sbin/gpt show /dev/disk0
        
    /sbin/gpt destroy /dev/disk0
        
    /sbin/gpt create /dev/disk0
        
    echo "        *** New GPT CREATED" 

        
    /sbin/gpt add -b 888872 -i 3 -s 1843200 -t hfs /dev/disk0
        
    /sbin/gpt add -b 2732072 -i 4 -s 75408055 -t hfs /dev/disk0
        
    echo "        *** OSBoot/Media Partition Created" 

        
    /sbin/gpt add -b 40 -i 1 -s 69632 -t efi /dev/disk0
        
    echo "        *** EFI Partition Created" 

        
    /sbin/gpt add -b 69672 -i 2 -s 819200 -t 5265636F-7665-11AA-AA11-00306543ECAC /dev/disk0
        
    echo "        *** Recovery Partition Created" 

        
    /sbin/umount /dev/disk0

        
    /sbin/dd if=/dev/zero of=/dev/disk0s1 bs=1m
        
    /sbin/dd if=/stuff/efi.dmg of=/dev/disk0s1 bs=1m
        
    echo "        **** EFI Restored" 
        
    /sbin/dd if=/stuff/recovery.dmg of=/dev/disk0s2 bs=1m
        
    echo "        **** Recovery Restored" 
    OTB 1.1.2 HW unlocked running 1.1.3



  2. #2
    Senior Professional Array

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

    Default

    It's not quite clear how this is running.

    You reference "/dev/disk0" so this seems to be running under the AppleTV native OS. In that case, you are trying to re-format the disk from under a running OS. Unless you have OSX running from a ram disk, you can't do this as OSX has open files on OSBoot and Media.

    More info please.

 

 

Similar Threads

  1. Replies: 6
    Last Post: 12-15-2009, 06:53 PM
  2. Replies: 2
    Last Post: 11-08-2008, 10:53 PM
  3. Replies: 1
    Last Post: 07-19-2008, 10:54 PM

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 07:24 PM.
twitter, follow us!