Link to home
Create AccountLog in
Avatar of mrmad1966
mrmad1966

asked on

Ghost 4 Linux - Clone Old Server missing /sbin/init

OK..Big help needed here..Is anyone clever enough to help ???
I am running Ubuntu Server 6.06 LTS.
 I have an old PIII 700 which had a 40Gb drive as /dev/hda this drive recently started to produce ide errors.
On this drive was only the O/S & swaps.
I purchased a new 80Gb drive, created partition 1 as an equal size to partition 1 on the old drive, also created an extended partition again to match the old drive..I did NOT create any swaps..

I used Ghost 4 Linux and choose the clone drive option. The old drive appeared to clone successful but when replacing the old master drive with the new cloned 80Gb drive I now get an error.Grub seems to load OK then a message says "Target filesystem doesnt have /sbin/init" then a busybox prompt..
I am only a beginner so help would be a MASSIVE thing for me !
Yours hopefully

John
Avatar of http:// thevpn.guru
http:// thevpn.guru
Flag of Denmark image

Are both HDD identical. I.e. the old drive was probably an IDE drive...is the new one SATA ?
Another question did you place it exactly the same position as the old drive ?

These questions are critical since the Linux system is searching for /sbin/init on /dev/hda for example ..on changing to SATA or changing HDD location this location will change and the fstab needs editing to reflect those changes before being able to use that new HDD
Avatar of rindi
How did you use ghost4linux to clone your drives? Did you use a livecd from which you booted, or did you run it from within linux? When cloning or imaging, you should never have your source partitions mounted, so it's best to use livecd's. I also suggest trying to use partimage. You first make images of your partitions with it, then restore those images to your new disk. You'll find it included on most livecd's like knoppix etc.

http://knoppix.net
Avatar of mrmad1966
mrmad1966

ASKER

Old drive ATA 100 40Gb - New drive  ATA133 80Gb old was a Primary Master seen by the system as /dev/hda

New has also been setup as the Primary Master.. Have not checked at this moment but I assume also /dev/hda

Thanks Shakoush2001
I did use the live CD but did not create any image file it was a direct drive to drive clone.. The drive produces DRQ timout errors if on for any period of time !

Thanks

John
Then there are hardware problems on your original drive which are preventing it being copied properly. Run your HD manufacturer's diagnostic utility on that drive and allow it to repair errors it finds if it can repair them. If the drive can be repaired, you can try cloning again after that. You'll find those tools on the UBCD.

http://ultimatebootcd.com

You can also try running hddreg which is a very good utility that can revive bad HD's without doing any harm to them. It'll take a long time though.

http://www.dposoft.net/
Rindi..
I had already ran the manufacturers diagnostic software. It was that software that told me during a long extended test that the drive had these DRQ errors, but it must not have been able to do anything about them because it did not give me an option to repair..

On a brighter note, It appeared that I could see visually when the drive had failed..When the old drive produced the errors the screen would turn black then information with words like ide-errors, timeout etc etc etc would be displayed. It seemed to happen when the drive had been on for a period of time (hot).

If I switched off the PC for a while so all components were cold, I could get a while before it crashed into the black screen..

On my first couple of attempts to clone the drive G4L only managed about 50% before it bombed out to the black screen. The final clone (after PC had been switched off) appeared to go through the full 100% without bombing out to the black screen so these seemed to indicate that I do have a clone on the new drive !
 
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer