PDA

View Full Version : Knoppix rebooting in an endless loop



NullDevice
01-27-2007, 10:37 PM
Hi,

No matter what knoppix version i boot, 4.x or 5.x, it's rebooting in an endless loop.
It's always at the same point of time. It says "APM Bios found, power management function enabled."
Then the system boots up the POST screen again.... and so on.

i tried to boot with "knoppix noapic noapm"

Then it says something like "skipping apm like desired on the command line"
After that -> reboot.

The system usually has no problem with other operating system. I had OpenBSD on it until today.
Then an hour ago i installed Debian, but there is a problem with the MBR, it cannot find any active partitions it says.
So i wanted to fix the mbr with knoppix...

Any suggestions?

Harry Kuhman
01-27-2007, 10:45 PM
Then an hour ago i installed Debian, but lilo said it cannot find the harddisk, so i tried to fix that with Knoppix.

Any suggestions?
Greetings.

Can you give any info about the system, particularly what type of hard disk that Debian is having trouble with? Which version of Debian? You say Lilo, but at least Etch of Debain if not all versions default to grub now, is there any reason that you want to use lilo even though you seem to be having trouble with it?

I don't recognize your Knoppix booting problem. More hardware information might help someone spot something.

NullDevice
01-27-2007, 11:07 PM
hi harry,

This is a P-II with 350MHz , a common 64MB SDRam, i couldn't figure out yet what brand that mainboard it.
The harddisk is a 2,6 GB Fujitsu MPA3026AT IDE-disk.
I was fiddling with the bios settings in the meantime, i set it to LBA mode, but no success - same result.

The error message is not bootloader-specific, so i did not know which loader it installed. I guessed lilo cause in the older debian versions it was lilo if i remember right.
The errormessage says "Not found any [active partition] in HDD. Disk boot failure"

My debian CD is "testing" from March 2006 (that's Etch maybe, im not sure).

This rebooting-loop problem is weird... i could not find anything in google about it so far ;(

Harry Kuhman
01-27-2007, 11:54 PM
The errormessage says "Not found any [active partition] in HDD. Disk boot failure"

My debian CD is "testing" from March 2006 (that's Etch maybe, im not sure).
Yea, the rebooting is a strange problem that I don't remember seeing any mention of and I've read most of what has been posted here in the last few years.

I'm pretty sure that Etch does default to grub (I think there is an option during install to use lilo though). I certainly am confused by that problem with a normal IDE drive. Etch gives you lots of options during install on how you want it to deal with the hard drive though, anywhere for letting it just erase and use the entire drive, using available free space, to manually letting you partition the drive as you see fit. I have had a few curious problems with different Etch installers over time when I was working with multi-boot configurations (couldn't convince the installer to put Grub on the Linux partition and not in the MBR, even though it did ofer that option!), but never this.

You didn't say if there were things on the disk that you were trying to keep, but if this is just a simple clean install I would suggest the following:

If you have any way to delete all partitions, do that.

Consider doing a net-install of Etch with the net-install iso from here (http://www.debian.org/devel/debian-installer/). That will get you a somewhat newer version of Etch that just might address whatever is going wrong. Also, as long as you have a high speed connection, I like doing a net-install rather than from a CD set; it leaves Debian thinking you have a minimal CD and it will usually not keep asking you to dig out the install CDs every time that you want to apt-get something. That may not be an issue to you, so apply your own experiences and biases if you wish.

In the install process if you let Debian do it's own install and create the Linux partition and swap partition from scratch, then it should certainly make the Linux partition active. If you are manually partitioning then don't forget this step.

Yea, Knoppix should have been able to make the partition active for you. I wonder if there is something very strange about the hard disk that is confusing Knoppix and preventing the boot. A good test of this would be to discoonnect the IDE drive and try booting Knoppix again. (Knopix doesn't need a disk at all as long as you have enough memory, but will try to use a swap file if it thinks there is one out there). Of course, if that does work it still doesn't let you make the partition active, but it would tell you something either way.

I don't think you can make the Linux partition active with any MS DOS tool, but I like the simple partition program called Ranish Partition Manager. You should be able to run it from a DOS floppy and work with your partitions that way if all else fails.

NullDevice
01-28-2007, 04:22 AM
A good test of this would be to discoonnect the IDE drive and try booting Knoppix again.

Oh! You are right!
Knoppix boots correctly if i disconnect the harddrive.
Hmm... maybe its broken.

There was something within the bios settings i fiddled with. Where u can set the mode and type of the drive.
But i thought AUTO will work and changed it.

Harry Kuhman
01-28-2007, 05:45 AM
Oh! You are right! Knoppix boots correctly if i disconnect the harddrive.
Hmm... maybe its broken.
Thanks for the confirmation.


There was something within the bios settings i fiddled with. Where u can set the mode and type of the drive. But i thought AUTO will work and changed it.
I'm not clear on when you made this change and if you have put it back to auto or not. Yes, auto should work in almost all cases as. There were some old drives made before IDE drives started reporting their geometry (or lying about their geometry, depending on how you l0ook at it), but any IDE drive over a gig in size should certainly report it's geometry to the BIOS. I would go back to using auto if you can and only use the geometry settings if you are certain you have the proper values.

I suspect, as long as you can get past the IDE bios setup issue, that there is nothing physically wrong with the drive. My theory to try Knoppix without the drive was based on a suspicion that there was something wrong with the swap file and that was why it kept restaring. A dead drive should not cause Knoppix a problem. Of course, I can't completely rule out a hardware issue in this case, but I would completely repartition that drive, replace the MBR boot code and the partition table, and see if things don't get a lot better after that.

kirol
01-28-2007, 10:41 AM
have you tried the "nodma" bootcode ?