LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-20-2008, 10:14 AM   #1
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 11.04, UNE 10.10, CrunchBang Statler, Bodhi
Posts: 53

Rep: Reputation: 15
Cloning a linux installation on a G4 powerpc


I have been testing several distros on my Apple PowerBook G4, and my hard drive is a mess as a result (17 partitions on an 80gb drive!). I have one more to test and then I want to completely reformat the drive, reinstall MacOSX (I know how to do that) and afterwards, reinstall the two Linux distros that I think work best on this hardware. I presently have Debian Etch and openSUSE 11 installed, and both are candidates for a final installation. In both cases, I've already done some work to get particular apps installed and configured, and I don't want to have to reinvent the wheel. My thinking is to do clone those installations and then put one or both back on a reformatted disk. How do I do that? Or if there is a better way to accomplish what I want (restoring files and settings I added from the base installations, I'm all ears.
 
Old 07-20-2008, 10:26 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
well I usualy tar up the /etc and /home and do a fresh install. there are ways to do what you want but sometimes it causes trouble. all the settings are either in /etc or in the users' home directories. so if you replace those from your old install (after you reinstall the applications you want) everything should be configured (even you desktop background and Internet bookmarks and such.)
 
Old 07-20-2008, 10:26 AM   #3
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
http://en.wikipedia.org/wiki/List_of...oning_software

http://en.wikipedia.org/wiki/Dd_%28Unix%29

http://en.wikipedia.org/wiki/PartImage

Last edited by ehawk; 07-20-2008 at 10:29 AM.
 
Old 07-20-2008, 06:54 PM   #4
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 11.04, UNE 10.10, CrunchBang Statler, Bodhi
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks, both of you. I don't have large installations to back up. I may try both cloning and backing up specific folders. Also, I have a Mac-on-Linux virtual disk (disk image) in my home folder that would be useful to back up and restore later. I can now see some advantages to reinstalling from scratch and adding things that were a pain to obtain. One was the wireless Broadcom installation using BCM43xxcutter to extract the driver from my PowerBook. Would that be captured in the /etc folder?
 
Old 07-20-2008, 07:23 PM   #5
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I don't remember if it's in /etc (most likely it is.) my g4 iBook died a horible long dragged out death last fall (involving a rabitt 2 car batteries and a woodworking clamp.) I don't remember fwcutter being that hard to use and everything is always easier the second time around. I've backed up a partition with dd then restored it to another partition: unless it's exactly the same size your going to have problems. even if you are able to back up and restore your partitions perfectly your fstab will have to be edited by hand to reflect the new partitioning scheem which will be extra complicated since a mac needs to have several 'padding' partitions that remain unused so that the used partitions start in the right place. also you need to use a special partitioning tool for mac partition tables. trust me I did everything manualy my iBook ran gentoo ppc. it's going to be much less of a headache to back up a few important directories and then do a fresh install especialy if your reinstalling OSX anyways.
 
  


Reply

Tags
clone, g4, powerpc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cloning the installation fredvr Fedora 12 12-14-2008 03:09 PM
Linux on PowerPC trigggl LQ Suggestions & Feedback 4 09-28-2007 11:40 AM
Need Yaboot (re)installation help, Sarge-2.6.8-3-powerpc, OpenFirmware. RavenOfOdin Debian 0 07-28-2006 05:46 PM
Installation trouble on PowerPC (yaboot and partition issues) jhaiduce Ubuntu 2 04-03-2006 05:01 PM
troubles for Debian installation in a Powerpc FernandoRF Linux - Distributions 1 03-18-2005 05:26 AM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration