LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2003, 03:48 PM   #1
brandog
LQ Newbie
 
Registered: Mar 2003
Location: Winnipeg
Distribution: RedHat 8.0
Posts: 28

Rep: Reputation: 15
Tried to transfer to new HD but failed! Please help


not a good day! I tried transferring my linux 8.0 to a new drive using the WD E-Z install disk and something went wrong, I used the E-Z bios utility on the new drive and it added it to the old drive! Now when I boot up the old drive it says "NO OPERATING SYSTEM INSTALLED" Can I do a recovery of information? I think it may have only cleared a boot partition! What do I do? I have lots of valuable website info on the disk and my site has been down for 3 hours already! Please somebody help!
 
Old 04-14-2003, 04:02 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Maybe read this thread?
Got a boot disk or linux distro cd which can be booted and used to reinstall a bootloader? Or is that not quite the problem?
 
Old 04-14-2003, 04:46 PM   #3
brandog
LQ Newbie
 
Registered: Mar 2003
Location: Winnipeg
Distribution: RedHat 8.0
Posts: 28

Original Poster
Rep: Reputation: 15
Thats the exact problem! Do I run a recovery?
 
Old 04-14-2003, 08:42 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Instructions here.
 
Old 04-15-2003, 11:36 AM   #5
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Rep: Reputation: 15
I recently transfered the files from an 8 GB drive to a 60 GB drive and it worked great!! This is how. I first tried to tar the entire drive, but that didn't work, so don't even try that. I tar'd each of the directories by them selves. Only had a problem with 2 or 3 of them. I think it was /dev /proc and one more that I don't remember. I then did the scp command to get them over to the new drive and untar'd them. Once that was done, I put the new drive in my server and shut it down. It took me about 30 seconds to change the IDE and power cables and I turned the server back on. After Redhat went through and found the new hardware it came up and everything was there. I was amazed. In addition to just the OS working, I also have other programs on there that had no problems at all. apache, qmail, webmin, ect. I also have more than a dozen domains that are hosted on that machine.

Try that with Windoze.

Hope this helps.

Kenny
 
Old 04-15-2003, 04:18 PM   #6
brandog
LQ Newbie
 
Registered: Mar 2003
Location: Winnipeg
Distribution: RedHat 8.0
Posts: 28

Original Poster
Rep: Reputation: 15
What about using Norton cd ghost or something!
 
Old 04-15-2003, 04:34 PM   #7
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Rep: Reputation: 15
I may be wrong, but I think using a program like ghost, the drive that you are putting it on has to have the same partition size as the drive that you are copying from.

Correct me if I'm wrong.
 
Old 04-15-2003, 05:45 PM   #8
EvilTwinSkippy
Member
 
Registered: Mar 2003
Location: Philadelphia, PA
Distribution: RedHat, Gentoo
Posts: 51

Rep: Reputation: 15
Going back to the recovery scenario...

Run the redhat installer, but instead of hitting enter at the first prompt, type "linux rescue"

Follow the steps, and have the system attempt to discover and mount your system as /mnt/sysimage

If it can't to that DON'T PANIC. Drop to the prompt, and mount the partition:
mount /dev/hda? /mnt/sysimage

Once you have that
chroot /mnt/sysimage

If you have a seperate boot partition:
mount /dev/hda? /boot

Now we re-install the bootloader. I'm assuming you are using GRUB:

Variables: X - the partion number where your BOOT partion lives - 1
(if your boot partion is /dev/hda1 X=0)

grub
(inside grub program)
root (hd0,X)
setup (hd0)

(Assuming of course your OS is on the master of the primary controller.)

More detailed instruction can be found on the gentoo installation guide:
http://www.gentoo.org/doc/en/gentoo-x86-install.xml
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 07:19 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
retrieving failed: curl failed: exited with 19 or signal 0 msalimane Mandriva 4 01-25-2005 10:24 AM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 09:03 AM
Loosing CD Drive while installing Mandrake 9.2 (ldconfig failed or idconfig failed) sjzabel Linux - General 3 02-26-2004 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration