Refracta Development, Scripts, etc.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Press ENTER to boot - NOT!

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")
meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Press ENTER to boot - NOT!

Sat Dec 03, 2011 7:36 am

menu.cfg

Code:
  `default live`

see if that works
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: Press ENTER to boot - NOT!

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/
meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Press ENTER to boot - NOT!

Sat Dec 03, 2011 8:10 pm

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

Code:
  `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.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Press ENTER to boot - NOT!

Sun Dec 04, 2011 1:52 am

Code:
  `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.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.