Welcome. Get your technical questions answered and offer your help too!!!

Use EcoCash to buy NetOne & Telecel airtime online. Tap here
advertisement
advertisement
1.6k views
in Software by Expert (19.6k points)
i have a box running Fedora 13 and would like to make an identical  backup box.
 I have tried cloning (worked with Windows) the hard disk using Norton Ghost/ CloneZilla but I'm told i have to run fsck and edit GRUB to make the clone bootable but i don't know where to start with that, I'm not strong in that area of Linux.

I kindly need any help with  making this cloned hard disk bootable or any other technique i can use to solve my problem .

Use EcoCash to buy NetOne & Telecel airtime online. Tap here
advertisement

2 Answers

0 votes
by Guru (88.1k points)
It might harsh but why do you need a second bootable disk to backup your stuff? Im still learning Linux but when l was at that stage where l needed a bootable disk ready just in case l do something and screw the first disk, l installed a second copy on another disk ready.
by Expert (19.6k points)
this particular one is a server, with many complex settings and user accounts, reproducing it will be a nightmare with the level of knowledge i have in that area. thats y i need an easy way to duplicate the system
0 votes
by Expert (17.4k points)
Ever head of Clonezilla ? Well Clonezilla is a partition and disk imaging/cloning program similar to True Image® or Norton Ghost®

Well i think you must use it, for your need try and get the live cd on the link below.

http://clonezilla.org/clonezilla-live.php
by Guru (88.1k points)
l think its on the part of editing grub pari kumuhetsurisa!
by Guru (88.1k points)
I feel for you. If you use clonezilla to clone your  harddisk, then try to install startupmananger and see if you can use it to install grub on your cloned harddisk. There is also another one called kdegrubeditor.
by Expert (19.6k points)
edited by
i used clonezilla properly this time, turns out, there's an option that allows you to copy the MBR partition, so i wont need to load grub . Now the challenge is, the source disk has too many bad sectors and the clone processs terminates in the middle,...ever encountered that?? how do i bypass?
by Expert (17.4k points)
run fsck on you HDD. if that does not clear out file system errors then cloning a dead drive is a waste of the second HDD. GiGo :-) cloning will replicatie what is on the old HDD to the new HDD including any bad sectors too even if you are copying to a new HDD without any history. You have to be careful. Ultimately i would image the HDD with dd and then clean it and restore to a new drive but as you are not 100% familiar with bash or any other shells & cli then i would recommend you run a fresh install and configure the new hdd then copy across the apps to your new hdd. you could script the process and document for future's sake. next time make sure your hdd is smart enabled
by Expert (19.6k points)
i did run "e2fck -p sda" could not complete because "the partitions were damaged",I did manage to get the options to skip the bad sectors on CloneZilla and the copy process completed, surprisingly GRUB was copied and loaded properly but got stuck  when loading the system, guess it skipped a lot of important parts of the file system. I have abandoned the mission, will get back to it on Monday, will try a fresh installation. Thanx for the help guys!!
by Guru (88.1k points)
A fresh install is my favourit then try to mirror all your settings although it consumes a lot of time.
by Expert (19.6k points)
mirroring???? how do i go about that ??
by Guru (88.1k points)
You can copy and and paste things like /etc/fstab into your newly installed Fedora. More like copying your old setings into the new os.
by Expert (19.6k points)
i went on and did research on mirroring and i came up with this http://www.drbd.org/ anyone ever used it or something similar??
by Expert (17.4k points)
drbd is for High Availability clusters and so on. What McDonald was saying is that you must migrate your services and settings from faulty HDD  to the new HDD. The mirroring that is done by drbd is high end but imho this could stretch you a little bit further. I used this a while ago before VMware had become a complete solution for HA clusters etc. You can use it as a pulse to create Beowulf clusters etc.
by Expert (19.6k points)
ok, i have understood the "migrating services" part. I just got a revelation to use DRDB to prevent this predicament from happening again. Is it a wise move or there are better options??
by Expert (17.4k points)
Noble idea indeed. Go for it mate. Remember to always document your work. I use trac
by Expert (19.6k points)
thanks man, will post back how it goes!
Welcome to Techzim Answers,

You can ask questions and receive answers from the Zimbabwean internet community.

If you're not sure how to proceed from here just click here and ask
...