Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Duel booting Gentoo on Powerbook G4
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
jdawg101
n00b
n00b


Joined: 07 Jan 2008
Posts: 2

PostPosted: Mon Jan 07, 2008 4:09 am    Post subject: Duel booting Gentoo on Powerbook G4 Reply with quote

I'm trying to install Gentoo onto my Powerbook G4 in an attempt to rescue files from my hard drive (my Mac won't let me boot into OS, just tells me to keep restarting my computer). Mac tech support says the hard drive has crashed and that its hopeless, however, when I use a LiveCD I can see my document folders; I just can't open them because of admin privileges I think. I heard that you can access your Mac files if you install Linux on another partition on the Mac and login using the same username and password, you can access your files on the Mac partition.

I know that Gentoo lets you resize the HFS & HFS+ formats on a Mac (http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#dualboot) but can I still do this even when the Mac OS has previously been installed? Also, will the method I just described work? Anyone else have experience or any other ideas? I'm pretty desperate here...
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Mon Jan 07, 2008 10:00 am    Post subject: Reply with quote

correct me if im wrong, but I thought you could use your osx cd's (or whatever OS u used) and rescue the disk that way?

hold c when you first turn laptop on with cd in drive?

Sorry, I havent used MACOS on my mac for years
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Mon Jan 07, 2008 6:05 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
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Mon Jan 07, 2008 6:36 pm    Post subject: Reply with quote

You can use the install cd to mount hfs+ partitions
Code:
mount -t hfsplus /dev/PARTITION /MOUNTPOINT
You will need to be root to access some files as your username will not match.
Back to top
View user's profile Send private message
jdawg101
n00b
n00b


Joined: 07 Jan 2008
Posts: 2

PostPosted: Sun Jan 13, 2008 9:41 am    Post subject: Reply with quote

I don't think the OSX cd's will help me access my files, it'll just reinstall over them.


davidgurvich wrote:
You can use the install cd to mount hfs+ partitions
Code:
mount -t hfsplus /dev/PARTITION /MOUNTPOINT
You will need to be root to access some files as your username will not match.


How do I become 'root'? I'm still new to Linux, so when when you say root, I'll be using 'gksudo' or 'sudo,' right?
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sun Jan 13, 2008 12:52 pm    Post subject: Reply with quote

jdawg101 wrote:
I don't think the OSX cd's will help me access my files, it'll just reinstall over them.


there is an option while installing mac os x, that let's you select what to do with an already available installation. IIRC there are three options: a) erase the install b) upgrade and leave /Users intact c) move the system to an directory and do a fresh install. (the old system can then be found in a directory on your hard drive.) might help you...

if you still want to use gentoo for rescue then you just boot the cd and you are automatically root 'in' the promt you will see. just mount your hard drive and copy the files to a save place.

there is yet another option you might want to use to rescue your files: apple computer have a mode called "target mode". this mode lets you use your mac as if it would be an external firewire drive. to use this connect your mac to another computer using a firewire cable. then poweron your broken one and press and hold down the "t" key until you see the firewire symbol on the screen. now the second computer should detect a new hard drive. you can now access your drive. note, that the second computer must be able to rread the file system, so a windows machine does not work here AFAIK.

regards,

-corsair
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Sun Jan 13, 2008 10:57 pm    Post subject: Reply with quote

Can a mac connect to a linux x86 machine using firewire like that?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jan 14, 2008 10:38 pm    Post subject: Reply with quote

Yes, it appears as a regular firewire disk to the machine it's connected to. However, since the laptop is probably formatted with HFS+ using Apple partitions, the computer that you've plugged it in to must also have HFS+ support and support Apple partitions.
_________________
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