Skip to main content

Thread: Adding items to boot menu


i run karmic server additional applications installed. simplicity in explanation, there's 1 resource-hungry task call "big".

of time when boot, want big run. occasionally, want boot without invoking big.

have 2 related issues. first, need learn how add entry boot menu, , make sure not default. if there's no user interaction, system boot , automatically run big.

second, need figure out how pass variable boot process running linux tell whether big should invoked.

comfortable command line, , writing little scripts. not comfortable way of i've learned past 8 years keeps becoming depricated. seems complexity of linux increases, quality , accessibility of up-to-date documentation declines.

there clear tutorial on how new-fangled grub should configured? looks no longer modify menu.lst, or grub.cfg or whatever it's called these days. file *do* edit add entry?

also, how pass variable grub running linux? pointers tutorial great.

lastly, use rc.local invoke big, , add if statement , lines of code run big? on old debian system, rc.local quite straightforward, on new karmic release, it's confusingly convoluted.

appreciated.

--debee

quote posted deborah armstrong view post
is there clear tutorial on how new-fangled grub should configured? looks no longer modify menu.lst, or grub.cfg or whatever it's called these days. file *do* edit add entry?
see https://help.ubuntu.com/community/grub2
add entries in /etc/grub.d/40_custom


quote posted deborah armstrong view post
also, how pass variable grub running linux? pointers tutorial great.
/proc/cmdline contains linux line grub menuentry. add parameter there (make sure it's not 1 used) , check if it's there in in boot script (e.g. using grep).

quote posted deborah armstrong view post
lastly, use rc.local invoke big, , add if statement , lines of code run big? on old debian system, rc.local quite straightforward, on new karmic release, it's confusingly convoluted.
/etc/rc.local empty except comments in karmic.

may want write own init script (use /etc/init.d/
skeleton) able start/stop big.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Adding items to boot menu


Ubuntu

Comments