Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Powerbook disk recovery
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
moonshine
n00b
n00b


Joined: 20 Jul 2003
Posts: 35

PostPosted: Tue Jun 01, 2004 8:23 pm    Post subject: Powerbook disk recovery Reply with quote

I've got a 15" Powerbook G4 that has a bunch of files that I need to back up. The problem is that I cannot boot into osx because I get kernel panics.. installing osx over top of it wont work either. So I decided to try to boot with the gentoo live cd, mount the disks, start ssh and transfer the files over the network. The only problem is that I can't seem to moun the disks. /dev/hda shows up in dmesg as a 40gig hd, thats correct. However, when I go to fdisk and print out the partition table, its empty. Is this because of HFS? Any info on how I can mount the disk would be great. Thanks.
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Tue Jun 01, 2004 8:53 pm    Post subject: Reply with quote

a few suggestions ...

1) try booting from the OSX installation CD, when the installer comes up from one of the menus you can select to use disk utility to check the drive

2) you want to use mac-fdisk (instead of fdisk) if you are examining the mac style partitions

3) you probably don't want to mount and copy things that way, you may lose the mac resource forks on the files, I would suggest using hpmount, hpcopy that should be on the live cd if it comes to this
Back to top
View user's profile Send private message
moonshine
n00b
n00b


Joined: 20 Jul 2003
Posts: 35

PostPosted: Tue Jun 01, 2004 10:12 pm    Post subject: Reply with quote

genfoo wrote:
a few suggestions ...

1) try booting from the OSX installation CD, when the installer comes up from one of the menus you can select to use disk utility to check the drive

2) you want to use mac-fdisk (instead of fdisk) if you are examining the mac style partitions

3) you probably don't want to mount and copy things that way, you may lose the mac resource forks on the files, I would suggest using hpmount, hpcopy that should be on the live cd if it comes to this


thanks for the reply genfoo..

ive tried 1) that you suggested to no avail..

2) ill give that a shot to check out the partitions

3) do you know the syntax for hpmount so that I can just read the drive? do i use hpcopy instead of just plain ole, cp?
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Jun 01, 2004 10:22 pm    Post subject: Reply with quote

Can you boot into single-user-mode? the easiest tool to do what you want is ditto (part of OS X), which takes care of resource-forks. I think it is also possible to boot from the OS X cd, then kill the installer and start a terminal session, but I'm not sure about that.
Back to top
View user's profile Send private message
copilco
n00b
n00b


Joined: 14 Jun 2004
Posts: 2

PostPosted: Mon Jun 14, 2004 12:48 pm    Post subject: Reply with quote

pindar wrote:
Can you boot into single-user-mode? the easiest tool to do what you want is ditto (part of OS X), which takes care of resource-forks. I think it is also possible to boot from the OS X cd, then kill the installer and start a terminal session, but I'm not sure about that.


Got the same problem, but i can not boot in a single user mode.
I was thinking the same way. If i could only see the files to grab them remotely or something like it.

Any other suggestion is appreciated
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Mon Jun 14, 2004 9:15 pm    Post subject: Reply with quote

hpmount /dev/hda4 (or wherever your HFS/OSX partition is)

hpcopy file "Folder1:Folder2:"

note that HFS uses : instead of / and if there are spaces you probably want to enclose in quotes like above.

also of note, hpls ;)

There are details of all this in the documentation that comes with the hfs plus tools
Back to top
View user's profile Send private message
copilco
n00b
n00b


Joined: 14 Jun 2004
Posts: 2

PostPosted: Tue Jun 15, 2004 6:59 am    Post subject: Reply with quote

genfoo wrote:
hpmount /dev/hda4 (or wherever your HFS/OSX partition is)

hpcopy file "Folder1:Folder2:"

note that HFS uses : instead of / and if there are spaces you probably want to enclose in quotes like above.

also of note, hpls ;)

There are details of all this in the documentation that comes with the hfs plus tools


Thanks for the help. Some how it does not mount the volume, must be some problem with the hard drive, because it says (input error). Probably the hard drive was damaged therefore the system (neither gentoo, neither mac os X) can recognize the hard drive. Funny enough, the mac-fdisk can list all the macintosh partitions. :)
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