Jump to content

Hard drive image (copy) question?????????


Guest Steelworker2001
 Share

Recommended Posts

Guest Steelworker2001

Any advice would be greatly appreciated :help:

 

When I decided to try Linux MDK 9.1 I had my M$ win XP Pro box as a stand-by. So my plan was to install MDK on a spare box just to get the feel of it. Well, I've fell in love with Linux, but here's where my problem begins.

 

I've installed MDK on an old 6.4 gig HD and now I want it as my primary OS (screw M$). After spending countless hours configuring and setting up MDK I dread the thought of doing it again. Can I copy (disk image) my MDK 9.1 partition from the 6.4 gig HD to a recently purchased 80 gig HD? Im quickly running out of room on the 6.4.

 

Will there be any boot issues to deal with?? Should I just do a clean install on the new HD??

 

I look forward to your suggestions.

 

Peace,

Steelworker2001

Link to comment
Share on other sites

hi there!

 

there are several tools out there to accomplish what you want to do. if you want to use a free program try part image . it's a little tricky to get the hang of, at first, but nothing major that you can't understand once you read the documentation &/or ask a few questions here. i would use this as my first choice. (in fact i do use it) it also has a test feature, where you can write to your hard drive in simulation mode to check if your backup/image is corrupted or not. it works from both command line & in GUI mode.

 

also, if you wanna use a non Linux specific program & spend some money, you could also try Norton Ghost . the caveat there is it will only work with ext2 & ext3 file systems on Linux.

 

there's also many other one's out there. if you try a Google Search on Linux backup programs, you can choose for yourself.

 

Chris

Link to comment
Share on other sites

There is an image program that will do this for you. (parted) I think the partition size has to match, though, so you'll have some creative partitioning to do once you transfer the data. In a situation as you describe, I would do a fresh install and copy the key files for the set up, making adjustments for the new partition information. Files like /etc/fstab and /etc/lilo.conf, for example.

 

Of course, this is coming from someone who breaks his box just for the theraputic value of doing it! :jester:

Link to comment
Share on other sites

Post your current /etc/fstab.. That will give us your current partition structure on all mounted partitions. You need to recreate that partition structure on your new drive. You can make your mandrake partition(s) larger but not smaller on the new drive. The idea is to slave your new drive to your current one, create the right partition structure on it, copy the current mandrake partition(s) over to the new drive using either the "dd" command or partimage(more about that later), then swap your drives around and reinstall the boot loader on the new drive.

Post back with the above info and I'll go into more detail.

Link to comment
Share on other sites

Guest Steelworker2001

Thanks for the FAST and excellent replies. But alas, I decided to go with a clean install. So far so good.

 

I can remember clean installing M$ 98 like 10 times one night - so I guess I need to get just as good at Linux!!

 

Thanks for the help!

 

Peace,

Steelworker

Link to comment
Share on other sites

Probably the easiest way would be to make your new partitions on the new hard drive and then do a copy of the old partition. You can boot off of CD1 and then mount the partitions you want to copy. Copy with

 

copy -pax source dest

 

Then you will need to go to your new root partition and modify your /etc/fstab and /etc/lilo.conf files..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...