LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 07-20-2008, 11:14 AM   #1
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 9.04, #!CrunchBang 9.04, Debian Lenny (PPC), openSUSE 11 (PPC)
Posts: 31
Thanked: 0
Cloning a linux installation on a G4 powerpc


[Log in to get rid of this advertisement]
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.
trentfox is offline  
Tag This Post , ,
Reply With Quote
Old 07-20-2008, 11:26 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,145
Thanked: 2
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.)
johnson_steve is offline     Reply With Quote
Old 07-20-2008, 11:26 AM   #3
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,256
Thanked: 4
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 11:29 AM..
ehawk is offline     Reply With Quote
Old 07-20-2008, 07:54 PM   #4
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 9.04, #!CrunchBang 9.04, Debian Lenny (PPC), openSUSE 11 (PPC)
Posts: 31
Thanked: 0

Original Poster
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?
trentfox is offline     Reply With Quote
Old 07-20-2008, 08:23 PM   #5
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,145
Thanked: 2
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.
johnson_steve is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 04:09 PM
Linux on PowerPC trigggl LQ Suggestions & Feedback 4 09-28-2007 12:40 PM
Need Yaboot (re)installation help, Sarge-2.6.8-3-powerpc, OpenFirmware. RavenOfOdin Debian 0 07-28-2006 06:46 PM
Installation trouble on PowerPC (yaboot and partition issues) jhaiduce Ubuntu 2 04-03-2006 06:01 PM
troubles for Debian installation in a Powerpc FernandoRF Linux - Distributions 1 03-18-2005 06:26 AM


All times are GMT -5. The time now is 04:07 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration