LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-25-2006, 04:16 PM   #1
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
Question boot problems after hardware upgrade


I just replaced most of my hardware, (motherboard, graphics card, cpu). now my system won't boot. all hardware is detected, and the system checks for bootable cd's, before trying to load lilo, which is where it stops. No kernel panic (dkeyboard still responds), no error message of any kind, . the old system was an AMD AthlonXP 2500+, while the new one is an AMD-64 3700+.

this is what I see on my screen
Code:
Verifying DMI Pool Data.............
Boot from CD:
Boot from CD:

LIL
I tried booting from an old morphix disc I found in a drawer, it worked fine, so the hardware is connected properly. anyone ever heard of a similar situation? what will I need to do?


edit: by the way, I am using Mandriva 2006.0, free version, with a custom kernel, not that this should matter since lilo does not get started.

Last edited by edgjerp; 01-25-2006 at 04:18 PM.
 
Old 01-25-2006, 04:37 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Try to rescue Mandriva with a Live CD.

Task B3 of "just booting tips" in my signature refers.

All the commands are there.
 
Old 01-26-2006, 12:25 AM   #3
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
I tried to use cd1 of the x86_64 install set, and select rescue. the result: it loads the kernel (alt0) and the bottom line of the screen says "ready" then everything stops, same symptoms as before.

edit: seems I found at least part of the problem: I pulled my secondary controller card (IDE) and now rescue starts fine.

edit2: so does the system, up to the point where disks are to be mounted, shockingly, the system cannot check the disks that were connected to the controller card... is it possible to bypass fstab, or at least have it ignore all disks not conected?

Last edited by edgjerp; 01-26-2006 at 12:45 AM.
 
Old 01-26-2006, 02:16 AM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You can put a # in front of the line in fstab to temporarily disable the partitions you don't want it to mount.

Would benefit from a Grub bootable disk so that you can boot the system up manually.

I have moved hard disk, with 25 to 35 Linux inside, from PC to PC and I would say 1 in 10 only needs a re-install.
 
Old 01-26-2006, 01:00 PM   #5
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
I experimented some more, and came up with the following:

the controller card is fine, but if I connect any of the disks that are supposed to connect to it, boot fails.

Some searching revealed that the lilo bot code "LIL" means that the secondary loader was started but cannot load the descriptor table from the map file. typically caused by media failure or geometry mismatch. not sure what the last means, but all the partitions mount fine when the disk is connected by usb.
 
Old 01-26-2006, 01:15 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Did you boot the same disk by USB before?
 
Old 01-26-2006, 02:25 PM   #7
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
the bootable disk(hda) is fine, the problems are with disks hde, hdf and hdg, when connected to a pci controller card. when I connect each these disks by an ide-to-usb cable to my laptop and mount one partition at a time, I can read the contents fine. Even when boot fails, the disks are detected. the problem is, as I wrote above, when lilo tries to work with the disks. they are connected in the same order as before I changed motherboard.
 
Old 01-26-2006, 02:45 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
As far as I am aware Linux installed in an internal hard disk does not boot in an external disk via a USB cable because special tweaked kernel and ramdisk are needed for such an application.

The fact that hda boots successfully confirms there is no problem with the hardware.

Is this your first attempt to boot the systems up via the USB connection? The speed of the CPU and the drive do come into consideration whenever a USB device is booted and many distros have to switched to a different boot loader in such a situation.
 
Old 01-26-2006, 02:52 PM   #9
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
you misunderstand: I do not attempt to boot from usb, I used usb to check that the disks are in fact not broken. the usb enables me to change the disks while my laptop is on,saving lots of time.
my problem is that the system fails to boot if I connect these disks to my controller card.

the disks are fine, the system itself is good, the controller card is working, but when I connect the disks to the controller card, lilo is unable to finish booting the system. the problematic drives contain various video, audio, etc.nothing critical for booting.

Last edited by edgjerp; 01-26-2006 at 02:55 PM.
 
Old 01-26-2006, 02:54 PM   #10
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
You changed something in the setup of the disks, I guess. Lilo is not very sophisticated and uses physical locations on the disk to get to working boot. My guess is that if you boot with a rescue/boot disk (now you know what those were for) and run lilo again you will be fine(if the location of the drives has not changed, probably they have. Edit lilo.conf in that case).
Or switch to grub, that would at least have given you a way to repair the boot ad-hoc.
 
Old 01-26-2006, 03:36 PM   #11
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
booting into rescue mode from a setup cd when the troublesome drives are connected, results in the kernel being loaded, then "ready" at the bottom of the screen, and then nothing.

I booted the rescue without them, and checked lilo.conf, there is no reference whatsoever to any other drive than hda. running lilo is not possible with the drives connected, since the boot never gets to a point where I have access to a command line.
 
Old 01-26-2006, 03:40 PM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
In that case refer to Task B3 in my signature on the link of

Just Booting Tips

It describes the commands to restore Lilo using a Live CD.

I also described using a rescue CD to do the same job in Task D4.
 
Old 01-26-2006, 03:57 PM   #13
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
If you cannot get a livecd to boot on the system I gues it is your hardware that is causing trouble(as you have alreasdy indicated yourself). If you kept the master slave settings as they were and the bios does not swap the disk around with the extra controller, and you still are not able to acces the other disks, then you have a controller that does not play nice with your new MB. I don't think it has much to do with linux.
 
Old 01-26-2006, 04:01 PM   #14
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
Didn't help. lilo.conf and all related settings appear to be technically sound, and the hardware seems to be good.

when I boot the system without the controller card installed, the system boots fine.

when I boot with the controller card installed but with no disks attached, the system boots fine.

but when I connect one or more disks to the card, all looks good while the bios handles things. the moment lilo takes over, boot stops.

it seems that somehow lilo has become incompatible with this controller after I changed motherboard. (old was NF7, new is NF8-ultra, both from ABIT). it has worked with the same order of disks for months, same lilo setup, same disks.

I did a quick test, even a reinstall of the system will not work, the boot loader on the install cd cannot handle the extra disks either.
 
Old 01-26-2006, 04:25 PM   #15
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
seems you are right, I have seen a couple of references to trouble with the KN8-ultra motherboard and the promise ATA133 controller, but I have not yet pinpointed any details, because the pages are unavailable. (google links outdated)
 
  


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
Slower after hardware upgrade fredmon Red Hat 1 01-19-2005 07:23 AM
If I upgrade my hardware do I have to reinstall or upgrade? sephiro499 Mandriva 2 10-20-2004 07:08 AM
Boot/function problems....Bad memory? Virus? Hardware? coolgy768 Linux - Hardware 2 05-17-2004 09:52 PM
Why do I have USB hardware problems after Windows boot oudent Linux - Hardware 0 04-06-2003 03:07 AM
hardware upgrade richardmurphy Linux - Hardware 1 03-17-2003 05:37 PM

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

All times are GMT -5. The time now is 04:46 AM.

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