Click to See Complete Forum and Search --> : Creating Partition Images


Jeepsta
05-23-2001, 10:08 PM
Howdy folks,

Long time since I actually posted a question. You actually learn so much more by reading and screwing up a couple 4, 5, 13 times. So here the problem/question.

I am currently doing LFS and have gotten about 1/4 the way done with it and something struck me. Being as I am no guru at Linux yet, I feel that in time I may do something to screw up my LFS system. Would it be possible to make an image of that partition and say store it on CD so I could easily redo it???

I get this feeling that once I get done with LFS, I will find some way to screw it up and I dont really want to lose everything I have done.

So, would this be possible and if so how would I go about doing this?? Or could you point me to some info on the web to check out.

I am heading over to linuxdoc.org right now to do some searching, but thought I would post it first.

Thanks in advance,

Zach

EDIT: Changed subject to be more informative

[ 24 May 2001: Message edited by: Jeepsta ]

Jeepsta
05-24-2001, 12:23 PM
bump :D

anyone??

pbharris
05-24-2001, 12:40 PM
humm to image a pration i tyhink it is
cpio -if /dev/partion_to_image -of partition.img
but please do read the man page - i can't remember exactly...

Jeepsta
05-24-2001, 12:41 PM
Thanks....I wasnted even sure if it was possible. I will read the man page on that command. :D

Jeepsta
05-24-2001, 02:08 PM
Would using dd like this work??
dd if=/dev/hdxx of=/location/filename

I got this idea from Bradmont's NHF on ReiserFS.

I did read the cpio man page but it was written in some strange language that I didnt understand :D (I didnt grasp it)

Can anyone help me out??

pbharris
05-24-2001, 04:02 PM
oh phooy! i was thinking of dd
so i think it will do the same thing.
e.g. dd -if=/dev/hdX -of=hdX_image.img


so yea! what you said :)

cpio does the same sort of thing but i can't exactly remember how to use it.

[ 24 May 2001: Message edited by: pbharris ]