LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to load Grub menu (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-load-grub-menu-4175537751/)

Maklinux 03-24-2015 05:15 PM

How to load Grub menu
 
I've just compiled my own kernel (debian), but I have no idea how to boot it. I don't know how to get to the grub menu. I've tried holding shift down at start up but it doesn't work! When I hold down esc it asks me what I want to boot?

I've read that I have to edit the file /etc/default/grub - but I can't since don't have it..

Does anyone know how?

frankbell 03-24-2015 07:58 PM

This article from the Debian wiki may help: https://wiki.debian.org/Grub

colorpurple21859 03-24-2015 08:09 PM

Do you have a /boot/syslinux.cfg?

Maklinux 03-25-2015 01:01 PM

This is what I've done so far:

# mkdir /boot/grub
# update-grub
& since I didn't have the grub.cfg file I downloaded it & edited it. The timeout is set to 10, but I still can't load the grub menu.

Nope.. I don't have /boot/syslinux.cfg

yancek 03-25-2015 01:15 PM

You are seriously short on useful information if you want some help. You indicate in your first post you are trying to compile a kernel on Debian which would imply you have Debian installed. Later you indicate you don't have a grub directory or a grub.cfg file so how would you boot anything? I think the best way to get help is to post more details on what you actually have installed on this computer and what if anything, you can boot. If you don't have an installed system you can boot, use any Linux Live CD and go to the site below, download and run the bootinfoscript and post the output here, a results.txt file. Instructions are in a link in the Description box:

http://sourceforge.net/projects/bootinfoscript/

colorpurple21859 03-25-2015 03:23 PM

What yancek says, we need more information to be of any help.

273 03-25-2015 03:34 PM

If you have Debian installed already then I would suggest that rather than compiling the kernel then installing manually you made .deb packages like this:
http://mapopa.blogspot.co.uk/2009/01/compiling-2.html
Then things like installing to the correct location and updating GRUB will be taken care of, as well as making it easier to remove the kernel if you've messed something up.
If you really want to compile and install manually then you're probably better off with a distribution where things are less automated.


All times are GMT -5. The time now is 03:18 AM.