Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Mon May 14, 2007 10:14 pm    Post subject: Kernel install Reply with quote

Last time I've got a problem with the kernel install.

After the compilling time I'm getting the message, that install program try to check out
LILO although I've had never it installed. No one word about grub...
here is the printout:

Code:
In order to use the new kernel image you have just installed, you
will need to reboot the machine.  First, however, you will need to
either make a bootable floppy diskette, re-run LILO, or have GRUB
installed.

Checking for ELILO...No
which: no update-grub in (/usr/local/sbin:/usr/local/bin:/usr/sbin....

Checking for LILO...No

Checking for SILO...No

Checking for PALO...No

Should I make a bootdisk? (y/N)   


Actually everything works as usual, just this message don't let me sleep.

P.S. In KDE control center I can see also only LILO config. No grub at all.
_________________
Lefsha
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Mon May 14, 2007 11:04 pm    Post subject: Reply with quote

you typed "make install" instead of "make install_modules"
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Mon May 14, 2007 11:34 pm    Post subject: Reply with quote

no_hope wrote:
you typed "make install" instead of "make install_modules"


I just do what I need, so here is everything right imho.

BTW "make modules_install" I do also, but that is completely different thing.
_________________
Lefsha
Back to top
View user's profile Send private message
HecHacker1
Apprentice
Apprentice


Joined: 26 Jun 2003
Posts: 213
Location: UCSD

PostPosted: Thu May 17, 2007 10:44 pm    Post subject: Reply with quote

I have this same problem. I do use grub however.

My standard kernel install:
Code:
make && make install && make modules modules_install


It's worked for a long time until recently. The error message complains of no "update-grub" so I am assuming that some recent --sync updated a package which contained "update-grub" and deleted it.

Does anybody know where to get update-grub? Or is there a better way of compiling/auto installing a kernel for grub?
Back to top
View user's profile Send private message
stobbsm
Guru
Guru


Joined: 23 May 2004
Posts: 452

PostPosted: Thu May 17, 2007 11:09 pm    Post subject: Reply with quote

I just copy the kernel image, and setup the grub entry myself.

Not hard to do at all.
_________________
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Back to top
View user's profile Send private message
HecHacker1
Apprentice
Apprentice


Joined: 26 Jun 2003
Posts: 213
Location: UCSD

PostPosted: Thu May 17, 2007 11:19 pm    Post subject: Reply with quote

stobbsm wrote:
I just copy the kernel image, and setup the grub entry myself.

Not hard to do at all.


but that's not the point. I could do it myself, but why? Especially since my previous method works fine.

I think update-grub is missing, but the kernel itself is still correctly installed.

Grub doesn't need updating like lilo. But if somebody could point to the package I need for update-grub it would be a big help.
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Thu May 17, 2007 11:26 pm    Post subject: Reply with quote

HecHacker1 wrote:
I have this same problem. I do use grub however.


I do use grub too! Where did you found that I use something else?
_________________
Lefsha
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Thu May 17, 2007 11:48 pm    Post subject: Reply with quote

HecHacker1 wrote:

It's worked for a long time until recently. The error message complains of no "update-grub" so I am assuming that some recent --sync updated a package which contained "update-grub" and deleted it.


Correct. Now I've got the same message too.

The solution is easy, just put there dummy file which is executable.
It wont start anyway, cause it's needless.

My solution is:

update-grub

Code:
#!/usr/bin/env python
print "Dummy update-grub!"


You will never see it prints this string!

Now kernel installation works well.

Thank you HecHacker1 !
_________________
Lefsha
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Fri May 18, 2007 12:02 am    Post subject: Reply with quote

stobbsm wrote:
I just copy the kernel image, and setup the grub entry myself.

Not hard to do at all.


That is the wrong! solution! Everything should be done automatically!!!

There is no needs to do anything manually when installing the new kernel.
_________________
Lefsha
Back to top
View user's profile Send private message
HecHacker1
Apprentice
Apprentice


Joined: 26 Jun 2003
Posts: 213
Location: UCSD

PostPosted: Fri May 18, 2007 12:12 am    Post subject: Reply with quote

lefsha wrote:
HecHacker1 wrote:
I have this same problem. I do use grub however.


I do use grub too! Where did you found that I use something else?


sorry, misread your posts. I would still like to know however where I can get a real copy of update-grub? I assume it does "something" but I don't know if it's critical.
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1235
Location: Burgas, Bulgaria

PostPosted: Fri May 18, 2007 1:35 am    Post subject: Reply with quote

HecHacker1 wrote:
sorry, misread your posts. I would still like to know however where I can get a real copy of update-grub? I assume it does "something" but I don't know if it's critical.


You can easily check it using this "script" I wrote.
Just try to update kernel.

Grub doesn't need that kernel is installed in some special way.
That is why it works even if "make install" give a warning.

Normally we should file the bug on it. But I don't know to which program it should be related.
Either kernel or grub.

Actually if grub works well, then I would suggest that it is the kernel problem.

But you see - nobody but us, has noted this issue.
_________________
Lefsha
Back to top
View user's profile Send private message
paladin-zero
Guru
Guru


Joined: 19 May 2004
Posts: 322

PostPosted: Mon May 28, 2007 11:38 pm    Post subject: Reply with quote

HecHacker1 wrote:

My standard kernel install:
Code:
make && make install && make modules modules_install


It's worked for a long time until recently. The error message complains of no "update-grub" so I am assuming that some recent --sync updated a package which contained "update-grub" and deleted it.

Does anybody know where to get update-grub? Or is there a better way of compiling/auto installing a kernel for grub?


I second each of these points. This broken "make update" is a real pain.
Back to top
View user's profile Send private message
ChestBursterXP
n00b
n00b


Joined: 20 Feb 2004
Posts: 5

PostPosted: Wed May 30, 2007 11:39 pm    Post subject: Reply with quote

I was having the exact same problem updating my kernel (I also use grub). Then I followed this advice:

Quote:
My solution is:

update-grub

Code:
#!/usr/bin/env python
print "Dummy update-grub!"




Creating a dummy script in /usr/bin solved the problem. Good thinking, lefsha.
Back to top
View user's profile Send private message
hsgg
n00b
n00b


Joined: 16 Apr 2007
Posts: 9

PostPosted: Sun Sep 02, 2007 5:07 pm    Post subject: Reply with quote

The message is coming from /usr/sbin/mkboot, line 52, part of debianutils. Inserting two "2>&1" resulting in

Code:
# check whether GRUB is installed
grubcheck () {
    if ! which update-grub >/dev/null 2>&1 && ! which grub-install >/dev/null; then return 1; fi
}


works fine on my machine. I guess something of this form should be included in debianutils?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum