Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]mac-fdisk crash at writing partition map
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bode
n00b
n00b


Joined: 22 Mar 2003
Posts: 8
Location: san francisco

PostPosted: Wed Mar 22, 2006 1:25 am    Post subject: [solved]mac-fdisk crash at writing partition map Reply with quote

i have an iBook G4 dual usb and i'm trying to install the 2005 release of gentoo ppc.

i might want to add that i am trying to install gentoo because mac os x was failing me, horribly. i had 10.4 installed and it crashed while doing a security update. something happened to the disk, bad, because it wouldn't boot up all the way most of the time. during bootup it would hang on multiple services such as Application Services, IFC, and Apple File Service.

anyways, we're more interested in gentoo here so what happened is i was trying to partition my drive for gentoo. i followed the instructions in the manual (created boot, swap, and root partitions) and upon writing the partition i received the following error:
Code:

hda: task_out_intr: error=0x51 {DriveReady SeekComplete Error}
hda: task_out_intr: error=0x10 {SectorIdNotFound} LBAsect=0, high=0, low=0, sector=0
ide: failed opcode was: unknown

it continued polling this from LBAsect=[0-7], low=[0-7], sector=[0-7] until reaching 7 and repeating itself. ctrl-c, ctrl-z, alt-f2, etc wouldn't get me out of this so i assume i reached an infinite loop. power cut.

since i couldn't get it to write the table with swap, boot, and root, i tried just deleting one of the old partitions i had without creating the ones i wanted for gentoo. this led to the same error.

i'm hoping this isn't anything serious but i can't get mac os x disk utility to work with my hard drive either. it doesn't recognize it as a volume for install, and disk utility fails upon repair and partitioning. however, stuff still is on my hard drive because it will boot up partially in mac os x from the failed security update. it just won't go past the bluescreen to the login.

i'm guessing a partition table could be corrupted, some vital information was deleted off the boot sector, or my disk is just screwed and i need a new one. i'm really not sure. does anyone have any ideas what the errors mean and what i should run to fix/diagnose my poor system? thanks.

update: it was the hard drive. it's been replaced.


Last edited by bode on Sun Apr 02, 2006 4:48 am; edited 1 time in total
Back to top
View user's profile Send private message
bode
n00b
n00b


Joined: 22 Mar 2003
Posts: 8
Location: san francisco

PostPosted: Wed Mar 22, 2006 1:34 am    Post subject: Reply with quote

also, i'm not trying to recover any data. i just want to install gentoo and start out new. and hope that my usb wifi card will work...
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Mar 22, 2006 3:48 am    Post subject: Re: mac-fdisk crash at writing partition map Reply with quote

bode wrote:
... or my disk is just screwed and i need a new one.

I hate to be the bearer of bad news, but it does sound like that.

You could use the badblocks command to see how bad the disk is.
Code:
# badblocks -wv /dev/hda
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Mar 22, 2006 3:57 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on PPC.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Mar 22, 2006 5:04 pm    Post subject: Reply with quote

If you really think it's just corruption, overwrite the first 1Mb of your drive with 0's and try again:
Code:
dd if=/dev/zero of=/dev/hda bs=1024 count=1024

But it really sounds like a hardware failure to me. Sorry. :(
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum