LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-06-2005, 03:06 AM   #1
ravebird
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian, RedHat
Posts: 3

Rep: Reputation: 0
Motherboard upgrade with same hard drive


Hello there,

I'm trying to upgrade a debian system (kernel 2.6.8) to a more powerful motherful with faster CPU (athlon -> p4). The objective is not to reinstall all the software + data import. To be safe, I've cloned (using norton ghost) the entire hard drive to a spare one and try it from there. So far so good, but when I try to boot up the cloned hard drive on the new motherboard, GRUB fails on me (repeated messages of GRUB). As another attemp, I boot up the new motherboard with a GRUB floppy (same cloned hard drive) but it gives kernel panic.

Any kind soul has any idea how to tackle this further along besides reinstalling the whole system? I was hoping the kernel can somehow re-detect the hardware configuration while retaining the software integrity. If any of the forum reader has any idea feel free to respond.

Thanks,

Gilbert.
 
Old 01-06-2005, 07:00 AM   #2
jmeads
Member
 
Registered: Dec 2004
Location: London
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
You may have to install a different kernel as your most likely running one for an athon - hence the kernel panics on boot.
 
Old 01-06-2005, 10:10 AM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
A detail lists of errors messages would an excellent start.
 
Old 01-06-2005, 04:40 PM   #4
ravebird
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian, RedHat
Posts: 3

Original Poster
Rep: Reputation: 0
panic dump

again, thanks for any help you could possibly offer!

kernel BUG at arch/i386/mm/init.c:573!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in:
CPU: 0
EIP: 0060:[<c033db71>] Not tainted
EFLAGS: 00010246 (2.6.8-1-686)
EIP is at mem_init+0x11/0x200
eax: 00008000 ebx: 00000000 ecx: 0000000f edx: 00008000
esi: 00000000 edi: c0357120 ebp: 003a4007 esp: c032ffa0
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c032e000 task=c02b9a40)
Stack: 003a4007 c124c100 0000007b 0000007b fffff00 c0340b8c 00000060 00000287
c02950e7 00000004 00000000 0000000e 0000000 00098000 c0357120 003a4007
c033072a c028ad3d c03585c0 c0351038 000000d c0330380 c03585c0 c010019f
Call Trace:
[<c0340b8c>] inode_init_early+0x6c/0x80
[<c033072a>] start_kernel+0x11a/0x1f0
[<c0330380>] unknown_bootoption+0x0/0x160
Code: 0f 0b 3d 02 a6 1b 29 c0 e8 82 94 ff ff 89 44 24 24 31 db e8
<0>Kernel panic: Attempted to kill the idle task!
In Idle task - not syncing
 
Old 01-07-2005, 03:06 AM   #5
jmeads
Member
 
Registered: Dec 2004
Location: London
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
Your running an athlon optimized kernel on a P4 - it's going to fail!, install a p4 or i386 kernel and it should work
 
Old 01-07-2005, 07:01 AM   #6
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Please take this as an inquiry and not as an attempt to argue, but how are you coming to that conclusion based on the information he provided?

Is this error the one that happens when using the boot floppy or from booting from the hard drive? If I had a choice I'd like to see the errors from the hard drive boot attempts.

Even before that, I'd just double check that you have your master and slave jumpers correct.

Thanks.

Last edited by ghight; 01-07-2005 at 07:13 AM.
 
Old 01-07-2005, 12:36 PM   #7
jmeads
Member
 
Registered: Dec 2004
Location: London
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
ghight - no problems, I came to that conclusion based on the first few lines of the error messages he posted, the kernel can't detect a cpu, plus the kernel bug - first line... plus the fact that the box has gotten past the boot loader - its found the kernel and is attempting to boot it. Unfortunately ravebird hasn't given much info which doesn't help.

ravebird - can you please post the result of:

dpkg --get-selections | grep kernel
 
Old 01-07-2005, 01:25 PM   #8
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
I'll agree that there is probably a hardware compatibility issue. I'm going to need more info to say for sure if its the CPU change that is causing the problem. Either way ravebird, I think you will have to look into your new hardware a little more and see if anybody else is running the same motherboard and having the same problem.

If you still have access to the old hardware, I'd drop your cloned drive in and see if it works. If so, you may want to install a second kernel that can handle the new hardware too.
 
Old 01-09-2005, 06:33 PM   #9
ravebird
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian, RedHat
Posts: 3

Original Poster
Rep: Reputation: 0
Hey guys, thnanks so much for the replies - was busy at work and just spent Saturday figuring out the problem. It's simpler than we thought: the new system only has 256Mb while the old motherboard has 512Mb ! I put an extra 128Mb to the new system (note the total still wasn't 512) and the new system can boot all the way up to the KDE (no more errors nor panic). But I had to reinstall GRUB though. In summary this is what I did after the hard drive cloning:

1) upgrade the memory of the new motherboard to a total of 384Mb
2) use a bootable Debian Linux CD and reinstall GRUB (e.g. /usr/sbin/grub-install /dev/hda0)

Thanks again for the inputs!
 
Old 01-10-2005, 07:06 AM   #10
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Glad you figured it out. I'd say cloning the drive probably cause your Grub issue
 
  


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
laptop hard drive upgrade Arnaud_B Linux - Hardware 6 06-26-2005 01:27 AM
NForce2 motherboard with ATA 133 (7200 rpm) hard drive nirvanix Linux - Hardware 2 01-30-2005 06:16 AM
Hard Drive/Partition Upgrade ivelgo Fedora - Installation 4 12-09-2004 10:30 PM
Hard Drive Upgrade Questions. rvijay Linux - Hardware 13 12-26-2003 12:54 PM
Hard Drive Upgrade BittaBrotha Linux - General 2 04-01-2002 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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