[pls help] cannot load kernel

hi all, i am newbie pls help
ceca6d61ca.jpg


i upgrade my FreeBSD7.1, i add some gnome component and
after that i restart. then appear this error


how to fix my kernel ?



thx u all
 
You may try the following at the loader prompt:

Code:
boot /boot/kernel/kernel

if that fails, try:

Code:
boot /boot/kernel.old/kernel

If this still does not succeed, try this:
  • Boot your system off a 7.1-RELEASE CD
  • Enter the "fixit" mode
  • Mount the harddisk partition containing your root filesystem (and the /boot directory with your kernel)
  • See what's wrong with the kernel on your harddisk
  • See if there is another kernel you could possibly boot (kernel.GENERIC, etc)
  • Eventually copy over the GENERIC kernel from the CD to your HD.
  • Try booting from your harddisk again using the kernel you found/restored from CD.
 
mickey said:
You may try the following at the loader prompt:

Code:
boot /boot/kernel/kernel

if that fails, try:

Code:
boot /boot/kernel.old/kernel

If this still does not succeed, try this:
  • Boot your system off a 7.1-RELEASE CD
  • Enter the "fixit" mode
  • Mount the harddisk partition containing your root filesystem (and the /boot directory with your kernel)
  • See what's wrong with the kernel on your harddisk
  • See if there is another kernel you could possibly boot (kernel.GENERIC, etc)
  • Eventually copy over the GENERIC kernel from the CD to your HD.
  • Try booting from your harddisk again using the kernel you found/restored from CD.


thx all for reply,

i try
PHP:
 boot /boot/kernel.prev

this is working, how to copy kernel.prev to kernel ???

i install freebsd to learn C++ program. so i want xwindow. after i add a gnome packet. i want when i type STARTX, gnome desktop will show. but another window appear like this ???



what should i do to make i login to gnome desktop ???

thx u
 
Edit ~/.xinitrc:

Code:
exec gnome-session

That greenish stuff is the default TWM window manager.
 
rx_b10 said:
this is working, how to copy kernel.prev to kernel ???

Try this:

Code:
cd /boot/kernel.prev
tar -cf - . | (cd ../kernel; tar -vxpf -)

rx_b10 said:
what should i do to make i login to gnome desktop ???

If you have installed the full gnome2 package, then you should have gdm, the graphical gnome login. To enable it, add the following line to the file /etc/rc.conf:

Code:
gnome_enable="YES"

Thereafter you should reboot the machine, and when it comes back up, you should see a graphical login window appearing.
 
If you use GDM or XDM, you will need to put that "exec gnome-session" in ~/.xsession instead of ~/.xinitrc.
 
SirDice said:
If you use GDM or XDM, you will need to put that "exec gnome-session" in ~/.xsession instead of ~/.xinitrc.

This holds true only for XDM. When using GDM, there is no need to have .xinitrc nor .xsession files. The system wide gdm setup will do just the right thing.

Despite this, using xdm to log into gnome is not preferable, as xdm as of yet has no console-kit support.
 
mickey said:
This holds true only for XDM. When using GDM, there is no need to have .xinitrc nor .xsession files. The system wide gdm setup will do just the right thing.
Ah.. I never use either :e GDM however did in the past?
 
mickey said:
Try this:

Code:
cd /boot/kernel.prev
tar -cf - . | (cd ../kernel; tar -vxpf -)

i've try but there some error "cannot write in some file"

now i am trying to install my FreeBSD again...

thx u all for reply if i've a question. i'll ask again
 
hi all, i've reinstall FreeBSD

and i've enable gdm_enable = "YES"

thx for reply this forum very helpfull
 
Back
Top