PDA

View Full Version : New Kernel doesn't boot



mbrad
13th May 2007, 03:02 PM
Thanks for taking the time to read my question.

I just installed Fedora Core 6 on my PC about a week ago. I'm learning at quite a pace, but haven't figured out why my pc is not booting properly.

It worked find when I installed Fedora. Then I went on-line and did some updates (what ever it selected) and then it worked. Then a few days later it stopped booting.

At start-up it says:

The pixelated Fedora screen comes up and does the countdown, Fedora will boot in 5, 4, 3, 2, 1, 0
Starting Clock [OK]
Starting udev

Then nothing happens my screen goes black and stays that way. If I press "Any Key" during the countdown, I can select which kernel to use.

At this point I have

Fedora Core (2.6.20-1.2948.fc6)
Fedora Core (2.6.18-1.2798.fc6)

in that order. So default is the first one. If I select the second one, the pc boots fine.

What can I do to use the new kernel and not have to mess with the boot-up every time?

Thanks

Brad

Dies
13th May 2007, 03:13 PM
You can edit the grub menu to boot whichever kernel you prefer.

su -
gedit /boot/grub/grub.conf

change the line that reads

default 0

to

default 1

If you just installed and you haven't done so yet you should check to make sure you have the right kernel.

run this in a terminal:

rpm -qa 'kernel*' --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|sort

if in the results you see anything with i586 in the name head here for a fix

http://fedoraproject.org/wiki/Bugs/FC6Common

if it's just i686 and i386 then you're good to go.

You might also want to gedit /etc/yum/pluginconf.d and set the packages to keep higher just in case the newer kernels don't like your hardware, at least an update won't wipe out your only working kernel. ;)

mbrad
13th May 2007, 03:32 PM
Thanks for the very quick reply!!!

Here are my results


kernel-2.6.18-1.2798.fc6.i586
kernel-2.6.20-1.2948.fc6.i586
kernel-headers-2.6.20-1.2948.fc6.i386


Looks like you got it right! I'll check the link you sent for further instructions.

Thanks again,

Brad

mbrad
13th May 2007, 04:01 PM
ok, I've got the image, but I can't get a way to install it. Nothing seems to work.

Here's what I've done so far.

[root@localhost ~]# rpm -qa 'kernel*' --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|sort
kernel-2.6.18-1.2798.fc6.i586
kernel-2.6.20-1.2948.fc6.i586
kernel-headers-2.6.20-1.2948.fc6.i386
[root@localhost ~]# yumdownloader kernel.i686
-bash: yumdownloader: command not found
[root@localhost ~]# su -c "yum install yum-utils"
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was
[Errno 14] HTTP Error 502: Date: Sun, 13 May 2007 14:38:10 GMT
Content-Length: 324
Connection: close
Content-Type: text/html; charset=iso-8859-1

Error: Cannot find a valid baseurl for repo: core
[root@localhost ~]# linux updates=http://192.168.7.12/C:\Documents and Settings\Desktop\updates.img
-bash: linux: command not found
[root@localhost ~]# linux updates=http://192.168.7.12/C:/Documents and Settings/Desktop/updates.img
-bash: linux: command not found
[root@localhost ~]# linux updates=\\192.168.7.12\C:\Documents and Settings\Desktop\updates.img
-bash: linux: command not found
[root@localhost ~]# dd if=updates.img of=/USB MEMORY bs=72k count=20
dd: unrecognized operand `MEMORY'
Try `dd --help' for more information.
[root@localhost ~]# dd if=updates.img of=/'USB MEMORY' bs=72k count=20
dd: opening `updates.img': No such file or directory
[root@localhost ~]# dd if=updates.img of=/'USB MEMORY' bs=72k count=20
dd: opening `updates.img': No such file or directory
[root@localhost ~]# dd if=updates.img of=/media bs=72k count=20
dd: opening `updates.img': No such file or directory
[root@localhost ~]# dd if=211941-updates.img of=/media bs=72k count=20
dd: opening `211941-updates.img': No such file or directory
[root@localhost ~]# dd if=211941-updates.img of=/media/USB MEMORY bs=72k count=20
dd: unrecognized operand `MEMORY'
Try `dd --help' for more information.
[root@localhost ~]# dd if=211941-updates.img of=/media/'USB MEMORY' bs=72k count=20
dd: opening `211941-updates.img': No such file or directory
[root@localhost ~]# dd if=211941-updates.img of='/media/USB MEMORY' bs=72k count=20
dd: opening `211941-updates.img': No such file or directory
[root@localhost ~]#

I've been trying to follow the instructions at the link you provided, but I must be doing something wrong.

Thanks again,

Brad

Dies
13th May 2007, 04:07 PM
Well the yum error might just be a problem with the repos, you may just have to wait a while, seems like other people are having problems with the repos too, you can try running

yum clean all

and see if it helps if not you may just have to wait a while.

As for the rest, not sure what you're trying to do with dd so can't really help you there, but I would be careful with dd, that thing is dangerous. :)

mbrad
13th May 2007, 09:03 PM
Thanks that was perfect! I did

yum clean all and then re-run your previous code and it worked!

Thanks so much. Now my PC boots up again.

Have a great day,

Brad

mbrad
14th May 2007, 03:29 AM
Hi Dies,

I just booted up my PC again and it did the same thing. So I checked the Kernel and it says i586 again. I followed the steps outlined on the Fedora Bugs page you posted below, so I thought. Any ideas? I'm going to try it again.

Brad