Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual boot mac mini: Ghost alternative?
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
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Jul 15, 2005 8:06 pm    Post subject: Dual boot mac mini: Ghost alternative? Reply with quote

Hi all

Normally use ghost to backup my amd64 disks etc and am lost for something to backup my mac mini disk (inc gentoo and osx)

I don't want osx apps, more like, boot from a cd and burn directly to a dvdr...

Any suggestions would be appreciated.

scooby
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
strogg
n00b
n00b


Joined: 19 Oct 2004
Posts: 10

PostPosted: Fri Jul 15, 2005 9:16 pm    Post subject: Reply with quote

first to answer your question: i know of no ghost program, but then, you don't really need one.

here's a suggestion, but it may be like killing a mosquito with an AMRAAM:

first, do you mean you want to back up your CURRENT mac mini osx or just have a restore disk for mac osx available? cuz you can just use the bundled osx disk to restore/partition your computer.

if you dont' mind going that route, you can probably make your own livedvd. like, modify the current gentoo live disk by doing the following:

put your current back up into the gentoo disk
make a script that runs at dvd bootup that A: partitions your disk, B: formats it, C: 'cp -rp' your current installation, and D: runs yaboot-config.

it'll be a heck of a disk to make, but it's entirely possible.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Jul 15, 2005 11:28 pm    Post subject: Reply with quote

Thanks :)

To clarify, I have gentoo and osx on the same 80g disk, using osx through mol.

I want to backup the whole disk to a dvd, so that if I get a gentoo problem that stops the mini from booting (as I've had already), I can just restore and reboot the saved image from dvd.

Thanks
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Sat Jul 16, 2005 10:32 am    Post subject: Reply with quote

I'm not sure what exactly Ghost is, but i seem to remember that it's just something which takes the partition and takes an "image" from it, which it compresses before writing it to some place. So, i think you're searching for Partimage, which does exactly that. The thing is that you'll probably need to find a bootable linux cdrom which includes this. I think it includes support for HFS, but you should check about that.
HTH,
ruben
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sat Jul 16, 2005 11:52 am    Post subject: Reply with quote

ruben wrote:
I'm not sure what exactly Ghost is, but i seem to remember that it's just something which takes the partition and takes an "image" from it, which it compresses before writing it to some place. So, i think you're searching for Partimage, which does exactly that. The thing is that you'll probably need to find a bootable linux cdrom which includes this. I think it includes support for HFS, but you should check about that.
HTH,
ruben


That looks like it could do the job nicely ;) thanks.

hfs is supported, but not sure about hfs+

Your right, I need to look for a 2.6 kernel boot cd that includes it, as the ones are the partimage site are very outdated.

cheers
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Sun Jul 17, 2005 7:52 am    Post subject: Reply with quote

hello,

you can use g4l (ghost4linux) for this.

http://freshmeat.net/projects/g4l/
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sun Jul 17, 2005 9:41 am    Post subject: Reply with quote

Fugee47 wrote:
hello,

you can use g4l (ghost4linux) for this.

http://freshmeat.net/projects/g4l/


Hey thanks for the tip, thats looks great!

I can't find whether it supports ppc or hfs+ but it looks like I may be able to build that from source :idea: :?:
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Sun Jul 17, 2005 7:48 pm    Post subject: Reply with quote

I also took a look at g4l, and the main difference between g4l and partimage is that partimage only takes an image from the data blocks which are in use, while g4l takes an image from *all* data blocks. So, i think g4l does not need to know about the file system (i guess it does something along "dd if=/dev/hda1 of=dump;gzip dump", and on freshmeat it seems that that script effectively does exactly that), while partimage needs to know about the file system, and that's why it does not fully support all filesystems. Now, for this reason, g4l provides a little "hack", it provides a utility which will try to fill the partition with a big file containing only zeros, so it tries to fill all "free blocks" with zeros, which will compress very well. The reason that it will probably still be slower than partimage (and than ghost maybe), is that for a partition which is filled for only 50%, it still needs to read the whole partition (and compress it), while partimage needs to read only half of it.

So, as a solution, i think partimage is technically superior to g4l. g4l is just the naive solution to dump the whole partition byte-for-byte and compress that dump. On the other hand, there doesn't seem to be a lot of activity on partimage anymore (though they did put up a new beta on July the 5th).

Anyways, you chose what seems the best to you. I've used partimage before long time ago, but not on ppc.
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