Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been using GRUB 0.97 for a long time and can do pretty much what I want with it.
It appears that the last version of Debian (6.0) installs GRUB 1.98. There are probably very good reasons for that upgrade, but nevertheless I have to say I am lost.
I just downloaded the linux kernel 2.6.38 and compiled it as usual. Now I don't know how to add this new kernel in the GRUB menu. I tried two or three ways on my own, but it all failed.
This used to be very easy when I was using version 0.97. Can someone tell me what I need to do with GRUB 1.98 ?
Following these advices I have been able to make some progress. But there are still unclear points.
1) When I just use update-grub as suggested; my new kernel appears in the GRUB menu. When I try to boot it, it fails. It seems that the reason is due to the fact that I use mkinitramfs and not mkinitrd. I would like to know how to adjust that. In other words I should be free to use either one I prefer.
2) If I try to insert my new menu item by modifying the file /etc/grub.d/40_custom appropriately (meaning what I think is appropriate). I get another item in the GRUB menu and this time it works. At this point I have added 2 items to the GRUB menu : one working and one not working. I can probably get rid of the one not working by modifying by hand the file /boot/grub/grub.cfg, but as far as I understand, I am not supposed to do that. So what is the right way to do it ?
I've only compiled succesfully 1x ,so I really can't lead you in any specific direction, but someone may come along and offer advice on that subject.
My compile was a cut and paste job.
I have deleted from the grub.cfg before and it did not mess things up but if you run update again you will probably get it back. The best thing is to comment it out by putting a # before the menuentry line then if it messes things up all you need to do is undo the comment. I use mine to chainload and have it in its own partition so do not worry with updates.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.