LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2015, 05:15 PM   #1
Maklinux
LQ Newbie
 
Registered: Feb 2015
Distribution: Kali Linux
Posts: 18

Rep: Reputation: Disabled
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?
 
Old 03-24-2015, 07:58 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,132
Blog Entries: 14

Rep: Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068Reputation: 3068
This article from the Debian wiki may help: https://wiki.debian.org/Grub
 
Old 03-24-2015, 08:09 PM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,968

Rep: Reputation: 274Reputation: 274Reputation: 274
Do you have a /boot/syslinux.cfg?
 
Old 03-25-2015, 01:01 PM   #4
Maklinux
LQ Newbie
 
Registered: Feb 2015
Distribution: Kali Linux
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-25-2015, 01:15 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,223

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
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/
 
Old 03-25-2015, 03:23 PM   #6
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,968

Rep: Reputation: 274Reputation: 274Reputation: 274
What yancek says, we need more information to be of any help.

Last edited by colorpurple21859; 03-25-2015 at 03:25 PM.
 
Old 03-25-2015, 03:34 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,598

Rep: Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unable to load windows xp from the grub menu.. prasanna Linux - Newbie 6 08-28-2010 09:19 PM
Grub Doesn't Load Menu.lst CaptainMorgan Linux - Newbie 2 11-23-2007 01:50 AM
grub does not load menu.lst asi Linux - Software 5 11-22-2007 10:33 PM
Grub menu does not load hobz Linux - General 2 08-09-2006 05:04 AM
During load got GRUB concolse but no Menu jenshen Linux - Software 2 11-18-2005 10:35 PM


All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration