Link to home
Start Free TrialLog in
Avatar of lengmian
lengmian

asked on

boot problem after upgrade from Redhat 6.2 -> Redhat 7.2

I have a customized system with AMDK6-2 400MHz CPU running RH 6.2 (no Xwindow). However, the system has an upgraded kernel of 2.4.18. Since sometimes the system complains that some applications have lower version than the kernel(i.e. mount), I decided to upgrade the system to RH7.2.

The system is running on a bare motherboard and has no CDROM and floppy drive. So I took the HD off and connected to a P4 box to do the upgrade. The HD can boot successfully on the P4 box after upgrading. However, after I connected the HD back to the original system, it could not boot correctly. The initialization stops after showing the following information:

EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 256k freed

Does anybody know why does this happened? How do I solve this problem?
Avatar of stevebates1
stevebates1

Your harddrive is probably being recognised as a different device(hda\hdb\hdc etc) on your P4 machine, so when the boot loader runns it is probably trying to mount something that is not there.
Are you using Lilo or Grub?
I'd recommend booting on the P4 machine, and putting additional configs in the boot configuration (lilo or grub) to guess what the device is comming up as on the other platform.
Worst case is you would have to get a CDROM on the target machine and re-do (repair) the upgrade.

Avatar of lengmian

ASKER

Thanks, Stevebates1,
I only use the target HD on the P4 machine when upgrading. So it should always be considered as hda.
I am using Lilo and nothing is changed on the /etc/lilo.conf.

Any chance you can get a floppy drive on the system? then I'd suggest booting from toms root boot (single floppy linux http://www.toms.net/rb/ ) and attempting to mount the volumes by hand.
BTW can you post /etc/lilo.conf from the P4 machine to this thread, and note the timestamp (just to be sure it has not be changed) you may find that there is an /etc/lilo.old (or similar) that was created as part of the upgrade, if so post that too.
Hi!

My guess is you get a i686 kernel installed.
This might not work on a AMDK6-2.

After installing on the P4, forcibly install i586 or i386 kernel and modules.

Hope this helps.

Regards
/Hans - Erik Skyttberg
lengmian:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points No Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of RomMod
RomMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial