LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2005, 11:12 AM   #1
dstromberg
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
new computer old hard drive


Usual apologies if this has been discussed elsewhere, but I couldn't find any topics related to this.

I recently bought a new computer eMachines t3990 after my old computer stopped working properly. I had Suse Linux 8.0 installed on the hard drive and was trying to simply drop the old drive into the new computer. It didn't work, (kernel panic, unable to mount root fs...) and I tried to install Linux on the new drive. YAST dropped me into manual installation, and I got totally lost. I think that there may be a problem with compatibility of the hard drive controller, but I'm not sure. Any ideas? More information needed?
Thanks so much!
 
Old 10-11-2005, 11:25 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Definitely more info needed... what kind of hd is the old, the new, where exactly did you "drop it in" (master, slave?), etc.
 
Old 10-11-2005, 11:35 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
And let us know if you're using LiLO, GrUB, or something else for your bootloader.
Probably the MBR (master boot record) is going to need updating, as well as some
stuff aaa will tell you about.
 
Old 10-11-2005, 11:38 AM   #4
dstromberg
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
old hard drive is western digital 40 gb (WD400) ide...
can't look at the new hard drive right now, but it doesn't really matter, because it never gets that far.
I forgot to mention, when it moves to the manual installation, it says that it can't find the linux installation cd (after it booted from the cd, so it's there)

Both times the hard drives are the only one present in the system.

I'm using LILO as the bootloader. I tried a couple times modifying the line in lilo to set the root to different hdas (root=/dev/hda1, /dev/hdb2, etc...), but to no avail.

Last edited by dstromberg; 10-11-2005 at 12:45 PM.
 
Old 10-11-2005, 01:24 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
The problem is probably that the old was primary master (hda) or something and now it is in a different spot, making it hdc (guessing, you didn't say where you put it). The old /etc/fstab file probably still says hda, so even if you get the root= right the fstab could be the problem. So either rearrange all the drives so the old one is in the same position it was in the old computer, or boot up from a cd or floppy (the install cd should have a comand line on it) and change the old fstab. Not sure why the install went to manual, is there something special about the cdrom drive you have?
 
Old 10-11-2005, 01:48 PM   #6
TexasDevilDog
Member
 
Registered: Nov 2003
Posts: 54

Rep: Reputation: 15
Quote:
Originally posted by aaa
The problem is probably that the old was primary master (hda) or something and now it is in a different spot, making it hdc (guessing, you didn't say where you put it). The old /etc/fstab file probably still says hda, so even if you get the root= right the fstab could be the problem. So either rearrange all the drives so the old one is in the same position it was in the old computer, or boot up from a cd or floppy (the install cd should have a comand line on it) and change the old fstab. Not sure why the install went to manual, is there something special about the cdrom drive you have?
I agree with the above. If you have the new HD in the new computer, I would disconnect it and see how everything boot up with only the old HD.
 
Old 10-11-2005, 04:54 PM   #7
dstromberg
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Well, in both cases the HD is the primary master, so it shouldn't have changed from hda (secondary master is the CD Drive, that's the only other drive connected when I boot up).
The problem is, I can't get to a command line from the CD Drive either, as mentioned earlier. I just tried putting my old CD Drive into the new computer, but had the same results. (Dropped into manual installation, says that it can't find the Linux installation CD). This occurs no matter which option I choose on the CD's boot menu. I've tried Installation, Installation - Safe Settings, Rescue System....

Last edited by dstromberg; 10-11-2005 at 04:58 PM.
 
Old 10-11-2005, 09:30 PM   #8
TexasDevilDog
Member
 
Registered: Nov 2003
Posts: 54

Rep: Reputation: 15
When you drop to a prompt do this.

Code:
# df -HT
Filesystem    Type     Size   Used  Avail Use% Mounted on
/dev/sda2     ext3      70G   3.2G    63G   5% /
/dev/sda1     ext3     104M    11M    88M  11% /boot
/dev/shm     tmpfs     525M      0   525M   0% /dev/shm
/dev/hdd       udf     8.6G   8.6G      0 100% /media/cdrecorder
And a "dfisk /dev/***" on what ever is not listed. This should give you an idea if linux can see your hardware.
 
Old 10-12-2005, 01:12 AM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
If I understand your situation, by "dropping the old drive" into the new machine, what you actually mean is you are actually trying to add the old drive into the new machine as a second drive. (I'm assuming that the new PC has an existing drive, which you'll be keeping as the primary master, and that you want to use the old drive for additional storage.)

If so, and since apparently both drives were jumpered to be in the primary position, the problem may be with the jumper setting on the old drive. Check the jumper settings on your drives, and adjust as needed. Good luck with it and welcome to LQ!
 
Old 10-14-2005, 10:45 AM   #10
TexasDevilDog
Member
 
Registered: Nov 2003
Posts: 54

Rep: Reputation: 15
Any resolution with the problem? Please add the fix, so it might help other people.
 
  


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
Transferring Hard Drive to Newer Computer kaplan71 SUSE / openSUSE 2 11-04-2005 04:11 PM
Transferring Hard Drive to Newer Computer kaplan71 Fedora 1 11-04-2005 01:32 PM
Installing Mandrake 10.0 on hard drive for another computer Fasn8n Mandriva 1 12-28-2004 08:18 PM
can i move my hard drive to a different computer citrus Linux - General 5 04-12-2004 03:30 AM
Computer destroys hard drive after two weeks andreseso Linux - Hardware 10 12-11-2003 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 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