Mandriva 2006 won't boot on Compaq 1245
I have installed Mandriva ( free ) 2006 on my old laptop, a Compaq 1245. I had Mdk 9.2 on it for about two years, it worked well.
I'm using Mandriva 2006 on my main box and I like it.
I tried Ubuntu on the laptop, but I could not get sound working. I had it working on Mdk 9.2. After a 3 CD install of 2006, on the re-boot, I get 'kernel panic - not syncing' I can, and have booted Knoppix 3.9 on the system, so I'm as sure as I can be, the hardware is not broken.
I thought by some of the other messages before the kernel panic line, for some reason 2006 can not mount the / drive. There is only one drive. I booted Knoppix, I can mount hda1, hda6 and hda7. Hda5 is the swap, and since this machine has only 64M of ram, I'm sure Knoppix is using the swap.
My guess is something is wrong with lilo. I can browse the lilo.conf file on hda1, but I have not been able to figure out how to write it. With Knoppix I edited the /etc/fstab file and made sure hda1 is set to read write (rw) in fstab. I then mounted the disk. I want to change the acpi=ht parameter, and re-install lilo, but I can not get it to write back to hda1. I want to change it to acpi=noacpi How is this done with Knoppix, or any other live CD? I must be missing something.
This is an older 300Mhz machine. Here is a link to a model 1244, just about the same machine, CPU is a little faster.
First off, you can test to see if those boot options will work by hitting the Esc key as soon as you see the lilo boot selection screen. That will take you to a boot prompt at which you should type:
linux noapic nolapic acpi=off
"linux" is the name of the boot selection in lilo you are going to boot and the remainder are the most common options to try if you are having trouble booting. Post back your results. If it doesn't work, I'll go into more detail about how to run mandriva's lilo from knoppix using chroot.
Thank-you for your thoughtful response.
I tried your suggestion, and the system still won't boot. My assumption at this point is, the problem is not just these parameters. I have done a little more digging, but without success.
Here is the text of the first error when booting.
'mount: error 6 mounting reiserfs flags noatime' The system retries two more times without the parameters, and fails to mount '/' The last line says ' Kernel panic - not syncing No init found try passing init= option to kernel'
This was a clean install, I partitioned and formatted the drive. Here is the output from fdisk -l.
I checked the path to initrd.img and vmlinuz and they are correct.
Any thoughts on what to do next?
The boot parameters I gave you have the same effect as setting acpi=off in lilo.conf's append line. They overide what's in lilo.conf now; that was the whole point. If what I gave you didn't work, changing lilo.conf won't work.
If you want to know how to do that anyway, boot into knoppix, mount hda1 read/write. Open lilo.conf in a text editor and make the changes you want and save the changes. Then open a console and run:
# umount /mnt/hda1
# mount -t reiserfs /dev/hda1 /mnt/hda1
# chroot /mnt/hda1
# /sbin/lilo.conf -v
That will rewrite your changes to lilo.conf to the mbr by utilizing the chroot command.
In knoppix are you booting with a 2.4 kernel or a 2.6 kernel? That could be a difference since mandriva uses a 2.6 kernel and the example in your link also references distros using the 2.4 kernel, namely slackware.
You can try checking your bios setup and make sure plug & play is disbaled if you are able to do that in your compaq. Another thing you can try is adding "nodma" without quotes to your list of boot parameters.
|All times are GMT -5. The time now is 03:12 PM.|