Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Press ENTER to boot - NOT!

Refracta Development, Scripts, etc.

Press ENTER to boot - NOT!

Postby fsmithred » Fri Dec 02, 2011 3:42 pm

At the boot help screens, the bottom line says you can press ENTER to boot, but it gives the error message, "No DEFAULT or UI configuration directive found!" I tried adding the syslinux option, "default" at the beginning of the kernel line in live.cfg, but then I got an error saying, "Could not find kernel image: kernel." Then I tried replacing the word "kernel" with "default" in the kernel line, so that the next thing in the line is the path to the kernel (/live/vmlinuz), and that resulted in a kernel panic (Unable to mount root fs on unknown-block).

I've looked at man syslinux a few times, and it's not clear where the word "default" is supposed to go. If someone knows, please tell me. Other option is to change the bottom line of instructions, so it says to do something that will work. (e.g. "- type 'live' and press ENTER to boot the default configuration")
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Press ENTER to boot - NOT!

Postby meandean » Sat Dec 03, 2011 7:36 am

menu.cfg

Code: Select all
default live




see if that works
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: Press ENTER to boot - NOT!

Postby dzz » Sat Dec 03, 2011 4:36 pm

"Enter to boot" what?

at the bottom is a cmdline, to enter nothing is no good, unless "nothing" is mapped to something (e.g. "menu" is defined as a label)

Better if possible, to use ESC to return to main menu and omit "Enter to boot"

The Refracta menu config files are starting to get a bit clunky, hard to follow, with one including the other which includes the other ...

Some people here have plumbed the depths of syslinux configuration, worth a read :

http://reboot.pro/14723/
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Press ENTER to boot - NOT!

Postby meandean » Sat Dec 03, 2011 8:10 pm

I think all I did was edit menu.cfg to look like

Code: Select all
menu hshift 15
menu width 49

menu title Refracta
include stdmenu.cfg
include live.cfg
label help
   menu label Help
   config prompt.cfg


default live



and anytime I press enter it boots.


I will do a clean install and check again though.
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: Press ENTER to boot - NOT!

Postby fsmithred » Sun Dec 04, 2011 1:52 am

Code: Select all
menu hshift 15
menu width 49

menu title Refracta
include stdmenu.cfg
include live.cfg
label help
   menu label Help
   config prompt.cfg


default live



Yes, that works. Thanks.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred