OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 5:59 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem with grub.cfg
PostPosted: Fri Dec 09, 2016 7:47 am 
Offline

Joined: Wed Dec 07, 2016 10:39 am
Posts: 9
Hi,

I have now successfully written a "Hello World kernel" but there is a problem. I work with grub2 and the problem is that grub2 doesn't use the grub.cfg. The grub.cfg is in the directory /boot/grub
and contain following content:

Code:
set timeout=15
set default=0

menuentry "Test" {
    multiboot /kernel/kernel_x86.elf
    boot
}


And yes the kernel is in the folder kernel. If I load it manually in the command line of grub2 it works it printed Hello World but not with grub.cfg

How can I solve this problem

_________________
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein


Top
 Profile  
 
 Post subject: Re: Problem with grub.cfg
PostPosted: Fri Dec 09, 2016 8:00 am 
Offline

Joined: Wed Dec 07, 2016 10:39 am
Posts: 9
I have solve the provlem. It had to be in an iso folder

_________________
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Majestic-12 [Bot] and 198 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group