Self-starting Persistent ??

Post Reply
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Self-starting Persistent ??

Post by Atip »

I have placed the persistent option on top as the first boot option
in order to avoid the mistake of pressing Enter to boot non-persistent
and then having to reboot to get into persistent.

How can I make now persistent to self-start without me pressing Enter?

Code: Select all

menu_en.cfg

DEFAULT vesamenu.c32
F2 relinfo.msg
MENU BACKGROUND salix.png
PROMPT 0
TIMEOUT 300
MENU color border	30;44      #00000000 #00000000 none
MENU TIMEOUTROW 24
MENU TABMSGROW 2
MENU CMDLINEROW 26
MENU TABMSG Press [Tab] to edit bootparameters, <F2> for info

LABEL -
	MENU LABEL
	MENU DISABLE

label salix + persistent
MENU LABEL ^Salix Live [persistent]
MENU DEAULT
kernel /boot/vmlinuz
append initrd=/boot/initrd.gz max_loop=255 vga=791 locale=en_US.utf8 keymap=us useswap=yes copy2ram=no tz=Asia/Manila hwc=localtime runlevel=4 changes=persistent

label salix
MENU LABEL ^Salix Live
# MENU DEFAULT
kernel /boot/vmlinuz
append initrd=/boot/initrd.gz max_loop=255 vga=791 locale=en_US.utf8 keymap=us useswap=yes copy2ram=no tz=Asia/Manila hwc=localtime runlevel=4

....snip....
elcore
Posts: 40
Joined: 4. Jul 2014, 05:07
Location: EU

Re: Self-starting Persistent ??

Post by elcore »

Try this:

Code: Select all

PROMPT 0
TIMEOUT 1
ONTIMEOUT salix

LABEL salix
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz max_loop=255 vga=791 locale=en_US.utf8 keymap=us useswap=yes copy2ram=no tz=Asia/Manila hwc=localtime runlevel=4 changes=persistent
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Self-starting Persistent ??

Post by Atip »

Thanks!

Does not work. :(
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Self-starting Persistent ??

Post by djemos »

Edit mainmenu.cfg and change TIMEOUT 300 to TIMEOUT 1
Edit menu_en.cfg and change TIMEOUT 300 to TIMEOUT 1
elcore
Posts: 40
Joined: 4. Jul 2014, 05:07
Location: EU

Re: Self-starting Persistent ??

Post by elcore »

Works fine here, (USB syslinux on FAT, BIOS, MBR)
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Self-starting Persistent ??

Post by Atip »

djemos wrote:Edit mainmenu.cfg and change TIMEOUT 300 to TIMEOUT 1
Edit menu_en.cfg and change TIMEOUT 300 to TIMEOUT 1
Thanks!
Yes, now it goes straight to salix + persistent, however, there it sits and will
not start to boot w/o me pressing Enter. That is what I like it to do self-start booting.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Self-starting Persistent ??

Post by djemos »

Default menu is menu_en.cfg. Did you edit menu_en.cfg also to change to TIMEOUT 1 ? Did you change anything else ? Or edit a different menu ? If you look at mainmenu.cfg there is LABEL othermenu3 where there is the line MENU DEFAULT.

Code: Select all

MENU LABEL ^English (US)
	MENU DEFAULT
	KERNEL vesamenu.c32
	APPEND /boot/menus/menu_en.cfg
It has to go straight to boot into persistent. No need to type enter at all. I have tested before write the message.
So just edit all menus and change TIMEOUT 300 to TIMEOUT 1
You change something and boot a different menu.
Also if you have create an encrypted peristent file then you have to type the code and press enter. If so just create an unecrypted persistent file.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Self-starting Persistent ??

Post by Atip »

Can't make it work.
It's OK, not so urgent anymore since my PC decided to detect my HDs again.
Post Reply