[Ilugc] Doubts in Kernel Compilation.

  • From: sivaramsk@xxxxxxxxxxxxx (Sivaram Kannan)
  • Date: Thu Sep 28 10:15:09 2006

Hi,

Thanks for the reply.

Shakthi Kannan wrote:

Hi,

--- Sivaram Kannan <sivaramsk@xxxxxxxxxxxxx> wrote:
  
I think 
i386 is for intel machines.
    

Yes.

  
Do I have to do anything for the image to specify the type of machine or 
it will get detected automatically?
Still I tried booting the compiled image, but the
system is not booting 
up. I am getting only a blank screen.
    

Can you boot into single user mode and get a console
prompt?

You can edit grub on the fly. Highlight your OS entry
when grub loads and press 'e'. 

Move to the /kernel line and press <enter>, and add
"single" in the end of the line.
  
Haven't tried this. will try it and get back. Actually for booting from 
Debian i am passing
a parameter vga=771 to the kernel. I have tried giving this parameter 
also for the compiled one.

Press 'b' to boot this new configuration and you will
get a console prompt. If yes, then your kernel is
booting fine in run-level 1.

Now, check if you can move to run-level 3

  init 3

This will give you six consoles (Control+Alt+Fx,
1<=x<=6). If yes, then the only problem is with your
display driver and/or X configuration.

You can change your default run-level to 3 in
/etc/inittab file :

  id:3:initdefault:

SK

--
Shakthi Kannan
http://www.shakthimaan.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

  


-- 

with luv & regards,
siva.

"Any intelligent fool can make things bigger, more complex, and more violent. 
It takes a touch of genius and a lot of courage to move in the opposite 
direction"
-- Albert Einstein

Visit My Blog at : sivaramsk.blogspot.com

Other related posts: